Jump to content

stop /index.php?page=23 in google search


StirCrazy

Recommended Posts

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.php


Thanks,
S.C>
Link to comment
Share on other sites

[!--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.php
Thanks,
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.