1
Hello need to make a redirect of an active blog installed in the sub-domain for the main domain I mounted a redirect from the sub to the main one, the problem are the posts of this blog that are already indexed I want to redirect all Urls on the web to the default of the main domain.
Redirect from sub to main works but post urls returns Not found
<rewrite>
<rules>
<rule name="BlogToPrincipal" stopProcessing="true">
<match url="^(.*)$" />
<conditions>
<add input="{HTTP_HOST}" pattern="^blog\.meudominio\.com\.br$" />
</conditions>
<action type="Redirect" url="http://www.meudominio.com.br/{R:1}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
What would be a "post URL"?
– brazilianldsjaguar
In fact I want to redirect everything that is indexed on the internet of this blog, or whatever appears from blog.meudominio.com.br to meudominio.com.br, the way I did just redirects to the ". br " whatever you’re saying after ". br/whatever" returns to me Page Not Found 404
– WeberSP