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  
 
   
[Advanced] problem with zero dublicate mod

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » Zero duplicate
::  
Author Message
eye_cc



Joined: 05 Feb 2007
Posts: 11
Location: Chicago

[Advanced] problem with zero dublicate modPosted: 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 Shocked

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

[Advanced] problem with zero dublicate modPosted: Mon Feb 05, 2007 10:02 pm    Post subject: Re: [Advanced] problem with zero dublicate mod

strange ..site map is not working correctly either Confused
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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13777

[Advanced] problem with zero dublicate modPosted: Tue Feb 06, 2007 11:30 am    Post subject: Re: [Advanced] problem with zero dublicate mod

Please, one thing at a time Wink

For the zero dupe, you just need to make sure :
Code:

// 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


is just before :

Code:
if (file_exists('install') || file_exists('contrib'))
{
   message_die(GENERAL_MESSAGE, 'Please_remove_install_contrib');
}



in common.php.

You sitemaps is just fine, it's installed in root, not in forum that's all.

++

_________________
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
eye_cc



Joined: 05 Feb 2007
Posts: 11
Location: Chicago

[Advanced] problem with zero dublicate modPosted: 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 Very Happy is not working
I have pretty standard server configuration.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13777

[Advanced] problem with zero dublicate modPosted: Tue Feb 06, 2007 5:55 pm    Post subject: Re: [Advanced] problem with zero dublicate mod

Well, the idea was to move the code where it should be and was not, not to add it again Wink

Anyway, updated, should solve all 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
eye_cc



Joined: 05 Feb 2007
Posts: 11
Location: Chicago

[Advanced] problem with zero dublicate modPosted: 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13777

[Advanced] problem with zero dublicate modPosted: Tue Feb 06, 2007 7:17 pm    Post subject: Re: [Advanced] problem with zero dublicate mod

Oups, a typo :

Code:
if (!definded('PHPBB_URL')) {
   define ('PHPBB_URL', $phpbb_seo->seo_path['phpbb_url']);
}


should be :

Code:
if (!defined('PHPBB_URL')) {
   define ('PHPBB_URL', $phpbb_seo->seo_path['phpbb_url']);
}


I correct this right now 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
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 159
Location: Turkey

[Advanced] problem with zero dublicate modPosted: 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"

Sad
Back to top
Visit poster's website
eye_cc



Joined: 05 Feb 2007
Posts: 11
Location: Chicago

[Advanced] problem with zero dublicate modPosted: 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 Very Happy
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13777

[Advanced] problem with zero dublicate modPosted: 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
Visit poster's website
eye_cc



Joined: 05 Feb 2007
Posts: 11
Location: Chicago

[Advanced] problem with zero dublicate modPosted: Thu Feb 08, 2007 12:19 am    Post subject: Re: [Advanced] problem with zero dublicate mod

OK Very Happy 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13777

[Advanced] problem with zero dublicate modPosted: Thu Feb 08, 2007 11:26 am    Post subject: Re: [Advanced] problem with zero dublicate mod

Very Happy

I confirm the zero dupe is installed well :

http://www.chicagoland.org/false-title-1-f1.html
Quote:
HTTP Status Code: HTTP/1.1 301 Moved Permanently
Date: Thu, 08 Feb 2007 11:25:14 GMT
Server: Apache/1.3.37 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.3 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
X-Powered-By: PHP/4.4.3
Location: http://www.chicagoland.org/test-forum-1-f1.html
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html


++

_________________
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  » Zero duplicate
Page 1 of 1

Navigation Similar Topics

Jump to: