Forums / General / get rid of index.php/siteaccess from the the url
Softriva .com
Tuesday 01 August 2006 11:18:16 pm
I have a node # 59 under node #2. In the url translator I added
about -> content/view/full/59
ezurl make the link as
http://www.mysite.com/index.php/siteaccess/about
How can I get rid of index.php/siteaccess from the above url.
Thank you
Christophe Condomines
Wednesday 02 August 2006 1:31:09 am
If you don't want to see index.php/siteaccess in the url generated by ezpublish, you have to configure your Apache web server.
In short, you must make use of the rewrite rules inside your virtual host.
Have a look at the ez documentation here:
http://ez.no/doc/ez_publish/technical_manual/3_8/installation/virtual_host_setup
Microblau SL http://www.microblau.net
Thursday 03 August 2006 1:19:59 am
Thank you, the rewrite rules got rid of the index.php but not the siteaccess. Is there a way to get rid of the siteaccess? If not, thats ok.
Thursday 03 August 2006 1:29:45 am
Yes, but if you don't want the siteaccess in the url, you have to use the host access method:
http://www.example.com (actual website for public access)http://admin.example.com (administration interface for the webmaster)
All is well explained at this page: http://ez.no/doc/ez_publish/technical_manual/3_8/installation/virtual_host_setup/virtual_host_example
Marcin Drozd
Thursday 03 August 2006 3:07:40 am
HIIn the 3.8 version of eZp we have:
# 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=disabled
try this.
http://ez-publish.pl