Changing root folder name
Client has just asked to have folder name changed in directory so that the URL will be different.
How do I go about doing this so that it updates across the site and doesn't have any configuration issues?
I need to change the name "driftwoodcentral" to something else, which will change what the URL will be, but when I tried to do this none of the pages I have set up under "driftwoodcentral/example-page worked off the navigation any more. You could still access them via the sitemap.
So I just need to know how to go about renaming "driftwoodcentral" so that it updates across the site and on all the pages under it accordingly
Thanks for your help
Sent from my iPad
> On 16/02/2014, at 2:26 am, concrete5 Community <[email protected]> wrote:
Rename driftwoodcentral to driftwoodcentral-newname.
Then change the path to the concrete5 directory in /driftwoodcentral-newname/config/site.php
The site.php file has
I cant see anything in there to change the URL path?
Can we take a look at the new folder you have set up? ... it should show what the nav is getting up to. At the moment, it is asking for a login.
Did you also see my point about the htaccess file and pretty URLs?
This is the folder structure (see attached).
http://www.driftwoodnz.com and then a subfolder called driftwoodcentral which now has its own copy of C5, so you can go towww.www.driftwoodnz.com/driftwoodcentral/... and then see a whole new site.
When I login to my webhost I can't even see the subfolder within my http folder, but I can see it on Cyber Duck - that's strange, right?
This is how it looks on my webhost (see attached)
And this is how the htaccess file looks
I appreciate your help.
The htaccess file you show is in fact from driftwoodcentral.co.nz and not from driftwoodnz.com/driftwoodcentral/ which should have its own one (if there is one).
Are you sure you are looking in the right place and/or have uploaded the files to the right place?
You can PM me if you like.
This is the htaccess file of the correct (my bad before!)
I will try again and see how I get on, and if I have any problems I will PM you.
Thanks for your help :)
There seems to be an extra httpdocs in the path there but not in the htaccess file... although that might be just the way the filemanager is showing it.
You could try to FTP in to get a better idea. The curious thing you said is that the sitemap works so perhaps there is something wrong with the navigation (autonav?)
As I said before, if one could look at your actual test site then it should become more clear.
have a look here:
not even sure all installs of c5 have
in the configuration file by default
I found them in some older ones but not in C 5.6+ ones