Trailing slashes

Hi,

 

I see in a patch update (http://manuals.matrix.squizsuite.net/patches/4.6.0-rc1) that matrix now removes the trailing slash from URLs. I understand the benefits of this from a caching point of view but is there any way to allow the trailing slash to remain for a specific URL? Thanks.

 

Why are you wanting to keep it?

An external service (for whatever reason) needs the URL to end in a trailing slash. If it can't be done then fair enough but if you have any ideas I'd love to hear. Thanks.

An external service (for whatever reason) needs the URL to end in a trailing slash. If it can't be done then fair enough but if you have any ideas I'd love to hear. Thanks.

 

Have you tried adding the ending slash when the external service asks for the URL? I am sure it won't matter if you do add it.

I don’t think there’s a way to do it selectively.

That feature is optional, though - if you don’t want it, setting “Redirect URL with Trailing Slash” to “No” on the System Configuration page should disable it.

Thanks Marcus. I didn't know you could just turn it off in the configuration. Problem solved for now.