Questions tagged [web.config]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 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 ...
2
votes
1answer
35 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 ...
0
votes
0answers
13 views

How to configure sitemap for a mediawiki website?

I'm mainly referencing this line: If you want to see a human-readable sitemap, allow read access for sitemap.xsl file in your site config (.htacces file or other) Which is related to a ...
0
votes
0answers
12 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
26 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
37 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
212 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
1k 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
939 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 ...