Automatic redirect not working after name changes

Author Message

Graham Tillotson

Thursday 21 May 2009 6:44:56 pm

I'm thinking the answer to this problem is obvious, but it has been a long day. Here is the situation:

I have a site on which many content objects have been renamed, and so eZ has generated URL aliases automatically. When I click on an old link I get the following message:


Object moved

The object is no longer available at this URL.

You should automatically be redirected to the new location. If not click "/section/my_new_url".

The link works, but the redirect is not automatic. Is this related to the eZ Publish configuration? Apache? Note that the site is using a static cache. Not sure if that matters. Version is 4.0.1.

Also note that the automatic redirect works on the admin siteaccess but not the user/published siteaccess.

Thanks,
Graham

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Graham Tillotson

Monday 01 June 2009 9:15:24 pm

Bumping this one. Cleaned up the vhost to take out anything uncommon, restarted Apache, and still the problem persists. Any NEW alias on the published site works fine. It is just the old/existing ones that stop and do not redirect.

Any ideas?

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

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 31 2025 01:14:42
Script start
Timing: Jan 31 2025 01:14:42
Module start 'layout'
Timing: Jan 31 2025 01:14:42
Module start 'content'
Timing: Jan 31 2025 01:14:42
Module end 'content'
Timing: Jan 31 2025 01:14:42
Script end

Main resources:

Total runtime0.0397 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.2656151.2266
Module start 'layout' 0.00530.0031 739.4922220.7344
Module start 'content' 0.00850.0295 960.2266997.9609
Module end 'content' 0.03800.0017 1,958.187529.9922
Script end 0.0397  1,988.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00266.5821140.0002
Check MTime0.00112.6480140.0001
Mysql Total
Database connection0.00081.889110.0008
Mysqli_queries0.00235.798030.0008
Looping result0.00000.027610.0000
Template Total0.00123.010.0012
Template load0.00092.217210.0009
Template processing0.00030.762510.0003
Override
Cache load0.00061.559710.0006
General
dbfile0.014235.793780.0018
String conversion0.00000.018640.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