Search Engine Optimization > On Site Optimization

301 redirection for 404 page?

(1/2) > >>

Hogward:
Can we use 301 permanent redirection to a 404 page??

aprilhomer:
I think it's possible but i know that it may harm your website :(

C.Rebecca:
You can put a permanent redirect to 404 pages using .htaccess files.
How to implement the 301 Redirect
1. To create a .htaccess file, open notepad, name and save the file as .htaccess (there is no extension).
2. If you already have a .htaccess file on your server, download it to your desktop for editing.
3. Place this code in your .htaccess file: redirect 301 /old/old.htm http://www.you.com/new.htm
4. If the .htaccess file already has lines of code in it, skip a line, then add the above code.
5. Save the .htaccess file
6. Upload this file to the root folder of your server.
7. Test it by typing in the old address to the page you've changed. You should be immediately taken to the new location.

Hogward:
I think cannot re-direct 404 page using 301 re-direct.

takeshiro:

--- Quote ---How to implement the 301 Redirect
1. To create a .htaccess file, open notepad, name and save the file as .htaccess (there is no extension).
2. If you already have a .htaccess file on your server, download it to your desktop for editing.
3. Place this code in your .htaccess file: redirect 301 /old/old.htm http://www.you.com/new.htm
4. If the .htaccess file already has lines of code in it, skip a line, then add the above code.
5. Save the .htaccess file
6. Upload this file to the root folder of your server.
7. Test it by typing in the old address to the page you've changed. You should be immediately taken to the new location.
--- End quote ---

I agree with this implementation..

Navigation

[0] Message Index

[#] Next page

Go to full version