Forum Moderators: phranque

Message Too Old, No Replies

301 Redirects without PHP, ASP, or .htaccess

         

timfitz

7:00 pm on May 12, 2004 (gmt 0)



Can someone tell me if there is a way to create a 301 permanent redirect for pages on a site that do not support PHP, ASP, nor has a .htaccess file?

I have a website that I set up on my personal Comcast account site. It's been there awhile and gets good rankings in Yahoo, Ask Jeeves and Google. I've permanently moved it to a full-service hosting site with a new URL (sure beats home.comcast.com\~username\....). I have individual page redirects created on the old site which takes visitors to my new site. However, I'd truly like the search engines to stop crawling the old site so I can disable it (without losing my good rankings). All the help I see about 301 redirects involve ASP or PHP scripts, or altering a .htaccess file. None of these options are available to me.

HELPPPPPPPPPP

Dreamquick

11:54 am on May 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The HTTP status code (ie the 301 part) needs to be set by the server in reply to the request, so that requires some degree of server-side co-operation - as you point out this normally takes the form of a server-side language or control script.

Investigate the features of your hosting account (including the control panel), if you really can't do anything like this then you wont be able to apply a 301 I'm afraid.

You wont be the first person (or the last) in this situation, so I'm sure there is a solution out there, albeit not as neat as a 301/302.

- Tony