Having trouble redirecting old PHP URL to the new ASP page

Liegeflek

New Member
I am not an ASP programmer. People still use a link from a time when this system was built on PHP.Old url: www.domain.com/shop/more.phpNew url : www.domain.com/shop/more.aspIt now runs on a Windows server that doesn't have PHP installed. If I create the old PHP file then the user is asked to download the .php file when visiting.My research has taken me to learn that I can fix this by editing the web.config file (in either the root or the folder of the page) but all my changes have either caused errors or done nothing. I have also considered just making the default 404 page redirect to the correct page in question but my attempts have found the same result. Does anyone have any insight? Is there a way to find out what version of ASP the site is running?
 
Back
Top