Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-09-09 01:59:49

Dezz
New Member
From: Taiwan
Registered: 2007-09-09
Posts: 2

How to add "/" in the end of URLs?

Hi all, I am using the URL like “domain.com/section/post-name”, but I want my URL like “domain/section/post-name/”.

Can I do it without any plugin? Thx!

Offline

#2 2007-09-09 11:15:14

bisk
Member
From: The Netherlands
Registered: 2005-03-23
Posts: 12
Website

Re: How to add "/" in the end of URLs?

I’m using gbp_permanent_links to do the same. But without a plugin you’ll have to customize the permanent links in all the modules. Add a forward slash at the end of the href attribute.

<a href="<txp:permlink />/" title="<txp:title />"><txp:title /></a>

If your old url’s are already in the google index, you might want to add a rewrite rule

Offline

#3 2007-09-09 13:34:17

Dezz
New Member
From: Taiwan
Registered: 2007-09-09
Posts: 2

Re: How to add "/" in the end of URLs?

Bisk, thx a lot!

Offline

Board footer

Powered by FluxBB