21490 Posts in 5783 Topics by 2621 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1062 Views |
-
How to remove trailing slash from generated URLs

6 July 2009 at 2:48pm Last edited: 6 July 2009 2:49pm
There is probably a good reason that the CMS adds a trailing slash "/" to all links generated by it, however, I would like to remove this because it interferes with relative URLs and while I know this can be partially solved with the base tag it doesn't help when I want to append a query string or anchor to the current URL.
Is there a directive that can be put in _config.php to override this behaviour?
Cheers
Rich
-
Re: How to remove trailing slash from generated URLs

22 October 2009 at 9:32am
HEAR HEAR! I am having a huge issue with this, actually, using the StaticPublisher. All the links in my static html files have trailing slashes and (as a result of something configured in .htaccess) it causes none of the links to work! The links ONLY work withOUT the trailing slash, and generate 404's WITH. Any ideas??
This is an urgent problem. ANY and ALL help would be greatly appreciated. How can I remove them?
//Garrett
| 1062 Views | ||
|
Page:
1
|
Go to Top |

