NR Hosting Blog

The WildCard Redirection on Cloud Server

hosting redirection banner

If you want to redirect a domain and everything inside it to a new domain, whilst keeping the permalink structure, then you can do this by using mod_rewrite. Simply add the following lines of code to the site’s .htaccess file:

Be sure to change old-domain.com to your previous domain name and nrhosting.com to your new domain.

Add comment

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.

Show Buttons
Hide Buttons