redirect of Old Web Pages

Author Message

Mark Gilbert

Monday 18 October 2004 4:26:40 am

Hi

I have converted my web site to eZ Publish. I have searched the eZ site and have not found an answer, but I may have not searched on the right terms to find my answer.

I had a couple of pages that were very popular on my old site that I have added to the new eZ Publish site. Now I have a lot of traffic still comeing to certain URL's from the old site that I am not clear on how to redirect to the new eZ URL. For example I want to send traffic from

MyUrl.com/somepage.html

to

MyUrl.com/somepage/

I have tried working with the URL Translartor and URL Manageer without success. It does not like the "HTML" extension.

I am using eZ Publish 3.4.1

Thank you for your help
Mark

bisk

Monday 18 October 2004 5:39:45 am

You could set some redirects in a .htaccess file:

Redirect /somepage.html http://myurl.com/somepage/

I'm sure there are more ways, try google.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Mark Gilbert

Monday 18 October 2004 8:18:18 pm

I tried this approach and it did not work for me.

I even tried to put the redirect directly into the http.cong file. Did not work. I tried it with and without the "permanent" setting. I restarted Apache and it did not fly. Everything else worked. But the redirect did not work.

Any ideas??

Mark Marsiglio

Thursday 21 October 2004 7:10:11 am

Did you try the URL Translator in the admin/set up tab? You can set up URL aliases from any entered URL to any node in your eZ site. I have only tried it with folders, but I don't think it would be a problem to use html files...

If that does not work, you can add an HTML page that uses some javascript redirect code to get them to the new page.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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

Main resources:

Total runtime0.0360 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.0219 589.3359152.6250
Module start 'layout' 0.02190.0043 741.960939.4453
Module start 'content' 0.02620.0075 781.406389.4141
Module end 'content' 0.03370.0023 870.820334.3047
Script end 0.0360  905.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00287.6764140.0002
Check MTime0.00113.1242140.0001
Mysql Total
Database connection0.006718.460410.0067
Mysqli_queries0.006117.052830.0020
Looping result0.00000.083410.0000
Template Total0.00185.010.0018
Template load0.00102.775410.0010
Template processing0.00082.190410.0008
Override
Cache load0.00061.748410.0006
General
dbfile0.00030.725380.0000
String conversion0.00000.034440.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