Questions tagged [web.config]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
28 views

How do I change the content on my website based on subdomains all pointing to the ASPX same server? [closed]

I have created multiple subdomains on my DNS (en.example.com / pt.example.com / ru.example.com), all related to languages and all pointed to the same IP address. I want to get the information from ...
user avatar
2 votes
1 answer
54 views

Does a new permanent rewrite rule supersede old permanent rewrite rule?

Ages ago we included a redirect in web.config to ensure that pages would rewrite to http://www.example.com/ if the user input, say, www.example.comor variants of it. Recently we changed the site so ...
user avatar
  • 65
1 vote
0 answers
40 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, ...
user avatar
  • 65
3 votes
1 answer
82 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 ...
user avatar
  • 65
2 votes
1 answer
266 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 ...
user avatar
1 vote
0 answers
2k 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 ...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
  • 33