•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 402,473 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,981 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 1551 | Replies: 2
![]() |
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
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
On a *nix system, you simply add a couple of simple lines of code in a file at the site root named ".htaccess".
So:
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?
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?
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- redirect asp pages with the help of asp pages... (ASP)
- Migration from CFM to ASP.NET - how to handle the SEO aspect (Search Engine Optimization)
- asp redirect help I think it is a syntax issue (Legacy and Other Languages)
- Problem: Programming Tab Control (Visual Basic 4 / 5 / 6)
- ASP / vb6 dll (ASP)
Other Threads in the ASP Forum
- Previous Thread: Help
- Next Thread: Command text was not set for the command object.


Linear Mode