
If you’ve recently updated your Wordpress site, you might have noticed that there’s a trailing slash missing from your page urls. Pages are now
domain.com/page instead of
domain.com/page/. The folks at Wordpress don’t seem to think this is a very big deal, but for anyone with even the slightest interest in SEO and duplicate content – then you’ll be tearing your hair out trying to fix it (at least I was). I messed around with the Wordpress link-template.php file, and fixed the problem, but also created a new one while I was at it. Just as I was about to give in and learn to live without my beloved trailing slash, I found a simple plugin from
Peter Claus Lamprecht that totally fixes the problem. Unless you can read German, you’ll never find the plugin on his site – but if you
click here, then it’s all yours. Thanks Peter!
Comments
PunkyBrewster
March 14, 2008Thanks for this, I tried 2.3.3 a while ago and it screwed up my urls so I rolled back to earlier version.
Peter Claus Lamprecht
March 19, 2008Thanks for linking to my plugin.
The existence of the trailing slash depends on the last char of your permalink structure: if the last char is a slash, then all your permalinks will have a trailing slash. Otherwise not. So the missing slash problem only occures, when filename extensions like .html are used.
My plugin solves this dilemma.
datenkind
May 15, 2008Very great, this plugin just saved some nerves. :)
Gillian
May 26, 2008Thank you! This was driving me crazy trying to sort this out. I don’t know why the folks at Wordpress decided to change this. THANKS! :D
massage guy
August 4, 2008Hi people.
It is really good wordpress only thing i don’t like is cause this remove .php extension from end of my urls.
How to remove this part of functionality of that plugin.
(i need only to remove those slashes)
Thanks
Leave a comment
This is a dofollow website. If you leave a comment, then we'll give you a backlink.Please be aware that this website is strictly moderated. If you post spam, you'll get a slap.