Redirection Via .htaccess
Common .htaccess redirects are –
To redirect a domain to a new domain:
1 |
Redirect 301 / http://www.example.com/ |
To redirect a domain to a sub folder of another domain:
1 |
Redirect 301 / http://www.example.com/test/ |
To redirect a sub folder to another domain:
1 |
Redirect 301 /test1 http://www.example.com/ |
To redirect a single page to a page of another domain:
1 |
Redirect 301 /example.php http://www.example.com/test.php |
To redirect any file with an extension to use the same filename but use the another extension instead:
1 |
RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php |
If result is not found or irrelevant, Please contact us.
Submit your request