phpBB 3.0.9 and SEO Ultimate v. 0.6.6

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

phpBB 3.0.9 and SEO Ultimate v. 0.6.6

Postby auxuser » Sat Jul 16, 2011 10:42 am

Hello,

I have just installed phpBB3 version 3.0.9, and tried to install SEO Ultimate v. 0.6.6 with Automod 1.0.0.1.
Unfortunately I get an error on the following instruction:

Code: Select all
includes/session.php
[Find]
         if (isset($_GET['sid']))
         {
            redirect(build_url(array('sid')));
         }
[Replace with]
         // www.phpBB-SEO.com SEO TOOLKIT BEGIN
         // This part will be fixed in 3.0.9 (see http://tracker.phpbb.com/browse/PHPBB3-9908)
         // But as is or updated, it will not mix well with USU and Zero Duplicate (which already removes them)
         // Bot user, if they have a SID in the Request URI we need to get rid of it
         // otherwise they'll index this page with the SID, duplicate content oh my!
         /*if (isset($_GET['sid']))
         {
            redirect(build_url(array('sid')));
         }*/
         // www.phpBB-SEO.com SEO TOOLKIT END

My question is: can I safely "patch" the SEO install.xml so that the FIND block appears so (with the REPLACE WITH block modified properly):

Code: Select all
[Find]
                if ($bot && isset($_GET['sid']))
                {
                        send_status_line(301, 'Moved Permanently');
                        redirect(build_url(array('sid')));
                }
[Replace with]

:?:

Thanks.
auxuser
 
Posts: 4
Joined: Fri Nov 02, 2007 10:55 am

Advertisement

Re: phpBB 3.0.9 and SEO Ultimate v. 0.6.6

Postby dcz » Sat Jul 16, 2011 11:15 am

Yes. That's the only change in session.php, remove the sid redirect which is performed elsewhere (and safer too) by our mods.
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21428
Joined: Fri Apr 28, 2006 9:03 pm

Re: phpBB 3.0.9 and SEO Ultimate v. 0.6.6

Postby auxuser » Sat Jul 16, 2011 11:48 am

Thank you very much dcz, kind as always! :)
auxuser
 
Posts: 4
Joined: Fri Nov 02, 2007 10:55 am


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Raintek and 8 guests