Forums / Install & configuration / remove siteaccess from url
risto CMS user
Thursday 23 March 2006 2:32:14 am
Im getting /news in the url.
by the way I am changing to host not uri.
What do I need to doo to have the siteaccess removed from the url?
Niklas Gunnäs
Thursday 23 March 2006 2:53:51 am
One way to do that is
1. copy all content in /settings/siteaccess/news/ to /settings/siteaccess/ 2. remove or rename news folder 3. make a symbolic link called news who points to folder /settings/siteaccess (else you will get problem in administration) 4. Edit /settings/override/site.ini Set to DefaultAccess= and add line AvailableSiteAccessList[]=5. Clear cache
Hope I didnt forget anything :-)
Thursday 23 March 2006 3:44:08 am
nope, that did it. thanx
Thursday 23 March 2006 4:59:01 am
anothe thing I'c run into now is the meny on the left, and all the content is still related to the ez not the new domain folder.
how can this be set to relate to the domain folder?mennu.ini.append.php looks like this
[Topmenu_content] URL[] URL[default]=content/view/full/217 URL[browse]=content/browse/217 NavigationPartIdentifier=ezcontentnavigationpart #Name=Content structure #Tooltip=Manage the main content structure of the site. Enabled[] Enabled[default]=true Enabled[browse]=true Enabled[edit]=false Shown[] Shown[default]=true Shown[navigation]=true Shown[browse]=true
but when i hit a link it shows the sub folder