ASP.Net: Redirect URL to default page after publish

nauna
 
on May 02, 2021 10:37 PM
2591 Views

hello,

I am having problem that when user type abc.com it opens page default but its not showing like abc.com/default but when i redirect from any button it shows abc.com/default.

When user first time type in browser abc.com website opens but without /default.

please advice i want website should open with /default.

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on May 03, 2021 04:39 AM

You need to set default page for your website in IIS using Web.Config file in ASP.Net.

Refer below article.

Set default page for your website in IIS using Web.Config file in ASP.Net