Installing cms made simple in own folder

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Janie0183
New Member
New Member
Posts: 2
Joined: Tue Mar 05, 2013 2:47 pm

Installing cms made simple in own folder

Post by Janie0183 »

I'm trying to retrofit my site with CMS Made Simple.

There are a lot of files and folders in my site, and a lot in cms made simple. Therefore, to keep things simple, and to avoid changing or deleting things, I want a cmsms directory, and have people access my site normally, as they always have, via document root.

Is there a way to make the path to the site be normal, while keeping all the cmsms files together in their own directory? I've seen other cms's with this ability, and assume you do too, but after searching, don't see how, or even that it can't be done.

Hoping it is. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Installing cms made simple in own folder

Post by Dr.CSS »

Put it in yoursite.com/NewFolder then you can access it using that URL, if you want to make it just like the other then use it for the actual site, make all changes in yoursite.com/NewFolder once you are done move all the folders/files to /root/ and change the config file paths and you will have a CMSMS driven site...
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Installing cms made simple in own folder

Post by Wishbone »

He meant that he wanted CMSMS to be in a folder, but access it somehow through "http://mysite.com without specifying the folder.

There's no way to do this as far as I know. I've never needed to do this. I always leave the document root to CMSMS, and have all the site files in /uploads to avoid the clutter.
Last edited by Dr.CSS on Sat Mar 09, 2013 11:13 pm, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Installing cms made simple in own folder

Post by calguy1000 »

Most host control panels allow you to set the document root for a particular site. some googling will help.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Installing cms made simple in own folder

Post by Wishbone »

He doesn't even want that, I believe.

He wants document root to be /

but through some magic (htaccess maybe), all calls to / will call up /cmsms

In this way, he can 'bottle' up cmsms, and still access all his files through the normal path.
gianpiero
Forum Members
Forum Members
Posts: 221
Joined: Sun Jan 07, 2007 4:32 pm
Location: Italy

Re: Installing cms made simple in own folder

Post by gianpiero »

.htaccess

Code: Select all

RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite\.com$
RewriteRule (.*) http://www.yoursite.com/$1 [R=301,L]
RewriteRule ^$ dir_of_installation_cmsms [L]
this htaccess allow the access at root level when a file exist in it, other way the visitors will go to index of cmsms but the url finally will be on address bar as

yoursite.com/cms/....
Janie0183
New Member
New Member
Posts: 2
Joined: Tue Mar 05, 2013 2:47 pm

Re: Installing cms made simple in own folder

Post by Janie0183 »

Thank you for your help!
SpringSummer
Forum Members
Forum Members
Posts: 11
Joined: Sun Jan 06, 2013 6:28 pm

Re: Installing cms made simple in own folder

Post by SpringSummer »

Move CMSMS to a sub-folder.

Change domain name DNS to point to the folder.

Done.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3492
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Installing cms made simple in own folder

Post by velden »

SpringSummer wrote:Move CMSMS to a sub-folder.

Change domain name DNS to point to the folder.

Done.
DNS does not point to a folder. DNS points to an IP address.
SpringSummer
Forum Members
Forum Members
Posts: 11
Joined: Sun Jan 06, 2013 6:28 pm

Re: Installing cms made simple in own folder

Post by SpringSummer »

velden wrote:
SpringSummer wrote:Move CMSMS to a sub-folder.

Change domain name DNS to point to the folder.

Done.
DNS does not point to a folder. DNS points to an IP address.
When changing where a domain name points to, you can easily specify any sub-folder on your server (old "root URL" + new subfolder).

One more change in config.php paths, and your users will not know anything changed.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3492
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Installing cms made simple in own folder

Post by velden »

I still don't fully agree.

Probably you're talking about a redirection, maybe even combined with cloaking. Both I think are not a very good idea with regards to a. the question and b. SEO.

Cloaking will 'hide' the subfolder but I believe search engines will notice the change and might not connect to content to the old domain name.

If you redirect with the preferred http 301 then the subfolder will become visible/part of the url.

So when possible, .htaccess rewrite will be the best, invisible option in my opinion.
Locked

Return to “[locked] Installation, Setup and Upgrade”