Este sitio web utiliza cookies para realizar análisis y mediciones de tus visitas. [ Acepto ] [ Más información aquí ].

How to Remove Slashes from the End of your URLs

In some cases, a same page can be visualized differently between Google and visitors due to the addition or suppression of slashes at the end of the URL address, which affects the relative routes of CSS files and creates duplicate content. Therefore, you should remove all slashes at the end of your URL addresses. Add this rule to your .htaccess file to remove slashes at the end of the URL addresses in your website:

RewriteEngine On

RewriteBase /

RewriteRule ^(.*)/$ /$1 [L,R=301]

Añadir comentario

Comentarios

2018-09-02 - حرف اخر

Thanks For Nice Share very good article