| :: |
| Author |
Message |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: Thu Jan 04, 2007 1:28 pm Post subject: phpbbseo zerodupes 500 server error |
|
|
hi i have tried zerodupes
i have tried the viewtopic and with post and the index.php
every time i get the 301
and message
Moved Permanently
The document has moved here. (and here is same url like index.php and is not rewritten)
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
what am i doing wrong
i have my phpbb in domain base root like this
www.domain.net/ |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
|
| Back to top |
|
 |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: Thu Jan 04, 2007 2:49 pm Post subject: Re: phpbbseo zerodupes 500 server error |
|
|
i do not understand what is problem
i have set no special 301
all seem to work but not this zerodupes re write
this is my commonphp can you see any problems
| Code: |
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_cat_name = FALSE;
$seo_forum_name = FALSE;
$seo_topic_name = FALSE;
define('PHPBB_URL', 'http://www.domain.net/');
// www.phpBB-SEO.com SEO TOOLKIT END
?> |
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
|
| Back to top |
|
 |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: Thu Jan 04, 2007 4:06 pm Post subject: Re: phpbbseo zerodupes 500 server error |
|
|
no domain.net is just example is not my domain to be public
this is sub domain htaccess
| Code: |
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.extra\.domain\.net$ [NC]
RewriteRule ^(.*) http://www.extra.domain.net/$1 [QSA,R=301,L]
RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
RewriteRule ^.+-vc([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
RewriteRule ^.+-vf([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
RewriteRule ^.+-vt([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L] |
all works as i can see
but not nthe zero dupes
all the time is
301
but
Moved Permanently
The document has moved here. (here is not rewritten)
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
could there be some thing missed on zero dupes you sent me? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
Posted: Thu Jan 04, 2007 4:20 pm Post subject: Re: phpbbseo zerodupes 500 server error |
|
|
Well I don't think so.
It really seems you are dealing with custom error-document handling on 301 redirections.
Don't you have error-doc directive in you .htaccess or Vhost ?
You can perform a simple test to see which one of the two http version would be the best in your case 1.1 or 1.0.
Put this into a .php file :
| Code: | <?php
header("Status: 301 Moved Permanently", TRUE, 301);
header("Location: http://www.yourdomain.com/");
exit();
?> |
and this in another one :
| Code: | <?php
header("HTTP/1.1 301 Moved Permanently", TRUE, 301);
header("Location: http://www.yourdomain.com/");
exit();
?> |
and upload both, and try to load them in your browser. In none works, the problem is really elsewhere, if one does, then, we'll be able to force the use of it in seo_redirect(), as by default it's auto selecting and could, for some reason select the weakest method on your server.
You can as well try to change TRUE with FALSE in the option, as it might as well be only this.
++ |
_________________ 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 |
|
 |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: Thu Jan 04, 2007 4:25 pm Post subject: Re: phpbbseo zerodupes 500 server error |
|
|
thank you. i will try these examples
this section of advice above
####
You can as well try to change TRUE with FALSE in the option, as it might as well be only this.??
####
where should i try to do this |
|
|
| Back to top |
|
 |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: Thu Jan 04, 2007 4:30 pm Post subject: Re: phpbbseo zerodupes 500 server error |
|
|
###
<?php
header("HTTP/1.1 301 Moved Permanently", TRUE, 301);
header("Location: http://www.yourdomain.com/");
exit();
?>
####
this works dcz |
|
|
| Back to top |
|
 |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: Thu Jan 04, 2007 4:47 pm Post subject: Re: phpbbseo zerodupes 500 server error |
|
|
what should i change in code of zerodupes
thank you |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
|
| Back to top |
|
 |
mikey672
Joined: 15 Dec 2006 Posts: 24
|
Posted: Thu Jan 04, 2007 6:06 pm Post subject: Re: phpbbseo zerodupes 500 server error |
|
|
yes it does
so much excellent help thank you |
|
|
| Back to top |
|
 |
|
|