Ok, I have two different url’s, I will call them example-page.com and examplepage.com
The two domains are getting served the same servers so it is the exact same content, with different URL’s.
I want to get the one with the dash (example-page.com) to automatically redirect to the one without the dash (examplepage.com). Can I use htaccess only to do this? Or should I use another method? Just so you know, I have googled this, but maybe I am not asking the correct questions? It can not be a normal redirect because it will redirect both of the url’s right?
The reason I am doing this is because I am using Facebook comments and the URL gets passed in, and so there would be two different comment sections for the same page.