Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: phranque
I'm wondering if there's a code one can use to redirect users from a very odd URL that comes up in my CMS when one clicks on "Home".
When someone types:
They get there alright. But when they click on "Home", they are sent to an URL like that:
This is certainly not good for SEO sake as the page rank will get "diluted" in two URLs.
So how does one write a rule in a .htaccess file to redirect users from that page to the root URL - which is after all the same page anyway?
keywords: .htaccess, redirect, redirecting, URL, SEO
For the .htaccess code, see the Apache forum here. The "index file redirect" question is asked and answered on a fairly regular basis.
I didn't realize I could find answers in the Apache forum, certainly my brain is getting hard coded into a jelly fish.
Thanks for the advice, will keep trying, even though I don't seem to get it to redirect for some reason. The .htaccess provided by this CMS is huge, so it could be something overriding the new RewriteRule I've set. No idea...