Forums / General / redirect of Old Web Pages

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

eZ debug

Timing: Jan 18 2025 18:37:05
Script start
Timing: Jan 18 2025 18:37:05
Module start 'content'
Timing: Jan 18 2025 18:37:06
Module end 'content'
Timing: Jan 18 2025 18:37:06
Script end

Main resources:

Total runtime0.8689 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.7031180.8438
Module start 'content' 0.00690.7176 768.5469581.0703
Module end 'content' 0.72450.1443 1,349.6172333.3828
Script end 0.8688  1,683.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4438210.0002
Check MTime0.00140.1666210.0001
Mysql Total
Database connection0.00090.103710.0009
Mysqli_queries0.797091.72811990.0040
Looping result0.00210.24071970.0000
Template Total0.839196.620.4195
Template load0.00200.235520.0010
Template processing0.837096.337520.4185
Template load and register function0.00020.025810.0002
states
state_id_array0.00110.127210.0011
state_identifier_array0.00120.133320.0006
Override
Cache load0.00170.1918250.0001
Sytem overhead
Fetch class attribute can translate value0.00190.222040.0005
Fetch class attribute name0.00120.136450.0002
XML
Image XML parsing0.00100.119940.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00260.2960260.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0009 secs