Forums / General / Home page URL alies

Home page URL alies

Author Message

srikanth mn

Friday 07 August 2009 1:25:06 am

How to create the home page URL alies....Currently my home page URL is
"http://localhost/example2/index.php/plain_site"........i done want to display index.php/plain_site......i want the URL allies to be
"http://localhost/example2/home.html"....Can anyone please help me how to solve this issue.

Max Keil

Monday 17 August 2009 4:11:09 pm

site.ini.append.php in you override folder

[SiteAccessSettings]
# Set to true if you want to force VirualHost mode (with RewriteRules in apache)
# If this is set to true nonVirtualHost mode will not work correctly
ForceVirtualHost=true

# Wheter to add siteaccess to the url if current siteaccess
# is the same as default siteaccess. Changing this setting will
# require clearing the cache.
#
# For instance if the default siteaccess is 'en' and you enable
# this you can access the siteacccess with 'index.php' instead of
# 'index.php/en/'.
RemoveSiteAccessIfDefaultAccess=enabled

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

André R.

Tuesday 18 August 2009 12:51:34 am

Search for 'index.php' / 'vhost' / 'virtual host' in forum and doc if you need more info.
Like:
http://ez.no/developer/forum/install_configuration/solved_removing_index_php
http://ez.no/developer/forum/setup_design/removing_index_php_from_url
http://ez.no/developer/forum/install_configuration/remove_index_php_from_url_error_kernel_20_solved

As for adding '.html' to url to fake that you have a site from pre 2000, would be a bit more difficult.. But possible using site.ini[URLTranslator]Filters[]

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom