lynnmcdee Posted June 24, 2014 Share Posted June 24, 2014 I have recently run a report and it is showing a lot of 302 redirects. I need to change them to 301's, but they are not showing in the .htaccess file. Is there somewhere else I can look? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 24, 2014 Share Posted June 24, 2014 Hi, please checkout the includes/functions.inc.php file. function httpredir($destination = '', $anchor = '', $meta_refresh = false, $status = 302) Quote Link to comment Share on other sites More sharing options...
lynnmcdee Posted June 24, 2014 Author Share Posted June 24, 2014 Thank you. Should I change the 302 to 301? function httpredir($destination = '', $anchor = '', $meta_refresh = false, $status = 301) Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 24, 2014 Share Posted June 24, 2014 Correct. Quote Link to comment Share on other sites More sharing options...
lynnmcdee Posted June 24, 2014 Author Share Posted June 24, 2014 Excellent, thank you I have another query! Should I open a new topic/post? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 24, 2014 Share Posted June 24, 2014 A new one is best as it will be easier for others to find. Quote Link to comment Share on other sites More sharing options...
lynnmcdee Posted July 7, 2014 Author Share Posted July 7, 2014 Hi, When I changed: function httpredir($destination = '', $anchor = '', $meta_refresh = false, $status = 302) to function httpredir($destination = '', $anchor = '', $meta_refresh = false, $status = 301) This caused a redirect loop. Is there a way to change the 302 redirects to 301's without causing a 301 redirect loop? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.