Cloudkul Support

Redirection Via .htaccess

Common .htaccess redirects are –

To redirect a domain to a new domain:

Redirect 301 / http://www.example.com/

To redirect a domain to a sub folder of another domain:

Redirect 301 / http://www.example.com/test/

To redirect a sub folder to another domain:

Redirect 301 /test1 http://www.example.com/

To redirect a single page to a page of another domain:

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:

RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php

 

Is this article is helpful?

People like and 1 people dislike.

If result is not found or irrelevant, Please contact us.

Submit your request

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home