Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing CMS Files in Subfolder - Still run at root
#1
Hello...

Is there a way to install the GetSimple CMS in a subfolder (lets say /cms/) and then move the index.php up to the root level to run as normal? This can be done with Wordpress. Trying to figure out how to do it with GetSimple.

I have some things running in other subfolders that I need to keep for legacy purposes, and I'm just trying to keep folder structure clean to prevent any issues.

Thanks
Reply
#2
Use an htacess with a rewrite.
There are posts somewhere on this
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
I'm not entirally sure what you mean, but I think the info is in the wiki:
http://get-simple.info/wiki/config:htaccess
Reply
#4
I use 2 htaccess files

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
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)