trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2020

[trinity-users] Re: Migration of services - 1. web server

From: Michael via tde-users <ml-migration-agent@...>
Date: Thu, 17 Sep 2020 17:35:25 -0500
On Thursday 17 September 2020 05:14:23 pm William Morder via tde-users wrote:
> However, it occurs to me that we might want to preserve an archived 
> version of the old pages, at least for a while, until the new pages
> supersede them completely.

Usually you just foward the old URL to the new URL.  Either through .htaccess, 
which Google likes best:

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteBase /
  RewriteRule ^my-old-page.html$ new-page.html [R=301,L]
</IfModule>

Or use an HTML header entry on the old page:

<HTML>
  <HEAD>
    <META HTTP-EQUIV="refresh" CONTENT="1; 
url=http://example.com/new-page.html">
    <SCRIPT TYPE="text/javascript">
        window.location.href = "http://example.com/new-page.html"
    </SCRIPT>
  </HEAD>
  <BODY>
{snip}

Contact me directly whoever's doing the changes if you need/want help.

Best,
Michael
____________________________________________________
tde-users mailing list -- users@...
To unsubscribe send an email to users-leave@...
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@...