Page 1 of 1

how to point url to cms directory

Posted: Mon Dec 17, 2007 11:21 pm
by andyg
I have installed cms made simple to a sub directory called cms for testing while still running my html site in root. i now want to put the cms site live. I have tried a redirect in godaddy from www.mysite.com to www.mysite.com/cms but nothing, just the godaddy page, it worked on my old hosting service.
Do I use a htaccess file if so how?
I really need detailed instructions as I'm thick!!!

Re: how to point url to cms directory

Posted: Tue Dec 18, 2007 5:00 pm
by cisco
you need to create one 'index.html' file in the root directory that only redirects to /cms/index.php and since you say it already works there, that should do the job.

Re: how to point url to cms directory

Posted: Tue Dec 18, 2007 5:37 pm
by kermit
if you will be removing the static html site, the logical course of action is to move the cmsms installation to the domain root. basically it goes something like this (search the forums or wiki for more detailed instructions)....

backup static site (just in case).
backup cmsms files (just in case).
clear cmsms cache (important!) and logout.
copy or move cmsms files and directories to domain root.
edit config.php in domain root to reflect change in url and paths.
edit .htaccess in domain root if you previously specified a rewrite base
remove files (from static site) that are no longer used.
create redirects or rewrite rules to 301 redirect old static site url's to their respective new cmsms url's.

Re: how to point url to cms directory

Posted: Tue Dec 18, 2007 10:34 pm
by Jack @ PharSide
I would move it back to the root myself but for a quick and easy fix. Place a META Refresh in the header of a blank html page and put in your root directory. Cut and past the code below:

Code: Select all

<meta http-equiv="refresh" content="0;url=http://www.yourwebsite.com">
Good luck..

Re: how to point url to cms directory

Posted: Tue Dec 18, 2007 11:02 pm
by calguy1000
Again.... this is not an issue specific to CMS Made Simple

This issue would arrise with any static or dynamic website developed in a subdirectory of the root domain.

Lets close this topic and try to keep the issues related to CMS please.

Re: how to point url to cms directory

Posted: Wed Dec 19, 2007 6:19 pm
by Pierre M.
calguy1000 wrote: Again.... this is not an issue specific to CMS Made Simple

This issue would arrise with any static or dynamic website developed in a subdirectory of the root domain.

Lets close this topic and try to keep the issues related to CMS please.
Yes, Calguy is right, it is not CMSms specific.
Someone who wants to help the project can improve the documentation with his/her forum account : gather posts on this subject (subdirectory, subfolder, move to root, moving to root..) and write a 4 lines howto in the wiki. Thanks in advance.

Pierre

Re: how to point url to cms directory

Posted: Thu Dec 20, 2007 2:16 pm
by andyg
It may not be a cms made simple thing, but thanks to all for the replies. They have helped me a great deal :)

Re: how to point url to cms directory

Posted: Sun Dec 23, 2007 4:29 pm
by Jack @ PharSide
How about if we setup a forum where we can discuss things like this. I find some of them interesting and completes the CMS developer community in my mind.

Maybe moderatorless? If a moderator doesn't want to answers questions like this - so be it in this possible new forum.

Just an idea :-)

Re: how to point url to cms directory

Posted: Sun Dec 23, 2007 4:35 pm
by calguy1000
Jack, unfortunately, it's a 'signal to noise' issue.... and if the 'unrelated to cms' stuff like this and 'how do I create a database'.... and 'how do I center a div' stuff is not controlled it quickly would bury the traffic that we (myself and others) want to read, stuff that is specifically related to cms.  Even after the forums have been re-organized, it's better, but still not great.

There are lots of resources on the internet for this type of thing, and as mentioned by KO in another thread, we could put together a list of useful links and encourage people to read them, including links to other forums for 'generic' stuff.  I like that idea.

CMS Made Simple is made for professional or semi-professional, experienced web developers and designers.... not as I've said many times for the auto-mechanic, accountant, photographer or store-keeper to replace frontpage with.  Everybody needs to recognize that.  Putting these 'generic' boards in the forum would quickly do away with that idea.

Re: how to point url to cms directory

Posted: Mon Dec 24, 2007 4:45 am
by Jack @ PharSide
I wasn't aware of that Calguy. Thanks for clarifying..