Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [web.config]

The tag has no usage guidance.

1
vote
0answers
17 views

IIS7 Rewrite to block bad inbound linking not working

I want to block users to our site that are coming from links on seriously inappropriate website (e.g. warez, link bait sites, etc). I have tried this but doesn't work - I go to the blocked site, ...
3
votes
1answer
22 views

IIS7 rewrite rule triggers 404 rather than redirecting to new pagw

We recently replaced most of our default pages from default.htm to default.asp. Rewrite rules work fine if it's a sub-folder, e.g. example.com/help/default.asp where the default.htm was deleted. If ...
2
votes
1answer
118 views

How would you write an http to https redirect rule for web.config on IIS8 that would go directly to preferred domain with www.?

I have a site that we just setup with SSL and have a redirect rule set up in web.config. We also use the www. as the preferred domain. The problem I have is I want to skip the middle step in the ...
1
vote
0answers
894 views

Re-writing static website in angular 6. Will default 404 route hurt SEO?

Let us say our previous website was a WordPress application with links like example.com/about-us that served up static pages. Well now our application is an Angular 6 SPA being served in IIS through ...
0
votes
0answers
36 views

Redirection of .html to .php (web config) [duplicate]

How do I redirect .html pages to .php, (www.example.com/about.html -> www.example.com/about.php) on a Windows server?
3
votes
1answer
774 views

HTTP to HTTPS redirect for a specific domain through web.config

I'm trying to do a HTTP to HTTPS redirect on a GoDaddy web hosting platform. I have the Windows hosting platform and I'm editing the web.config file. There are multiple domains under this hosting ...