problem with plug report post

Zero duplicate support forum.
Personalized HTTP 301 dynamic redirections.

Moderator: Moderators

problem with plug report post

Postby messal » Sat Feb 17, 2007 6:42 pm

hi

i have advenced 0.2.2 and zero duplicate

repost post generate this link
Code: Select all
http://forum.czemoney.com/post74310.html?report=true


i add this rule to htaccess
Code: Select all
RewriteRule ^post([0-9]+)\.html?report=true$ /viewtopic.php?p=$1&report=true [QSA,L]


but it still dont use this plug.
i dont know if have good htaccess or its due zeroduplicate.
some idea?

thanks
User avatar
messal
 
Posts: 15
Joined: Wed Dec 27, 2006 4:27 pm

Advertisement

Postby dcz » Sat Feb 17, 2007 7:39 pm

It's the zero duplicate, as said :

dcz wrote:WARNING
  • MODS :
    This mod is as powerful as important to use properly.
    Local testing is advised.
    As it is possible that some mods won't work properly at first, after install.
    The principle of this mod is easy, we only accept default GET and POST vars on phpBB scripts.
    By the way kind of a security enhancement on the concerned scripts too.
    So if a mod added a GET or POST var on index.php, viewforum.php, viewtopic.php or a member's profile,
    it's URLs will be redirected at first.

    Example :
      viewtopic.php?report=true&p=xx |would be first redirected to| topic-title-tyy-zz.html.

    It's simple to fix, we just need to allow this additional var in our dupe filters.
    Please ask for support on such experiences.


So get rid of your rewriterule and open :

Code: Select all
viewtopic.php


Find :

Code: Select all
if ( $phpbb_seo->do_redir || ( $postorder_redir &&  strpos($uri, 'watch=') === FALSE && strpos($uri, $phpbb_seo->page_url) === FALSE )  ) {


Replace with :

Code: Select all
if ( $phpbb_seo->do_redir || ( $postorder_redir &&  strpos($uri, 'report=') === FALSE &&  strpos($uri, 'watch=') === FALSE && strpos($uri, $phpbb_seo->page_url) === FALSE )  ) {


;)
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm


Return to Zero duplicate phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests


 
cron