Page Redirect 302

Permalink Browser Info Environment
Hi, we try to change redirect to 302, but ist does not work.
I have added in page_redirect.php (column 34)
header("HTTP/1.1 301 Moved Permanently");

but the redirects are still 301?

Type: Discussion
Status: New
RobertF
View Replies:
Mnkras replied on at Permalink Reply
Mnkras
Ready your above message again: header("HTTP/1.1 301 Moved Permanently");

header("HTTP/1.1 302 Found");
RobertF replied on at Permalink Reply
RobertF
sorry - little mistake 301 - 302 :-)

we try to redirect to 301 but it's still 302
Mnkras replied on at Permalink Reply
Mnkras
try sticking it under the
//redirect

in the model.
RobertF replied on at Permalink Reply
RobertF
thats what we made:
changed: /packages/page_redirect/models/page_redirect.php in Line 34:
header("HTTP/1.1 301 Moved Permanently");
$sLink = $npage->getCollectionPointerExternalLink();
header('Location: '.$npage->getCollectionPointerExternalLink());

but it's still 302...
Mnkras replied on at Permalink Reply
Mnkras
I'm confused, do you want a 301 or a 302
On Feb 13, 2012 3:14 AM, "concrete5 Community" <discussions@concretecms.com>
wrote:
RobertF replied on at Permalink Reply
RobertF
Sorry for Confusing...
We need 301
Mnkras replied on at Permalink Reply
Mnkras
I just updated the addon, it now uses a 301 redirect.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.