Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Add trailing forward slash / in url

aeryaery Gtricks Forum in 2.2 :) ✭✭✭
edited February 2011 in Questions
Normally, Vanilla by default doesnt have trailing slashes in URL's but A-List Apart http://www.alistapart.com/articles/slashforward/ and Search Engine Journal http://www.searchenginejournal.com/linking-issues-why-a-trailing-slash-in-the-url-does-matter/13021/ reccomends using trailing shashes?

So, my question here is, Should I change the rewrite rule in htaccess? Will is produce some problem in future.

Vanilla Developers, please be sure to add this issue in incoming versions.

Regards,
Abhishek
http://gtricks.com/forum

Vanilla is sweet & support is great, to encourage volunteers, please donate.

Comments

  • aeryaery Gtricks Forum in 2.2 :) ✭✭✭

    Unsinking it.

    Anyone to answer?

    Vanilla is sweet & support is great, to encourage volunteers, please donate.

  • ToddTodd Chief Product Officer Vanilla Staff

    I like this sentence in the searchenginejournal.com link:

    Well, to begin with, if you get such a reply from a web developer, start looking for another one because this answer is profoundly incorrect, to say at least

    Did someone threaten to fire you if you don't add a trailing slash?

    Here is my responses to both of these blog posts:

    1. Vanilla passes all of its requests through one file, index.php and uses htaccess to do so. There is no extra disk IO. I'm really not sure what kind of scenario they are applying their logic to, but it certainly doesn't apply to all scenarios.

    2. The second article specifically recommends that you be consistent which is exactly what we do. Even though we accept both a trailing slash and a non trailing slash we always send back a canonical url with the non trailing slash.

  • Like Todd said very few frameworks nowadays a represented purely by physical directory structure. The argument is basically redundant.

    Her assessment of how servers work, and file systems is not really accurate, and besides the tail should not wag the dog. You should make sure your server is serving appropriately.

    Google wants and their algorithms are about trying model real content, so it is not in their interest to be folly for tricks. SEO "experts" jobs have gradually got harder becuase they are loosing the substance battle.

    The best SEO is real content, and that is what a decent SEO consultant should be focusing on.

    grep is your friend.

Sign In or Register to comment.