Permanant Page Redirect


#1

Before I was on dreamhost, I had a site that was written in JSP. I no longer have that - obviously - but I have a page that sometimes gets hits that is now a 404. I would like to set up a permanant redirect for this page. Not sure how to go about it though.

Thanks.


#2

You can use an .htaccess file to accomplish this. The following should do the job:

Redirect /olddirectory/oldfile.jsp http://yoursite.com/newdirectory/newfile.htmlObviously you will need to replace directory, website, and filenames to match your own.


Simon Jessey
Keystone Websites | si-blog