Hi there -

I need to redirect a site built in .php to a site built in .asp

Trouble is, that's simply going to create lots of 404's which aren't going to help anyone.

I'd like to be able to provide 404 headers and redirect to a specific page.

How would I do this in .asp?

Thanks for any replies.

- Brian

Recommended Answers

All 2 Replies

I don't understand your question.

On a *nix system, you simply add a couple of simple lines of code in a file at the site root named ".htaccess".

So:

Error document 404 /

can tell the server to redirect a user to the website root folder - usually the site index page.

I figured there must be something similar for asp?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.