Blog

Newest Post
Blog Archives
Blog Categories

Portfolio

3D Models
Banners
Brochures
Business Cards
Custom Programming
Environments
Flash Projects
Game Design
Image Altering
Web Design

About

Resume
Recommendation Letters

Contact

July 1, 2008

Creating a perminent redirect in the .htaccess file

Filed under: .htaccess — admin @ 9:32 am

A search engine friendly way to redirect an old page to a new one is to add the following line in your .htaccess file.

“Redirect permanent /old-page.html http://www.newsite.com/new-page.html”

Direct the ErrorDocument 404 to a webpage

Filed under: .htaccess — admin @ 9:31 am

If you would like the “404 Webpage Not Found” error to redirect to another page on your website – just simply create (or edit) your .htaccess file. This file should be at the root level of your site’s directory where your root webpages are stored.

Add the following line: “ErrorDocument 404 /pagename.html”

© - Digital Epiphany Designs, Online Portfolio for Web Design, Custom Programming, Grapic Design and Game Design.