Remove folder directories from URL using .htaccess

Status
Not open for further replies.

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

Please could you try adding this line to your .htaccess file? :)

Code:
RewriteBase /


Thank you,
 

middesi2

New Member
Messages
3
Reaction score
0
Points
1
Hi,

Please could you try adding this line to your .htaccess file? :)

Code:
RewriteBase /


Thank you,
Here's the current .htaccess file
# Original
# If you modify this file then change the above line to: # Modified
<IfModule mod_rewrite.c>
RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is in a subfolder
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
</IfModule>

I haven't changed anything yet.
 
Status
Not open for further replies.
Top