The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other .htaccess Master Please Help Me Reply To: .htaccess Master Please Help Me


how i can remove ‘/’ from my directory

write them that way:

some clarification:

mod_rewrite is not intended to change the URL shown in the address bar. It takes whatever you wrote and turns it into something that the server can understand. So, if you write your URL without the slash, simply put a rewrite rule in your .htaccess file to put the slash on:

RewriteEngine On
RewriteRule content/download /content/download/