terça-feira, 11 de junho de 2019

Redirecionar Web Site Pelo web.config Excluindo o robots.txt ou Outros Arquivos

Redirect With web.config Exclude Robots.txt Or Other Files

Redirecionar Web Site Pelo web.config Excluindo o robots.txt ou Outros Arquivos



Sugestão do Stack Overflow

    
        
            
                
                    
                    
                        
                        
                    
                    
                
            
        
    

Fonte: Stack Overflow
https://stackoverflow.com/questions/46976603/redirect-with-web-config-exclude-robots-txt


Sugestão Minha para não redirecionar o acessos a alguns arquivos.

Acessa Apenas os arquivos do Google edos Sites de Search:
http://SITE.com.br/googlecdf82312f2803234.html
http://SITE.com.br/BingSiteAuth.xml
http://SITE.com.br/robots.txt

As demais redireciona.

   
       
           
               
                   
                   
                            
                               
                                                                                                               
                   
                    SITE_DESTINO.com.br" redirectType="Permanent" />
               
           
       
   



Nenhum comentário: