User283571144 posted
Hi swb2004,
According to your description, I couldn't understand your issue and requirement clearly.
Could you please share the rewrite rule you have used in your web application?
We have managed to get rewrite to work but this still shows the old site name in the browser, we want to achieve the full 301 and the correct new site name in the browser.
Do you mean you have used url rewrite instead of url redirect?
As far as I know, a redirect is a client-side request to have the web browser go to another URL. This means that the URL that you see in the browser will update to the new URL.
A rewrite is a server-side rewrite of the URL before it’s fully processed by IIS. This will not change what you see in the browser because the changes are hidden from the user.
If you use url rewrite, I suggest you could modify the url rewrite rule to url redirect, it will make the whole page refresh and use the new site url and name.
Best Regards,
Brando