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.

0
votes
0answers
5 views

Configure redirects with web.config

have a WP multisite that created the following web.config files at bottom ( works perfectly ). However, how do I create 301 redirects for individual pages in the subsites? ** WP generated web.config ...
1
vote
0answers
18 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
25 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
162 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
994 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 ...
3
votes
1answer
832 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 ...