2015-01-10, 01:54:08
I use 2 htaccess files
so for
/getsimple/
I have
one in root
and the default in getsimple
with the rewrite urls modified to add the subfolder to all rules
and any blog or special ones you have as well
of course you can probably also just move the htaccess up to root, and change add the subfolder also, but i usually keep the 2 just cause i have other rules in each of them for different things, external to gs.
make sure you remove the subfolder from your siteurl in settings also
so for
/getsimple/
I have
one in root
Code:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ /getsimple/index.php?id=$1 [QSA,L]
and the default in getsimple
with the rewrite urls modified to add the subfolder to all rules
and any blog or special ones you have as well
Code:
RewriteRule /?([A-Za-z0-9_-]+)/?$ /getsimple/index.php?id=$1 [QSA,L]
of course you can probably also just move the htaccess up to root, and change add the subfolder also, but i usually keep the 2 just cause i have other rules in each of them for different things, external to gs.
make sure you remove the subfolder from your siteurl in settings also