Results 1 to 1 of 1
Thread: URL rewrite for subdirectory
Aug 13, 2012, 22:13 #1
- Join Date
- Nov 2009
- 0 Post(s)
- 0 Thread(s)
URL rewrite for subdirectory
I am trying something with .htaccess and I am not sure if it is possible at all. I am building a website with multiple sections (not categories).
I will have dozens, maybe hundreds of sections like this. I want to put all the section folders in one single folder "sections" so that the root directory will not be a mess.
Now, I tried the following rewrite rule
RewriteRule ^([A-Za-z0-9-]+)/$ sections/$1