Using .htaccess to redirect a domain to another URL

I have a site running wordpress, it’s the full site. One of the pages is like a contact-us form located at www.ourdomain.com/contact-us/

I also have a URL like contactourdomain.com and I want it to redirect to www.ourdomain.com/contact-us/

Read More

We used to do this with a redirect on network solutions, but I prefer to have it all done right on the server if possible. I’ve got it sort of working but when you visit the link is still says contactourdomain.com/contact-us/ as the URL, and that breaks all the other ones.

Any suggestions?

Related posts

Leave a Reply

2 comments