| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
messal

Joined: 27 Dec 2006 Posts: 15
|
Posted: Sat Feb 17, 2007 6:42 pm Post subject: problem with plug report post |
|
|
hi
i have advenced 0.2.2 and zero duplicate
repost post generate this link | Code: | | http://forum.czemoney.com/post74310.html?report=true |
i add this rule to htaccess
| Code: | | 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 |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sat Feb 17, 2007 7:39 pm Post subject: Re: problem with plug report post |
|
|
It's the zero duplicate, as said :
| dcz wrote: | WARNING
- MODS :
| Quote: | 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 :
Find :
| Code: | | if ( $phpbb_seo->do_redir || ( $postorder_redir && strpos($uri, 'watch=') === FALSE && strpos($uri, $phpbb_seo->page_url) === FALSE ) ) { |
Replace with :
| Code: | | 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 || 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 |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |