Forum Moderators: open

Message Too Old, No Replies

Yahoo indexing

         

moussa854

8:22 pm on Jun 1, 2007 (gmt 0)

10+ Year Member



I have a web site that redirect from www.example.com to example.com/index.html

Yahoo is indexing my pages at example.com, and my links at www.example.com. I can not change the redirect, my host does this. My question is how I can make Yahoo see my pages as www.example.com/whatever.html?

[edited by: martinibuster at 8:29 pm (utc) on June 1, 2007]
[edit reason] Added paragraph breaks. Examplified URL. [/edit]

MLHmptn

3:42 am on Jun 2, 2007 (gmt 0)

10+ Year Member



You can't access your .htaccess file? Even if your host changes server settings you most likely have mod_rewrite enabled on the server if it's a *nix box. If you can access your .htaccess file do the following:


RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]

Even though, I have yet to see Yahoo obey a mod_rewrite .htaccess directive in their SERP's....Sure they will follow it as instructed but they do not index it correctly.

HTH!

[edited by: MLHmptn at 3:46 am (utc) on June 2, 2007]

moussa854

3:13 pm on Jun 2, 2007 (gmt 0)

10+ Year Member



Well I can not access the .htaccess file :( all what I can do is to add pages to a folder like space and edit the pages if needed.