Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-02-23 23:10:12
- imischa
- Member
- From: Netherlands
- Registered: 2010-07-06
- Posts: 14
Removing trailing slash in breadcrumbs
Hi there,
I have breadcrumbs on my website http://www.mischavanderspek.com/abstract-art-gallery
If you click on the breadcrumb will will get http://www.mischavanderspek.com/abstract-art-gallery/ which is bad for SEO. How do get rid of the trailing slash in the breadcrumbs?
this the the breadcrumbs code:
<div id="breadcrumbs"><p><txp:breadcrumb label="Home" title="1" link="1" linkclass="breadcrumb" wraptag="" /><txp:if_individual_article> » <txp:title/></txp:if_individual_article></p></div>
Any help is much appreciated!
Thanks,
Mischa
Offline
Re: Removing trailing slash in breadcrumbs
Tangentially related: Trailing slashes are the canonical form of links to sections throughout Textpattern – so how did you achieve the slash-less link in the first place?
Offline
#3 2011-02-24 09:10:37
- imischa
- Member
- From: Netherlands
- Registered: 2010-07-06
- Posts: 14
Re: Removing trailing slash in breadcrumbs
Hi Robert,
You are probably right but did you ever see a person type in the trailing slash at the end? like www.website.com/ or www.website.com/section/
All links I made are just HTML links and without trailing slash, similar for the canonical links which I also did without the trailing slash. Hence trailing slashes are not user friendly and only serve purpose for what exactly?
Offline