02-12-2015, 06:27 AM | #1 |
Registered User
Join Date: Feb 2015
Posts: 12
|
How to fix the 301 and 302 errors in website?
Some the the pages has containing broken links and 301 errors.
So i need to fix the errors. How to fix the 301 and 302 errors in website?
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
02-12-2015, 11:40 AM | #2 |
Registered User
Join Date: Sep 2013
Posts: 887
|
<?php
$redirectlink = ‘http://www.puttheredirectedwebpageurlhere.com‘; //do not edit below here header (‘HTTP/1.1 301 Moved Permanently’); header(‘Location: ‘.$redirectlink); exit; ?>
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
02-13-2015, 01:14 AM | #3 |
Registered User
Join Date: Jan 2015
Location: 3.5KM, Makkuana, Main By Pass Road Faisalabad-Pakistan
Posts: 71
|
301 redirection is permanent redirection and 302 redirection is temporary.
|
02-13-2015, 01:51 AM | #4 |
Registered User
Join Date: Feb 2015
Location: chennai
Posts: 6
|
search in google 301 redirection code and alternate your url and you can fix ur issues
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|