What removes trailing slash in Wordpress category, archives and pages?

Discussion in 'WordPress' started by readytoblog, Oct 1, 2009.

  1. #1
    When I type in http://www.onskookboek.be/2009/03/

    I get redirected to the same URL without trailing slash

    http://www.onskookboek.be/2009/03
    =====
    Why is this happening and which code/setting is responsible?

    ====
    My .htaccess looks as such:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    =====
    Changing htaccess to redirect a page without trailing slash to the page with trailing slash, gets into an endless loop :
    without trailing slach redirects to trailing slash and then the misterious
    with trailing slash redirects back to without trailing slash.

    Help :confused:
     
    readytoblog, Oct 1, 2009 IP
  2. BorelliDesigns

    BorelliDesigns Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I wouldn't change the trailing slash in Wordpress. The links are fine. Easiest way to explain it is through folders on your server. You can enter you-domain-name.com in the browser and it will automatically pull up the index.html or index.php file in your root directory folder. The trailing slash is simply directing the browser to the default page of that specific cell in your database.
     
    BorelliDesigns, Oct 2, 2009 IP