Remove index.php from url

Author Message

Michael Maine

Tuesday 06 October 2009 5:04:34 pm

Hello,

I'm new to EZ and I am using the version 4.2. What's the easiest way to set up clean url's without the index.php showing in the address bar? Also, I am using the URL method. Thanks.

Balduin Schlosser

Tuesday 13 October 2009 11:26:22 am

Hi,
I've got the same problem. After installing the newest release 4.2.0 everything is fine beside the urls.

www.mywebsite.com/index.php?/category/page

I read several post here and some in www but found only articles concerning previous versions of ez. I added ForceVirtualHost=true to my site.ini.append.php and activated the .htaccess (copy of .htaccess_root). The URLs are looking good (no index.php) but the subpages are not working.

Does anyone have an idea?

Thanks!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:43:29
Script start
Timing: Jan 18 2025 11:43:29
Module start 'layout'
Timing: Jan 18 2025 11:43:29
Module start 'content'
Timing: Jan 18 2025 11:43:29
Module end 'content'
Timing: Jan 18 2025 11:43:29
Script end

Main resources:

Total runtime0.0160 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.0156152.6250
Module start 'layout' 0.00620.0036 740.640639.4453
Module start 'content' 0.00980.0043 780.085989.2422
Module end 'content' 0.01410.0019 869.328130.3047
Script end 0.0160  899.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002917.9543140.0002
Check MTime0.00137.8341140.0001
Mysql Total
Database connection0.00074.594210.0007
Mysqli_queries0.003219.932130.0011
Looping result0.00000.101210.0000
Template Total0.00148.910.0014
Template load0.00085.012410.0008
Template processing0.00063.838210.0006
Override
Cache load0.00053.259310.0005
General
dbfile0.00021.342480.0000
String conversion0.00000.055140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs