• I currently have paralinks setup which look like this;

    mydomain.com/about

    Although how would i go about getting another forward slash on the end of it? “/” this…

    I’ve tried a few things but the only i’ve managed to do it, well it messed up the links to my blog entires which look like “/uncategorized/test.html” and the link to section also doesn’t have a forward slash.

    /category/uncategorized

    Thanks!
    ~Joey

Viewing 2 replies - 16 through 17 (of 17 total)
  • Once I got this code from somebody here in the forum:

    RewriteEngine On
    RewriteBase /
    #Trailing Slash
    # If requested resource does not exist as a file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and does not end with a period followed by a filetype
    RewriteCond %{REQUEST_URI} !\..+$
    # and does not end with a slash
    RewriteCond %{REQUEST_URI} !/$
    # then add a trailing slash and redirect
    RewriteRule (.*) $1/ [R=301,L]

    It works for me but use it at your own risk because it was meant for WP versions that do NOT have the “canonical URL” thing…
    Don’t blame me if it breaks your site!

    “Yep, it’s that simple! “

    Try that for your category archive pages, and let me know if it works. *cough*

    as for the .htaccess method, I would only repeat Moshu’s cautionary message.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Simple question (i hope) =)’ is closed to new replies.