PDA

View Full Version : searchid in search results url


NeXuM
01-02-2010, 04:16 PM
Hello

Is it possible to remove the searchid from the search results url?
let me explain...

my search url looks like this:
http://www.pirate-punk.net/search.php?searchid=150393

but i want normal url like this:
http://www.pirate-punk.net/recherche.php?do=process&forumchoice[]=54&forumchoice[]=53&forumchoice[]=62&forumchoice[]=65&showposts=0&query=b?rurier+noir

i dont like the short url with "searchid" because google bots will get a 301 redirect page when accessing a normal search url

i tryed to turn off 1 hour caching of the search results in my adminCP but it didn't help..

Lynne
01-02-2010, 05:03 PM
You mean you are posting the search link somewhere that the bots are following? I'm not sure what you want.... the only way for a bot to follow a link with a searchid is if you posted it that way. So, post it the second way you wrote. However, I don't know of some way to automatically create your new search url from a search page, if that is what you are asking.

NeXuM
01-02-2010, 06:33 PM
take a look at www.pirate-punk.net you will understand ;)

At the bottom of the page, i made a script to display the most popular search queries.... and each term is linked to the search results page

now i need to optimize the links for SEO...

--------------- Added 1262464592 at 1262464592 ---------------

the only way for a bot to follow a link with a searchid is if you posted it that way
Yes, but the problem is that the links like

http://www.pirate-punk.net/recherche.php?do=process&forumchoice[]=54&forumchoice[]=53&forumchoice[]=62&forumchoice[]=65&showposts=0&query=b%E9rurier+noir

will be redirected to the "searchid" version once its clicked

and bots will get a 301 redirect blank page

see here with the same page

Googlebot Spoofer: http://www.smart-it-consulting.com/internet/google/googlebot-spoofer/view.htm?cBotName=Googlebot-2.1&cUrl=http%3A%2F%2Fwww.pirate-punk.net%2Frecherche.php%3Fdo%3Dprocess%26forumcho ice[]%3D54%26forumchoice[]%3D53%26forumchoice[]%3D62%26forumchoice[]%3D65%26showposts%3D0%26query%3Db%25E9rurier%2Bnoi r


GET Header sent to the bot [Googlebot/2.1 (+http://www.google.com/bot.html)]:
HTTP/1.1 301 Moved Permanently
Date: Sat, 02 Jan 2010 20:40:21 GMT

Lynne
01-02-2010, 07:52 PM
Sorry seo issues are not my thing at all. I'm not sure how to do what you want.