| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
mikeysun
Joined: 12 Aug 2007 Posts: 9
|
Posted: Sat Aug 18, 2007 11:00 pm Post subject: no dupe and and search |
|
|
looks like no dupe does not change postXX.html into cat-name-fYY/post-title-tXX.html#pZZZ in search results...
this should solve it...can you please try it out somebody?
| Code: |
#
#-----[ OPEN ]------------------------------------------
#
search.php
#
#-----[ FIND ]------------------------------------------
#
'U_VIEW_POST' => (!empty($row['post_id'])) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=". $row['topic_id'] . '&p=' . $row['post_id'] . '&hilit='. $u_hilit) . '#p' . $row['post_id'] : '')
#
#-----[ REPLACE WITH ]------------------------------------------
#
'U_VIEW_POST' => (!empty($row['post_id'])) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $row['topic_id'] . '&f=' . $forum_id . '&start=' . $start ) . '#p' . $row['post_id'] : '')
|
|
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sun Aug 19, 2007 2:45 pm Post subject: Re: no dupe and and search |
|
|
Well since bots do not really use the search function and that the zero duplicate does take care of the eventual left overs, there is no urge to rewrite them.
Besides, I doubt it could be as simple as you suggest, it's off course possible, since I did not really worked on these so far, but in general, converting post URL to topic URL can really be tricky because we need to topic's correct page where the post is, the type of thing that most likely requires up to a SQL query per post link in result list.
In all case, we'll look into this further, but it's not the number one priority SEO wise.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |