I discovered that the following URLs all point to my Homepage:
https://mysite.com/
https://www.mysite.com
http://www.mysite.com/index.php
https://www.mysite.com/index.php?main_page=index
https://mysite.com/index.php?main_page=index
I have a javascript from an authority which would only run at my Homepage (base on a given URL). Can someone advise me how I can redirect all the above-mentioned URLs to this URL:
http://www.mysite.com
PS. I am using the Ultimate SEO mod. and has a .htaccess file at the root of my website. I suppose the URL rewrite code would be added to the .htaccess file.
Thanks very much.
Bookmarks