StirCrazy Posted April 10, 2006 Share Posted April 10, 2006 I'm guessing this is a .htaccess question...when i type my site name into google it comes up with www.mysite.com/index.php?page=23 in the search listing.is there something i can do so that it only gets listed as www.mysite.com and goes to the default index.phpThanks,S.C> Link to comment https://forums.phpfreaks.com/topic/7035-stop-indexphppage23-in-google-search/ Share on other sites More sharing options...
kc5tvd Posted April 12, 2006 Share Posted April 12, 2006 [!--quoteo(post=363339:date=Apr 10 2006, 10:58 AM:name=StirCrazy)--][div class=\'quotetop\']QUOTE(StirCrazy @ Apr 10 2006, 10:58 AM) [snapback]363339[/snapback][/div][div class=\'quotemain\'][!--quotec--]I'm guessing this is a .htaccess question...when i type my site name into google it comes up with www.mysite.com/index.php?page=23 in the search listing.is there something i can do so that it only gets listed as www.mysite.com and goes to the default index.phpThanks,S.C>[/quote]You can control search engine robots with meta tags.It may take some time for the search engines to update.Use this meta on the page you want indexed.<META NAME="ROBOTS" CONTENT="INDEX,NOFOLLOW">Use this one on pages you don't want indexed.<META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW"> OR<META NAME"ROBOTS" CONTENT="NONE">NOFOLLOW stopes the robots from following links on the page.FOLLOW tells the robots to follow the links on the page. Link to comment https://forums.phpfreaks.com/topic/7035-stop-indexphppage23-in-google-search/#findComment-26039 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.