how to point url to cms directory

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
andyg
Forum Members
Forum Members
Posts: 23
Joined: Fri Mar 30, 2007 7:07 pm

how to point url to cms directory

Post 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!!!
User avatar
cisco
Forum Members
Forum Members
Posts: 19
Joined: Sun Nov 25, 2007 8:16 pm
Location: Serbia

Re: how to point url to cms directory

Post 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.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: how to point url to cms directory

Post 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.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Jack @ PharSide

Re: how to point url to cms directory

Post 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..
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: how to point url to cms directory

Post 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.
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.
Pierre M.

Re: how to point url to cms directory

Post 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
andyg
Forum Members
Forum Members
Posts: 23
Joined: Fri Mar 30, 2007 7:07 pm

Re: how to point url to cms directory

Post 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 :)
Jack @ PharSide

Re: how to point url to cms directory

Post 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 :-)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: how to point url to cms directory

Post 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.
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.
Jack @ PharSide

Re: how to point url to cms directory

Post by Jack @ PharSide »

I wasn't aware of that Calguy. Thanks for clarifying..
Post Reply

Return to “CMSMS Core”