Forums / General / redirect of Old Web Pages
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 helpMark
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
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