Share » Forums » Developer » PathPrefix

PathPrefix

PathPrefix

Thursday 28 July 2005 5:14:39 am - 5 replies

Author Message

Łukasz Serwatka

Wednesday 03 August 2005 2:18:40 am

Hi Luc,

Path prefix works correct in 3.6 distro. Example of useage path prefix you will find in this doc:

http://ez.no/products/ez_publish_cms/documentation/configuration/configuration/path_prefix

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Luc Chase

Wednesday 03 August 2005 5:43:10 am

Luke,
for some reason, it doesn't work on one of my sites (the latest). I only implemented the PathPrefix after most of the content was created. Could that cause a problem?
I notice that with no PathPrefix setting both of these URLs work...
http://myDomain.com/siteName/press
http://myDomain.com/press

both work even though there is no PathPrefix and all the links on the site include the 'siteName' portion of the URL.
If I then add a PathPrefix=siteName
all the links omit 'siteName' and are then also shortened at the front by len('siteName') and don't work.

Seems to me that something (perhaps in the template compilation or the cache) is not getting cleared properly.

I'm using 3.6.0 perhaps I should move to 3.6.1

The Web Application Service Provider

Łukasz Serwatka

Wednesday 03 August 2005 5:45:36 am

In your case siteName is siteaccess name or folder name?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Luc Chase

Wednesday 03 August 2005 9:55:30 am

siteName = siteaccess

e.g. 'plain'

The Web Application Service Provider

Luc Chase

Friday 05 August 2005 9:31:21 am

I upgraded to 3.6.1, cleared all cache, re-compiled all templates and removed PathPrefix setting...
now the siteaccess name is gone, so no loger need to use PathPrefix.

The Web Application Service Provider

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu