If this is not enough to have your server return the correct headers, I'm afraid to tell you you should consider
changing
Is there a way to check if the server is up for the job before installing the zerodub?
Moderator: Moderators
If this is not enough to have your server return the correct headers, I'm afraid to tell you you should consider
changing


is okHTTP Status Code: HTTP/1.1 301

Moved Permanently
The document has moved here.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

<?php
header("Status: 301 Moved Permanently", TRUE, 301);
header("Location: http://www.example.com/");
exit();
?>
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
etc.

<?php
header("HTTP/1.1 301 Moved Permanently", TRUE, 301);
header("Location: http://www.example.com/");
exit();
?>
Parse error: syntax error, unexpected T_STRING in /customers/thegame-online.dk/thegame-online.dk/httpd.www/test1.php on line 3
Parse error: syntax error, unexpected T_STRING in /customers/thegame-online.dk/thegame-online.dk/httpd.www/test2.php on line 3

<?php
header("HTTP/1.1 301 Moved Permanently", TRUE, 301);
header("Location: http://www.example.com/");
exit();
?>
$http = (@function_exists("getallheaders")) ? "HTTP/1.1 " : "Status: "; $http = "HTTP/1.1 ";return; function seo_redirect($url, $header = "301 Moved Permanently", $code = 301, $replace = TRUE) {
global $db;
dcz wrote:With the proper headers ?
If so you could just replace :
- Code: Select all
$http = (@function_exists("getallheaders")) ? "HTTP/1.1 " : "Status: ";
with :
- Code: Select all
$http = "HTTP/1.1 ";
in phpbb_seo/phpbb_seo_class.php, to force the use of HTTP/1.1, the one working.
++
For you other issue, I'm not sure, try implementing this one, and if you just want to deactivate the zero dupe all at once, you can just add :
- Code: Select all
return;
after :
- Code: Select all
function seo_redirect($url, $header = "301 Moved Permanently", $code = 301, $replace = TRUE) {
global $db;
still in phpbb_seo/phpbb_seo_class.php. And delete it to re-activate the redirections.
Easier to switch from on to of when testing.


Return to Zero duplicate phpBB2
Users browsing this forum: No registered users and 2 guests