| :: |
| Author |
Message |
eye_cc
Joined: 05 Feb 2007 Posts: 11 Location: Chicago
|
Posted: Mon Feb 05, 2007 6:48 pm Post subject: [Advanced] problem with zero dublicate mod |
|
|
Hi
I am experimenting with all seo scripts for phpbb and so far I have no problems with advanced rewrite mode rewrite urls or sitemaps but zero duplicate mod is not working correctly -> zero dublicate
Am I doing something wrong?
My .htaccess in forum directory
| Code: |
RewriteEngine On
RewriteBase /
php_flag output_buffering on
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
RewriteRule ^index\.html$ /forum/index.php [QSA,L]
# FORUM PROTECTION RULE
RewriteRule ^.+/([^/]+\.html)$ /forum/index.php [R=301,L]
# CATEGORIES
RewriteRule ^.*-c([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.*-f([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.*-f([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^.*-t([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.*-t([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################
#########################################################
# GYM SITEMAPS AND RSS REWRITE RULES #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 2006/02/22
########################
# RSS main
RewriteRule ^rss-?(l|s)?-?(m)?\.([xml|xml\.gz]+)$ /forum/rss.php?$1&$2 [L]
# RSS forums
RewriteRule ^forums-rss-?(l|s)?-?(m)?\.([xml|xml\.gz]+)$ /forum/rss.php?forum&c&$1&$2 [L]
# RSS all
RewriteRule ^([a-zA-Z0-9]+)-rss([0-9]*)-?(l|s)?-?(m)?\.([xml|xml\.gz]+)$ /forum/rss.php?$1=$2&$3&$4 [L]
# RSS forum topics
RewriteRule ^.+-rf([0-9]+)-?(l|s)?-?(m)?\.([xml|xml\.gz]+)$ /forum/rss.php?forum=$1&$2&$3 [L]
# SitemapIndex
RewriteRule ^sitemaps\.([xml|xml\.gz]+)$ /forum/sitemap.php [L]
# Sitemap modules
RewriteRule ^([a-zA-Z0-9]+)-sitemap\.([xml|xml\.gz]+)$ /forum/sitemap.php?$1 [L]
# Forum Sitemaps
RewriteRule ^.+-gf([0-9]+)\.([xml|xml\.gz]+)$ /forum/sitemap.php?forum=$1 [L]
# Yahoo! urllist.txt
RewriteRule ^urllist\.([txt|txt\.gz]+)$ /forum/urllist.php [L]
#########################################################
# END GYM SITEMAPS AND RSS REWRITE RULES #
######################################################### |
I double checked all edited files:
index.php,
viewforum.php,
viewtopic.php,
includes/usercp_viewprofile.php
phpbb_seo/phpbb_seo_class.php
everything looks fine but after testing on web-sniffer.net
HTTP Response Header
Location: http://:/forum .... ??
What coud be wrong?
thanks |
|
|
| Back to top |
|
 |
|
 |
eye_cc
Joined: 05 Feb 2007 Posts: 11 Location: Chicago
|
Posted: Mon Feb 05, 2007 10:02 pm Post subject: Re: [Advanced] problem with zero dublicate mod |
|
|
strange ..site map is not working correctly either
When phpbb istalled in root dir sitemaps looks fine sitemaps ok if in folder according to your instructions I have a problem -http://www.cleaningservice.info/forum/forum-sitemap.xml
zero dupe is not working for either one , root or folder installation |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13777
|
|
| Back to top |
|
 |
eye_cc
Joined: 05 Feb 2007 Posts: 11 Location: Chicago
|
Posted: Tue Feb 06, 2007 5:52 pm Post subject: Re: [Advanced] problem with zero dublicate mod |
|
|
Hi
thanks dcz but there is something wrong , I tested on both folder and root installations and:
| Quote: | Fatal error: Cannot redeclare class phpbb_seo in /home/clean5/public_html/forum/phpbb_seo/phpbb_seo_class.php on line 32
|
There are also other problems:
login.php (blank page - login/out) no redirection
admin.php (blank page - login/out) no redirection
Jump to box forum not working
he he I dont know what else is not working
I have pretty standard server configuration. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13777
|
|
| Back to top |
|
 |
eye_cc
Joined: 05 Feb 2007 Posts: 11 Location: Chicago
|
Posted: Tue Feb 06, 2007 6:53 pm Post subject: Re: [Advanced] problem with zero dublicate mod |
|
|
Thanks and yes you right I added twice ,but anyway I updated from your new version from 0.2.0-0.2.2 Adv and now I have :
| Quote: | Fatal error: Call to undefined function: definded() in /home/extraus/public_html/common.php on line 194
|
undefined PHPBB_URL function ?
This new update will not solve login.php in/out redirection as well as jump link box ? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13777
|
|
| Back to top |
|
 |
lavinya PR1


Joined: 24 Jul 2006 Posts: 159 Location: Turkey
|
Posted: Tue Feb 06, 2007 8:19 pm Post subject: Re: [Advanced] problem with zero dublicate mod |
|
|
hello I upgrade zero dupe 0.2.0 to 0.2.2
and advanced seo 0.2.0 to 0.2.2
after login "blank white page"
 |
|
|
| Back to top |
|
 |
eye_cc
Joined: 05 Feb 2007 Posts: 11 Location: Chicago
|
Posted: Tue Feb 06, 2007 8:38 pm Post subject: Re: [Advanced] problem with zero dublicate mod |
|
|
Well .. I upgraded everything on this website but:
zero dupe mode:
I am still getting after testing on web-sniffer.net
HTTP Response Header
Location: http://:/forum .... ??
advanced rewrite mode:
all blank pages login.php in/out
jump box - forums - blank page
something is wrong with rewrite code
Any other solution to fix this?
Thanks  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13777
|
Posted: Tue Feb 06, 2007 11:00 pm Post subject: Re: [Advanced] problem with zero dublicate mod |
|
|
Could you post or pm a lilnk to a zip with your common.php and index.php files ?
You really need to take great care about this par of the update :
| Quote: | You will need to make sure you have got :
_________________________________________
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
include($phpbb_root_path . 'phpbb_seo/phpbb_seo_class.'.$phpEx);
$phpbb_seo = new phpbb_seo();
// www.phpBB-SEO.com SEO TOOLKIT END
Just before :
_____________
if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please_remove_install_contrib');
}
In common.php
_____________
If it's not the case, or if this code is elswhere in common.php, you'll need to put it back where it should.
As well, if you want to keep the PHPBB_URL constant usage, you can add :
if (!defined('PHPBB_URL')) {
define ('PHPBB_URL', $phpbb_seo->seo_path['phpbb_url']);
}
Just after :
$phpbb_seo = new phpbb_seo();
in common.php |
And lavinya, I'm not sure the problem is related, here the zero dupe and the mod rewrite seems installed ok, except the http/:// link, your case is different.
++ |
_________________ 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 |
|
 |
eye_cc
Joined: 05 Feb 2007 Posts: 11 Location: Chicago
|
Posted: Thu Feb 08, 2007 12:19 am Post subject: Re: [Advanced] problem with zero dublicate mod |
|
|
OK I installed your new relase adv_mod_rewriteV0-2-2 + Cyber alien Guest session mod - fresh installation on new domain chicagoland.org root dir. and so far everything is working fine. I see if I will still have any problems with zero duplicate mod. Thanks for updates. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13777
|
|
| Back to top |
|
 |
|
|