Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Thanks for the clarifying comment.</p> <p>In answer to your two questions, I'd say:</p> <ol> <li><p>Yes, 301 is the correct response to give. This will say that the old page was moved permanently, and will redirect the user to the interstitial page with the links.</p></li> <li><p>You can accomplish this by adding a line to the <a href="http://httpd.apache.org/docs/2.2/howto/htaccess.html" rel="nofollow">.htaccess</a> file in the directory that the old single page was once in (assuming you keep the new page there too). Or you can add a line to your main <a href="http://httpd.apache.org/docs/2.2/configuring.html" rel="nofollow">httpd.conf file</a>. The lines would look like this:</p></li> </ol> <p>.htaccess</p> <pre><code>Redirect 301 ./old_page.html ./new_interstitial_page.html </code></pre> <p>httpd.conf</p> <pre><code>Redirect 301 /path/to/old_page.html /path/to/new_interstitial_page.html </code></pre> <p><strong>EDIT :</strong> Without any more context, this really does sound like a redirect scenario. In HTTP terms, the "resource" that was once available at the old location is now available (albeit in parts) at a new location, so you would "redirect" the client to the new location or to the interstitial page.</p> <p>But if that doesn't seem right to you, you can try a "410 Gone". This says that the resource no longer exists at all, and instead directs the client to an error page. You can then customize the error page to contain links to Page A and Page B. Your .htaccess would look something like this:</p> <pre><code># Enable URL matching and match the old page with "Gone" (G), "Last rule" (L) &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteRule ^oldPage.html$ - [G,L] &lt;/IfModule&gt; # Special 410 page with links to Page A and Page B ErrorDocument 410 /path/to/custom/410-page.html </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload