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

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 30 2025 21:46:43
Script start
Timing: Jan 30 2025 21:46:43
Module start 'layout'
Timing: Jan 30 2025 21:46:43
Module start 'content'
Timing: Jan 30 2025 21:46:43
Module end 'content'
Timing: Jan 30 2025 21:46:43
Script end

Main resources:

Total runtime0.0249 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.0234151.1953
Module start 'layout' 0.00550.0040 739.2188220.6563
Module start 'content' 0.00950.0137 959.87501,001.8672
Module end 'content' 0.02320.0017 1,961.742237.9922
Script end 0.0249  1,999.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.5597140.0002
Check MTime0.00124.6870140.0001
Mysql Total
Database connection0.00093.647810.0009
Mysqli_queries0.00249.447830.0008
Looping result0.00000.124410.0000
Template Total0.00124.810.0012
Template load0.00103.828710.0010
Template processing0.00020.982810.0002
Override
Cache load0.00062.592310.0006
General
dbfile0.00031.234480.0000
String conversion0.00000.040240.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