Remove slash from url?
This is an open discussion with 8 replies, filed under General.
Search
It’s improper URL syntax, for a start.
Besides, it should work just fine if you don’t add that trailing slash anyway.
How come it’s improper?
It works just fine but it’s strange that Symphony works this way instead of the “standard” way.
What version of Symphony are you using? I think in 2.0.6 you can use either.
I’m currently using version 2.0.6.
Is there any configuration I need to change in version 2.0.6?
How come it’s improper?
It is improper because blog/
is a directory while blog
is a file. Files wouldn’t be able to have parameters as they appear as subdirectories in the URL.
If blog
was a real directory on your Apache webserver, you’d only be able to access it using blog/
.
It works just fine but it’s strange that Symphony works this way instead of the “standard” way.
Everyone is doing it the way Symphony does it. Only Internet Explorer does it wrong.
Ruby on Rails uses URLs without trailing slashes (by default), I think. It’s a vogue. From a technical point of view I agree with phogue.
There has been a long discussion about trailing slashes.
I’m not sure what the big deal is. You can get away with not having trailing slashes in Symphony (I tried it on my website to verify) if you so choose.
That being said, I’m not sure what you have against them. From a users’ perspective there’s no real difference to either method. Neither is inherently more user-friendly.
Create an account or sign in to comment.
I see that every URL is {page}/. How do I remove it so it would simply be {page} with the slash. For example:
http://getsymphony.com/explore/ to http://getsymphony.com/explore
I changed my .htaccess but it didn’t do anything.