23370 Posts in 18160 Topics by 2864 members
|Go to End|
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.
12 March 2010 at 9:11am
you should work on .htcaccess file .
Edit the .htacess file adding the following code
May works. have a try.
12 March 2010 at 9:13am
thanks i will give it a try
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:
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.
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.
|Go to Top|