Forum Moderators: phranque
ht*p://ns.wxyz-server6.net/~my_account_name/requested_page.html
When people search for terms matching the description on the indexed pages they sometimes come looking for an html page on the path exemplified above, instead of www.mydomain.com/desired_page.html. They aren't even aware that there is a Domain name and URL associated with that path, and I want them and the bots to be aware of that. I especially need to stop SE bots from indexing anything based on the server path to my account. To deal with this SE mistake I have a redirectmatch rule that does this:
RedirectMatch permanent /~my_account_name/ ht*p://www.my_domain.net/
This sends both people and robots to my home page, but they then have to locate their desired destination page from my navigation menu. How can I add a wildcard to the redirectmatch rule so that they all end up directly at the requested_page.html, with my www URL in the addressbar, and still tell the robots that they indexed the wrong path - please use this Domain URL instead? What else can I add that tells search engines not to index anything based on the virtual sever path, but to use my Domain names instead (like they usually do)?