URL

Author Message

Evgeniy K

Thursday 27 April 2006 2:02:33 am

Hello

Sorry for my bad English, I'm Russian.

After installation eZ (3.7 and 3.8) the main URL of the site looks like http://sitename.com/index.php? .
When in installation process I try another url like http://sitename.com the result is the same. All URLs looks like http://sitename.com/index.php?/multiprice_products . But of course /index.php? is not good for SEO, I need http://sitename.com/multiprice_products . How can I do it?

Thanks.
Evgeniy.

Steven E. Bailey

Thursday 27 April 2006 2:36:17 am

Check your rewrite rules. I think there might be an error in the rewrite rules, as in:

Correct:
RewriteRule !(^/mmcache.*$|\(jar|gif|css|jpg|png|js|html)$ /index.php

Incorrect

RewriteRule !(^/mmcache.*$|\(jar|gif|css|jpg|png|js|html)$ /index.php?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Evgeniy K

Thursday 27 April 2006 3:02:43 am

Thanks.

So there are incorrect rules on the server, not at eZ configuration? I'm testing eZ on shared hosting, and it seems to me mod_rewrite is not installed

Steven E. Bailey

Thursday 27 April 2006 4:58:32 am

Yes, the rewrite rules would be in the apache configuration file - and they would only work if mod_rewrite was loaded/enabled. That's probably is going on.

Actually, if you had the rewrite rules set up correctly, you shouldn't see index.php (much less index.php?) at all in the path. Like this:

http://ez.no/community/forum/install_configuration/url

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Evgeniy K

Thursday 27 April 2006 5:07:37 am

Thanks for your help Steven.

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 31 2025 04:28:28
Script start
Timing: Jan 31 2025 04:28:28
Module start 'layout'
Timing: Jan 31 2025 04:28:28
Module start 'content'
Timing: Jan 31 2025 04:28:28
Module end 'content'
Timing: Jan 31 2025 04:28:28
Script end

Main resources:

Total runtime0.0127 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.0045 588.0078151.1953
Module start 'layout' 0.00450.0023 739.203136.6172
Module start 'content' 0.00690.0044 775.820394.1250
Module end 'content' 0.01120.0014 869.945333.9922
Script end 0.0127  903.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002317.7335140.0002
Check MTime0.00107.8885140.0001
Mysql Total
Database connection0.00075.199510.0007
Mysqli_queries0.002116.563730.0007
Looping result0.00000.093910.0000
Template Total0.00118.410.0011
Template load0.00086.600310.0008
Template processing0.00021.725710.0002
Override
Cache load0.00064.638110.0006
General
dbfile0.00021.930380.0000
String conversion0.00000.037640.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