Forum Moderators: phranque
[mysite.com...]
[mysite.com...]
[mysite.com...]
[mysite.com...]
Are all condisdered different pages to google. I don't understand. Especially since I'm using adsense, if you type in a variation it has not seen, the adds do not appear.
Now, all the posts i searched through, want to do something like covert www, or move to a root dir.
I just want google and other sites to think 'one page'.
I submitted [mysite.com...] (no slash or php) to a search engine, and it found NOTHING. I cant seem to get it right.
1. Whats the best one to use?
2. What would my code look like? Something like this?
3. Why do i have to do this? :(
4. When I implemented this code, I get internal server error.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com
RewriteRule (.*) [mysite.com...] [R=301,L]
Secondly, the way to do it is:
1/ Only ever refer to one of them. Link to the same one, submit the same one, use the same one.
2/ Set up redirection from the others to the one you have chosen if you continue to have problems.
3/ Make sure you have some links from other sites which are in Google etc. going towards the URL you want to get included.
[mysite.com...]
But thats not being recognized sometimes... I dont get it
Does googlebot not search an index.php when it searches a site?
You can't leave off the trailing '/' - most browsers and webservers will replace it automatically, but that's an extra call.