Forums / General / index.php? vs index.php

index.php? vs index.php

Author Message

Jianjun Hu

Saturday 13 December 2008 5:51:08 am

Hi,

I installed and set up a <b>eZ Publish 4.0.1</b>base website on <b>my PC</b> (xampp, apache2, php5, mysql5 ). The URLs are as following:

http://localhost/ezp/index.php/chi
http://localhost/ezp/index.php/chi/node_69

When I port the website to <b>Godaddy</b> virtual host, the URLs become as following:

http://mydomain.com/index.php?/chi
http://mydomain.com/index.php?/chi/node_69

But anyway, it works. Why? Is it harmful to SEO? I didn't found the answer in the forum. Could somebody please tell me?

Thanks!
With best regards!

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

Carlos Revillo

Saturday 13 December 2008 6:19:49 am

I think this is because your xampp has php compiled as module and godaddy probably has php as cgi.

For the seo thing, some search spiders, some of them diesn't read anything after the ?. maybe google reads it but other could not. i'm not a seo expert at all, but you can read about in seo forums.

Anyway, i think you can avoid that index.php and index.php? from your url. just take a look at
http://ez.no/doc/ez_publish/technical_manual/4_0/installation/virtual_host_setup or do some search about "avoiding index.php" in this forum.

hope it helps.

Jianjun Hu

Saturday 13 December 2008 8:18:55 am

Hi, Carlos Revillo
Thanks for your reply!
I will try according to your suggestion.
Best regards!

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

Gaetano Giunta

Saturday 13 December 2008 9:16:30 am

fyi, google does not read anything after the "?", and afaik no serious other engine do. SO it would be a serious problem if you're looking for seo...

Principal Consultant International Business
Member of the Community Project Board

Tero Auralinna

Monday 15 December 2008 4:35:54 am

At least Google will index URLs with question mark. Though there might be some issues with complex URLs with parameters. But in this case there shouldn't be any problems with indexing. Although clean URLs are of course nicer.

More info about this in Google Webmaster Center
http://www.google.com/support/webmasters/bin/topic.py?topic=8522

NXC Finland - Open Source solutions, Internet marketing and web analytics
http://www.nxc.fi
http://www.auralinna.fi
http://twitter.com/teroauralinna