htaccess keep folder code example
Example: htaccess keep folder
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f
RewriteRule ^/(.*) /$1 [L]
RewriteEngine On
RewriteCond %{SERVER_PORT} 443 [OR]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^index.php(.*) http://%{HTTP_HOST}:8000/$1 [P,L]
#RewriteRule (.*) http://%{HTTP_HOST}:8000/$1 [P,L]