home menu link goes to site root rather than index.php
home menu link goes to site root rather than index.php
Hi
How can I assign the home menu link to point to index.php rather then the server root /
I have a static page at index.htm which needs to stay in place with cmsms sitting behind it.
I've looked around the menu's and the config.php file and searched the forums but cannot see how to do it.
Also in the header there is a {cms_selflink dir="start" rellink=1} but not sure if this has any bearing?
Any ideas?
Thanks, Steve
Apologies if this has been asked before, I just cannot see it on the forums.
How can I assign the home menu link to point to index.php rather then the server root /
I have a static page at index.htm which needs to stay in place with cmsms sitting behind it.
I've looked around the menu's and the config.php file and searched the forums but cannot see how to do it.
Also in the header there is a {cms_selflink dir="start" rellink=1} but not sure if this has any bearing?
Any ideas?
Thanks, Steve
Apologies if this has been asked before, I just cannot see it on the forums.
Last edited by stevegos on Tue Dec 15, 2009 3:47 pm, edited 1 time in total.
Re: home menu link goes to index.php rather than server root
I think you need .htaccess file in site root directory. And line in it
Code: Select all
DirectoryIndex index.php
Re: home menu link goes to index.php rather than server root
Thanks, but won't that just change the default server response to index.php?
I need to keep index.html or index.htm as the server default, I need the CMSMS default when clicking the home page link to go to index.php rather then the server responding with index.html as its pointing to the root and not index.php.
Steve
I need to keep index.html or index.htm as the server default, I need the CMSMS default when clicking the home page link to go to index.php rather then the server responding with index.html as its pointing to the root and not index.php.
Steve
Re: home menu link goes to index.php rather than server root
Hi stevegos
1. Create a new page.
2. In the content put the tag {redirect_page page="home"} home is the alias of the cmsms homepage.
3. Uncheck visible in menu
4. And set this page to default page.
When index.html is linked to index.php the 'home' page should be loaded
You have to try this, but I think it should work this way.
You probably need to change the start parameter in the Breadcrumbs and perhaps the {cms_selflink} in the header.
Regards, Rolf
1. Create a new page.
2. In the content put the tag {redirect_page page="home"} home is the alias of the cmsms homepage.
3. Uncheck visible in menu
4. And set this page to default page.
When index.html is linked to index.php the 'home' page should be loaded
You have to try this, but I think it should work this way.
You probably need to change the start parameter in the Breadcrumbs and perhaps the {cms_selflink} in the header.
Regards, Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: home menu link goes to site root rather than index.php
apologies everyone, my subject title was misleading... Have now corrected this.
I need the home page link to link to http://www.mydomain.com/index.php rather then the site root http://www.mydomain.com
Steve
I need the home page link to link to http://www.mydomain.com/index.php rather then the site root http://www.mydomain.com
Steve
Re: home menu link goes to site root rather than index.php
Home page link where, in the header or menu?...
Re: home menu link goes to site root rather than index.php
In this case you can do following:
1. create new page type as external link,
2. in address field write "http://www.mydomain.com/index.php"
3. set this page as default page.
1. create new page type as external link,
2. in address field write "http://www.mydomain.com/index.php"
3. set this page as default page.
Re: home menu link goes to site root rather than index.php
Thanks, that fixed the problem, but of course I had to hide the actual Home page in the menu.
There must be a technical resolution for this somewhere?
Steve
There must be a technical resolution for this somewhere?
Steve
Re: home menu link goes to site root rather than index.php
Normally page doesn't have index.html and index.php in the same directory and default page index file is also default for CMSThere must be a technical resolution for this somewhere?
