Results 1 to 3 of 3

Thread: .htaccess Trailing Slash

  1. #1
    Registered Mike's Avatar
    Join Date
    May 2003
    Location
    UK
    Posts
    2,755

    .htaccess Trailing Slash

    Hi all,

    I have a few search engine friendly urls, which have been built using the ForceType method that the tutorial on this site shows. This works fine, but I need it so that if there is no trailing slash, .htaccess adds one. Does anyone know how I could do this?

    Thanks,
    Mike
    Don't you just love free internet games ?

  2. #2
    Registered
    Join Date
    Aug 2006
    Location
    Sacramento, CA
    Posts
    208
    Why do you need a trailing slash? It seems to me the ForceType method shouldn't care if there is a trailing slash if I understand it correctly.
    ________
    Honda Cb500T Specifications
    Last edited by rpanella; 03-17-2011 at 11:01 AM.

  3. #3
    Registered Alien
    Join Date
    Aug 2004
    Location
    .au/.sg
    Posts
    58
    Use redirect?
    RewriteRule ^folder/(.+)$ /folder/$1/ [R]

Similar Threads

  1. Tiny mcs and .htaccess
    By Masetek in forum Website Programming & Databases
    Replies: 2
    Last Post: 07-26-2006, 07:27 PM
  2. Yahoo not storing trailing '/' in .htaccess redirects
    By LuckyShima in forum Search Engine Optimization
    Replies: 1
    Last Post: 12-19-2005, 06:59 AM
  3. chris, the .htaccess forcetype directive...
    By eMEraLdwPn in forum General Management Issues
    Replies: 14
    Last Post: 11-11-2005, 01:45 PM
  4. search engine friendly urls with .htaccess
    By eMEraLdwPn in forum Web Hosting & Servers
    Replies: 2
    Last Post: 09-28-2004, 02:57 PM
  5. slash or no slash
    By lemon in forum Search Engine Optimization
    Replies: 5
    Last Post: 10-03-2003, 06:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •