21293 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 829 Views |
-
Moving SS site to Root from Folder

12 March 2010 at 8:46am
Hi, I hope you can give me some advioce here guys!
I have a static site running currently and am changing this to a SS site which I have built but I have placed the whole SS site into a folder in the root called 'CMS'. So it goes www.mysite.com/cms/ (the SS site site here).
I have finished testing the SS site and everything works great but now need to replace the old static site, which sits in the root, with the SS site.
So, do I simply delete all the staic site files and upload the SS files to the root (which is what I think i should do) but I suspect I will have to change some other files such as config or similar. Which files would I have to change and is there a simple way to do this?
Thanks for your help here.
-
Re: Moving SS site to Root from Folder

12 March 2010 at 9:11am
you should work on .htcaccess file .
Add rewriteBase.Edit the .htacess file adding the following code
RewriteEngine On
RewriteBase /cmsMay works. have a try.
-
Re: Moving SS site to Root from Folder

12 March 2010 at 9:27am Last edited: 12 March 2010 9:27am
If you are moving your SS code to the root...you would need adjust your .htaccess file as follows:
RewriteEngine On
RewriteBase /Note: this almost the same as SSAdmin's response but you no longer would need the 'cms' in the rewrite path when you go to the root.
-
Re: Moving SS site to Root from Folder

12 March 2010 at 9:49am
Hi,@chingochango.. you r right..
I didnt notice he has finished the site-construction and want to make it public.@SuperBlues. Try the one without "cms" if you wannt to publish your site.
Using RewriteBase /XXX to hide your site before your finishing your site construction.
Thanks for pointing out, chingochango.
All Good
| 829 Views | ||
|
Page:
1
|
Go to Top |



