Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Redirect Subdomain URL to Domain

$
0
0

Good Afternoon,

I'm new to IIS and web.config and feel like a complete newbie. I'm attempting to create a 301 redirect but can't seem to figure out what the appropriate rewrite code should be. Would love some help if anyone has an answer!

(I substituted 'mydomain' just because I'd prefer not to have this in search results)

Old URL: https://www.portal.myolddomain.com/customerquote.aspx

New URL: https://www.mynewdomain.com/quote

As you can see, I'm not just redirecting a subdomain to the parent, but a subdomain of an older domain to a new parent. That's what I've been having issues with.


Viewing all articles
Browse latest Browse all 2482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>