Hi
I have "a landing page" on a site where to choose a language. Landing page's url is www.exampledomain.com/index.html and the official site url is www.exampledomain.com/index.php.
Now the automatic url of default page is www.exampledomain.com which means that it directs to the language choosing page.
Is there any way to fix the default page url to direct the visitor to www.exampledomain.com/index.php instead of www.exampledomain.com/index.html?
How to change default page url? [SOLVED]
How to change default page url? [SOLVED]
Last edited by Pera on Thu Jan 03, 2008 10:30 am, edited 1 time in total.
Re: How to change default page url?
Pera,
I dont quite understand what you want, dont you want the landingpage anymore, so that people start at the index.php page. That might already happen, when you remove the index.html. Than the index.php will be first pulled.
Another thing is to use a redirect,
But as stated, I dont see exactly what you try to achieve.....
Ronny
I dont quite understand what you want, dont you want the landingpage anymore, so that people start at the index.php page. That might already happen, when you remove the index.html. Than the index.php will be first pulled.
Another thing is to use a redirect,
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
</head>
</__body>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=index.php">
<__body>
</__html>
Ronny
Re: How to change default page url?
Sorry for bad explanation.I dont quite understand what you want
So, I want to have the landing page.
Example of the menu that CMS creates
- Homepage (this is the default page)
- Services
- Products
- Contact
So, when I click Homepage on the menu I don't go to the Homepage but to the Landingpage.
My question is, how to fix the menu so, that the url of Homepage would be www.exampledomain.com/index.php instead of www.exampledomain.com
I hope you understand what I mean

Re: How to change default page url?
set some other page as the default page (the default page will always get the root_url as its link)
or use "link" content type for the page.
or check through the svn commits, I think it was changed somewhere around 1.1.1
or use "link" content type for the page.
or check through the svn commits, I think it was changed somewhere around 1.1.1

Re: How to change default page url?
Hello,
Pierre M.
This is not CMSms specific. This is a setting of the webserver. Please read the Apache's manual about DirectoryIndex to put php before html.Pera wrote: Is there any way to fix the default page url to direct the visitor to www.exampledomain.com/index.php instead of www.exampledomain.com/index.html?
Pierre M.
Re: How to change default page url?
Best bet is to make default home as a link to index.php...
Re: How to change default page url? [SOLVED]
Thanks to everybody for help!
I solved the problem by creating a new content page that I set as default page. Then I changed the menu item type from content page to link that direct to index.php. Now there isn't set any default page (because menu link cant't be set as default page) but nevertheless the index.php direct to the first content page on the menu structure.
I solved the problem by creating a new content page that I set as default page. Then I changed the menu item type from content page to link that direct to index.php. Now there isn't set any default page (because menu link cant't be set as default page) but nevertheless the index.php direct to the first content page on the menu structure.