Installing cms made simple in own folder
Installing cms made simple in own folder
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.
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.
Re: Installing cms made simple in own folder
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...
Re: Installing cms made simple in own folder
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.
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...
Reason: Please use double quotes on fake links so they aren't clickable...
-
- 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
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.
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.
Re: Installing cms made simple in own folder
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.
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.
Re: Installing cms made simple in own folder
.htaccess
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/....
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]
yoursite.com/cms/....
Re: Installing cms made simple in own folder
Thank you for your help!
-
- Forum Members
- Posts: 11
- Joined: Sun Jan 06, 2013 6:28 pm
Re: Installing cms made simple in own folder
Move CMSMS to a sub-folder.
Change domain name DNS to point to the folder.
Done.
Change domain name DNS to point to the folder.
Done.
Re: Installing cms made simple in own folder
DNS does not point to a folder. DNS points to an IP address.SpringSummer wrote:Move CMSMS to a sub-folder.
Change domain name DNS to point to the folder.
Done.
-
- Forum Members
- Posts: 11
- Joined: Sun Jan 06, 2013 6:28 pm
Re: Installing cms made simple in own folder
When changing where a domain name points to, you can easily specify any sub-folder on your server (old "root URL" + new subfolder).velden wrote:DNS does not point to a folder. DNS points to an IP address.SpringSummer wrote:Move CMSMS to a sub-folder.
Change domain name DNS to point to the folder.
Done.
One more change in config.php paths, and your users will not know anything changed.
Re: Installing cms made simple in own folder
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.
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.