Forum Archive - [Solved] Pro: Remove trailinig slashes

[Solved] Pro: Remove trailinig slashes
Jan 11, 2013 3:46 pm by Dawn
Hi, I've got again a little question. I've noticed that when an other language is selected (like englisch) when I click on the flag (and also in sitemap.txt), I get an URL like Because I everywhere else remove the trailing slash from my urls I want to do it because of SEO for this too (otherwise the site is accessible with and - which gives duplicate content). Is it possible to remove this trailing slash? Best regards and big thanks anyway, Dawn EDIT: I've corrected the sitemap.txt manually, but this doesn't solve it with the module which shows the language selection. Perhaps can this be solves at least with a 301 redirect via .htaccess? (don't know the right rule).
Re: Pro: Remove trailinig slashes
Jan 11, 2013 5:08 pm by Yana
Hi, Try to use the following rule RewriteRule ^(.*)/$ $1 [R=301]
Re: Pro: Remove trailinig slashes
Jan 15, 2013 7:03 pm by Dawn
Thanks a lot. I decided to use a canonical tag to improve my site and could skip with this solution a mod-rewrite solution (which makes problems with other stuff). For me it's solved.


How to remove mobile Language Select Button transparencyDec 5, 2018 10:06 pmReplies: 10Post by: JeffTR
Remove <h1>Original Text</h1>Sep 18, 2015 2:21 pmReplies: 6Post by: adeblath
[SOLVED]double dropdownOct 26, 2017 8:26 amReplies: 3Post by: danielesantosubito
[SOLVED] NOT WORKING, HELP PLEASE!Feb 12, 2017 4:53 pmReplies: 5Post by: TSM
Need help <SOLVED>Feb 6, 2017 1:48 pmReplies: 5Post by: blaxx

Try GTranslate with a free 15 day trial