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  
 
   
url highlight problem - mixed mod

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
::  
Author Message
macnack
PR0
PR0


Joined: 20 Jun 2006
Posts: 97

url highlight problem - mixed modPosted: Tue Jun 20, 2006 7:13 am    Post subject: url highlight problem - mixed mod

Hello
I´ve a problem with url´s in seo mixed mod.
You can see my problem on this site: http://www.forum.detektoreninfo.de/search.php?search_author=macnack
The url in the Topic Title doesn´t work.

_________________
macnack
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

url highlight problem - mixed modPosted: Tue Jun 20, 2006 8:00 am    Post subject: Re: url highlight problem - mixed mod

yeah, you have found it Wink The bug. Found out about it yesterday in the french forums, was updating Wink

Will be fixed in next release, very soon, this link is not used this often, that's why I missed it first/
Anyway:

Open :


Code:
includes/sessions.php



Find :

Code:
      "'(?)viewtopic.php\?p=([0-9]+)'",



Replace with :

Code:
      "'(?)viewtopic.php\?p=([0-9]+)((&)|(&)){0,1}'",



Find :

Code:
      "post\\1.html",



Replace with :
Code:

      "post\\1.html".if_query('\\2')."",



and welcome Wink

_________________
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
Visit poster's website
macnack
PR0
PR0


Joined: 20 Jun 2006
Posts: 97

url highlight problem - mixed modPosted: Tue Jun 20, 2006 8:15 am    Post subject: Re: url highlight problem - mixed mod

Hi dcz
very good support in this forum Wink
it work
thanks

_________________
macnack
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

url highlight problem - mixed modPosted: Tue Jun 20, 2006 8:24 am    Post subject: Re: url highlight problem - mixed mod

Hey your are welcome Wink

Actually, I am very close to optimize all of the phpBB SEO mod Rewrite with this fix obviously, but took as well the occasion to rewrite the format_url() function , much more faster now, and to take car a bit further about highlights.

Anyway, update will be easy.

If you want you can thus add this small highlight fix, even though it does concern this particular link your are talking about and this is a post (viewtopic.php?p=) and thus a duplicate that should be disallowed by the robots.txt, it will be implemented in 0.0.2 Wink

Code:
#
#-----[ OPEN ]------------------------------------------
#
#

search.php

#
#-----[ FIND ]------------------------------------------
#

      for($i = 0; $i < count($searchset); $i++)
      {

#
#-----[ BEFORE, ADD ]------------------------------------------
# Here You can also choose not to output any highlight, which is better as far as SEO, but a bit less user-friendly.
# To do so just delete the $highlight_ok in the next replace and do not apply this one.

      // www.phpBB-SEO.com SEO TOOLKIT BEGIN
      $highlight_ok = ($highlight !='') ? "&amp;highlight=$highlight" : '';
      // www.phpBB-SEO.com SEO TOOLKIT END


#
#-----[ FIND ]------------------------------------------
#

         $post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $searchset[$i]['post_id'] . "&amp;highlight=$highlight_active") . '#' . $searchset[$i]['post_id'];

#
#-----[ REPLACE WITH ]------------------------------------------
#
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
         $post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $searchset[$i]['post_id'] . $highlight_ok) . '#' . $searchset[$i]['post_id'];
   // www.phpBB-SEO.com SEO TOOLKIT END


It's basicaly the same principle as for the viewtopoic link, a simple check on the highlight will save unecessary use.

As well you can decide to get rid of it, but it's less important here than for the viewtopic link, again dupe Wink

Don't forget the final touch Wink

Could as well use mx Google Sitemaps and mx Sitemaps to go bit further Wink

++

_________________
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
Visit poster's website
macnack
PR0
PR0


Joined: 20 Jun 2006
Posts: 97

url highlight problem - mixed modPosted: Tue Jun 20, 2006 9:40 am    Post subject: Re: url highlight problem - mixed mod

Hi dcz
I am sorry that I ignore your welcome Embarassed
but my english for answer is very bad ...
Fine to be a member of this forum Razz

Quote:
Don't forget the final touch Wink


Embarassed Embarassed Embarassed

I fixed it Wink

_________________
macnack
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

url highlight problem - mixed modPosted: Tue Jun 20, 2006 9:47 am    Post subject: Re: url highlight problem - mixed mod

he, no problem at all.

The forum will change a lot this coming month, will soon set up groups and such and start the team Wink

Until then, fell free to ask whatever question in the relevant thread or forum.

I have seen that your site needed a bit of work, so you will soon see a big difference.
From 77 indexed pages pages, today, not all cached to ... Wink

mx Google Sieamaps and mx Sitemaps will help a lot Wink

++

_________________
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
Visit poster's website
macnack
PR0
PR0


Joined: 20 Jun 2006
Posts: 97

url highlight problem - mixed modPosted: Wed Jun 21, 2006 8:49 am    Post subject: Re: url highlight problem - mixed mod

dcz wrote:
I have seen that your site needed a bit of work, so you will soon see a big difference.
From 77 indexed pages pages, today, not all cached to ... Wink

mx Google Sieamaps and mx Sitemaps will help a lot Wink

++

Hi dcz
my forum was hacked at 3.6.06 (not updatet Embarassed ),
www.forum.detektoreninfo.de is a new url.
Google find today 66.700 matches from old forum urls...
Hope google find them next at new url Rolling Eyes
It´s first time I work with mod-rewrite/seo mods

_________________
macnack
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

url highlight problem - mixed modPosted: Wed Jun 21, 2006 9:07 am    Post subject: Re: url highlight problem - mixed mod

Oh I see, then you should ask for some help in the mod rewrite forum (asking for the correct redirections, if you know this is what to do) or in the SEO Techniques forum if you need general help to migrate domain (as it's what's seem to have happened in the end) to find out how to keep all those previous linking you had.

We'll be at least able to save all you previous backlinks Wink

And to answer, yes, Search Engine will now re-spider your site, and it's would be even faster is you'd used proper http 301 redirections Wink

++

_________________
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
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
Page 1 of 1

Navigation Similar Topics

Jump to: