Here is code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/rt/
RewriteRule ^(.*)$ /rt/$1 [L]
</IfModule>
There is no [R], but it keeps changing address bar location.
It set redirect 302…
I need to change root folder to /rt/ folder, but without changing location in address bar.
I can’t use anything beside .htaccess file…
I want users when visit:
http://domain.com/index.php
see
but open http://domain.com/rt/index.php
This index.php is example file, I need this working for every file…
Without changing location in browser address bar…
How about just using
Alias?If not, make sure you have mod_proxy enabled, and try this: