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.