Re: Migration of services - 1. web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux