Current Path Parameter and '/'
This is an open discussion with 3 replies, filed under General.
Search
We discussed this some time ago: https://github.com/symphonycms/symphony-2/issues/1894.
@Micheal thanks for pointing me to that discussion (seems I was a couple of years late). I was pretty sure there were some reasons it was that way, I hardly use any of the two parameters so seeing that it's best practice to add a separate trailing /
within XSLT as mentioned within the issue. I'm happy with it as it is.
So am I, after that discussion. Sometimes I really change my mind...
Create an account or sign in to comment.
I'm just curious seeing that Symphony currently enforces a
/
at the end of a URL via an htaccess 301 redirect. How come that thecurrent-path
andcurrent-url
parameters never include the/
at the end?I'm just curious as doing some modifications to a datasource to check if the link is the canonical link else forcing a redirect, and came across this possible discrepancy.