i'm updating my site in new version for demo version.
I just keep my demo site as www.domain-name.com/demo/
Now i'm gonna keep my site in demo folder.. so if access www.domain-name.com
it'll fetch file from "demo" folder
for that i used below coding.
RewriteRule ^(index.php)$ ./demo/ [L]
it will affect only root path other path it won't.
I need to change as below
from
http://www.domain-name.com/demo/index.php/contact-us
http://www.domain-name.com/demo/index.php/aboutus
....etc
to
http://www.domain-name.com/index.php/contact-us
http://www.domain-name.com/index.php/aboutus