Most likely this is something simple, i just cant seem to find the answer. Someone told me that my site(s) are pointing two three different domains and so big G counts them as duplicate content. I was told to pick one and use it. Example www.mysite.com www.mysite.com/index.php mysite.com How would you make all three the same? htaccess?
The difference between www.yoursite.com and www.yoursite.com/index.php is nonexistent. However, the presence of www or not can make a difference. If you use Google Webmaster Center you can select your preference, but I always use .htaccess RewriteEngine On RewriteCond %{HTTP_HOST} !^(.*)\.yoursite\.com$ [NC] RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L] Code (markup):
Thanks for the code. I couldnt remember what this was called. are you sure about that? because my index.php page just jumped from PR0 to PR4 and my domain just went from PR3 to PR0
good, and very important verify them. By typing, different combination, Like.. sitename.com www.sitename.com sitename.com/index... www.sitename.com/index.... Everything should point to one.
I have seen a few cases where index.php/htm/html has received less PR then the TLD. Use good internal linking practices, and link to your TLD and not index.php.
hmmm well i fixed my internal linking to go to the base url: e.g. www.mysite.com/ but how would i fix it when a user goes to /index.php to have them redirected to the base url? did i miss something in the htaccess code?
Here is what you need to put in .htaccess, in order to redirect /index.php to base url RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php?\ HTTP/ RewriteRule ^(.*)index\.php?$ http://www.yourdomain.com$1 [R=301,L]