phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
search.php rewrite

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
::  
Author Message
remixed



Joined: 09 May 2008
Posts: 14

search.php rewritePosted: Sat Jul 05, 2008 11:56 am    Post subject: search.php rewrite

Hello,

When you type something in the search bar, the results that you get arent seo friendly urls like the rest.

Example: http://phpbb3.phpbb-seo.net/search.php?st=0&sk=t&sd=d&keywords=topic
Results: http://phpbb3.phpbb-seo.net/post72.html?hilit=topic#p72
Which should be: http://phpbb3.phpbb-seo.net/sub-forum/a-nice-topic-t38.html?hilit=topic#p72

How can i change tis in my search.php so that i get the good seo friendly urls?


Mitch
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

search.php rewritePosted: Sat Jul 05, 2008 12:01 pm    Post subject: Re: search.php rewrite

remixed wrote:

How can i change tis in my search.php so that i get the good seo friendly urls?


With one SQL per link to retrieve the proper page in topic I'm affraid. So I'm not sure it's worth this much work for the server, especially since bots do not search and post url are anyway redirected properly (and even disallowed by the robots.txt).

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
remixed



Joined: 09 May 2008
Posts: 14

search.php rewritePosted: Sat Jul 05, 2008 1:38 pm    Post subject: Re: search.php rewrite

I have disallowed it in the robots.txt and google sees that, but google also sees those links that are (i gues) from the search.php.

What else would it be?

a screenshot from google webmaster tools:
http://img58.imageshack.us/my.php?image=googleoi7.jpg

Isn't it strange that google adds those links to: "Url's blocked by robots.txt"?
Because they redirect with a 301 error status.
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

search.php rewritePosted: Sat Jul 05, 2008 2:31 pm    Post subject: Re: search.php rewrite

It's pretty normal to see them disallowed if they are, Google does not even need to try them and thus discover the redirect to throw them in the disallowed list.

Now, since you have all these post urls indexed, you should delete the disallow in your robots.txt to let the redirecting happen (with the post redirection set to at least "guest"), and then put it back couple month after, when the redirecting will have occurred.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
remixed



Joined: 09 May 2008
Posts: 14

search.php rewritePosted: Sat Jul 05, 2008 2:44 pm    Post subject: Re: search.php rewrite

Al the good seo urls are already indexed:
http://www.google.nl/search?source=ig&hl=nl&rlz=&q=site%3Awww.criminalspoint.com&btnG=Google+zoeken&meta=

So i think the robots.txt have to stay there.. So that those urls do not get indexed by google?
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

search.php rewritePosted: Sat Jul 05, 2008 2:57 pm    Post subject: Re: search.php rewrite

Since they are redirected, they won't be indexed.
It can still be better to redirect them before you disallow them, because it make it possible for PageRank transmission form the post to the topic urls, otherwise, all the eventual PR on post urls is just lost.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
remixed



Joined: 09 May 2008
Posts: 14

search.php rewritePosted: Sat Jul 05, 2008 3:05 pm    Post subject: Re: search.php rewrite

This mod is already for 2 months on the website so everything is indexed. Google can just follow the links from the homepage and it wil see the whole forum, no problem i gues.

But my problem was: Where did google get those postxxx.html pages from? I can't find them only by using the search.php...
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

search.php rewritePosted: Sat Jul 05, 2008 3:49 pm    Post subject: Re: search.php rewrite

They can come from before this, or if you did not put post redirection to at least guest at the beginning, there are numerous possibilities.

I still think that since they are in the Google crawl list, they should be redirected before being disallowed.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: