Path

ez projects / xrowmetadata / forum / general / suggest adding configuratio... / re: suggest adding configur...


Suggest adding configuration directive in configuration

You need to be logged in to post messages in the forums. New users may register here.

Cavin Deng

Member since:
03 August 2010

Posts: 3

Wednesday 20 October 2010 5:59:36 am

For my current on going projects. I installed xrowmetadata extension, it's pretty nice extension for google sitemap.

And in my projects, some projects use 'index.php' in url, and some not (Please forgive us, we are going to setup a standard process for it already.).
But with xrowmetadata extension, it can only generate url like
http://www.example.com/eng/about
and cann't add 'index.php' after the hostname. like
http://www.example.com/index.php/eng/about

Actually, we need them both, since some projects strip 'index.php', some not.
So, i guess it is good to add a directive in googlesitemaps.ini.append.php like
[SiteMapSettings]
GenerateUrlWithIndexPhp=false

and by default it is disabled, means it will not generate index.php in url. If we turn it on, we should append index.php in the url.

I check the code in generate.php in line 146.



$url = 'http://' . $domain .'/'. $language["siteaccess"] . $url;



It should append 'index.php' if GenerateUrlWithIndexPhp=true, like below:



$url = 'http://' . $domain .'/index.php/'. $language["siteaccess"] . $url;




Thanks, i really appreciated you guys implementing this extension
Up

Björn Dieding@xrow.de

Member since:
07 March 2003

Posts: 47

Thursday 01 December 2011 1:30:03 pm

Such setting is not needed since eZ would/should know all that. A proper bug fix is need for those setups.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Up

You need to be logged in to post messages in the forums. New users may register here.