Viewing Redirecting old pages to new EverWeb-designed

Redirecting old pages to new EverWeb-designed



User: Jon M. 6 years ago
I want to replace my old website with one redesigned in EverWeb. The new and the old version of the site will have the exact same urls on the different pages, and i am going to publish to the same webhost as before. Is there then any need to redirect the pages of the old one to the new one before publishing it on the net?

Maybe i will split up one of the old pages into two in the new design. If so, will it cause confution if I redirect the old one to both of the new ones?
User: Roddy 6 years ago
Redirects from old pages to new can only be inserted via the Page inspector if you publish to the EverWeb server.

If you need to redirect your old pages to the new ones you can insert a meta refresh tag in the head code of the old pages. You will need to open your old iWeb pages in an editor to do this and you can get the code HERE.

If your original site's files are published to the root folder on the sever and have the same file names everything should be OK. Just delete all the iWeb built pages and their associated files - or put them in a sub folder if you want to play safe - and upload the new ones.

NOTE: You should be aware of the fact that EverWeb converts page file names if you enter them incorrectly. It makes all the text lower case and replaces spaces with hyphens. If the old iWeb page names have any capital letters or spaces in them, then simply replacing the old pages with new ones won't work.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Jon M. 6 years ago
Thank you very much. I think your remark about spaces etc. is especially helpful, since it applies to one or two of my iWeb pages. I also thought that redirecting via the Page inspector would work anyway. Since i am going to publish to another webhost, this was also important, although I am uncertain about how to make a meta refresh tag.

Last edit 6 years ago
User: Roddy 6 years ago
The meta refresh code is on THIS page. The code is shown below ...

<meta http-equiv="refresh" content="0; url=http://example.com/page-name.html">

Replace - http://example.com/page-name.html - with the URL of the new page.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Jon M. 6 years ago
Thank you very much again.

i have one further question:
Here are the first lines of the <head> code of the Home (Capital letter!) page of my old site:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nb" lang="nb">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Generator" content="iWeb 3.0.4" />
<meta name="iWeb-Build" content="local-build-20170124" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="viewport" content="width=700" />

Should your ””refresh” content=”0; url…..” substitute what now appears after <meta http-equiv= , or should the refresh code be added after (or mabe before?) the present <meta http-equiv=…. code? ( As you will understand, I have no experience in html coding.)
User: Roddy 6 years ago
You can place it immediately after <head> since you want the browser to read it first and redirect the visitor to the new page.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.