IT Tutorial

How to redirect a web page

Problem

Redirecting a webpage is hugely useful, its not just so that when you migrate to a new webdesign all your links from old pages to new pages work its also helps ranking in the serps etc by maintaing pagerank flow between pages etc. Follow the step by step guide below on how to do a 301 redirect.

 

Resolution

This is quite a simple proces and can be done in minutes.

1) first in the root of your website create a file called ” .htaccess”

2) once in open it up and edit it with notepad and enter the text below

redirect a web page with htaccess

redirect a web page with htaccess

Once youve edited the information accordingley save the file as as ” . htaccess” and upload to your site.

redirect 301 (the instruction that the page has moved)
/oldfolder/oldfile.html (the original folder path and
file name) http://www.domain/newfile.html (new path and file name)

Tags: 301 errors, redirect

Allen White

Allen is a Consultant for ITPS in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure.

Leave a comment

Categories

Vote!

What Web Browser Do You Use?

View Results

Loading ... Loading ...

Vote!

What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...