Announcement

Collapse
No announcement yet.

Redirecting from a deleted page

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Redirecting from a deleted page

    When I remove a product from my site would it be a good idea to re direct that now disused page to a similar page on my site? If so how is it done?

    Thanks

    www.thepenzone.co.uk

  • #2
    It's not really worth doing unless you have a lot of strong external links going to the disused page (and even then it's probably better to contact the link author and ask them to change where it points to).

    Make sure your 404 error page encourages visitors to click through into your website. This way anyone who does stumble across a deleted page gets a second chance to find something on your site.
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


    • #3
      Originally posted by Mike Hughes View Post
      Make sure your 404 error page encourages visitors to click through into your website. This way anyone who does stumble across a deleted page gets a second chance to find something on your site.
      How is this done?

      Comment


      • #4
        There's a good resource here https://www.lcn.com/blog/beginners-g...tom-404-pages/

        It includes the technical stuff with plenty of tips, advice and examples.

        I create a page in sellerdeck to use as it has all the navigation links, search function, etc.
        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

        -----------------------------------------

        Comment


        • #5
          Originally posted by Mantra View Post
          How is this done?
          Hi Martin,

          Take a look at one of our sites 404 page - we've got this layout across all of our 4u sites. Sections change based on the sites structure.

          https://www.castironradiators4u.co.uk/uk/404.html

          I would always 301 a removed product, to either a replacement product or its containing section. People bookmark, people pin to pinterest. all of these links will be clicked at some point - you never want to 404 a customer if possible.
          Matt. M - SMR Enterprises Ltd.

          Comment


          • #6
            Thank you Mike and Matt for your helpful comments, Martin

            Comment


            • #7
              Originally posted by MattSMR View Post

              Take a look at one of our sites 404 page - we've got this layout across all of our 4u sites. Sections change based on the sites structure.
              I had a go at setting this up with a new brochure page and fragment - see offline page preview below:

              Click image for larger version

Name:	404 PAGE NOT FOUND.jpg
Views:	2
Size:	294.7 KB
ID:	551342

              I have 2 question here:
              1. Is there a quick way to hide or blockout the link button produced in the left sidebar so as not to appear?
              2. How do I make the link to the contact action form when I have already used the URL link in the fragment back to the homepage?

              I would always 301 a removed product, to either a replacement product or its containing section. People bookmark, people pin to pinterest. all of these links will be clicked at some point - you never want to 404 a customer if possible.
              This leads me to a further question:
              3. To do this do I just need to add the 301 redirect lines to the acatalog ".htaccess.txt" file extract below and if so where would they go?
              Code:
              <FilesMatch "\.(fil|session|authorise|mail)$">
                  Order Allow,Deny
                  Deny from all
              </FilesMatch>
              Martin
              Mantra Audio

              Attached Files

              Comment


              • #8
                Hi Martin,



                1) sidebar, we have a true/false variable in a block if, simply called "hide from sidebar" - we just set this as we go along, makes it nice and easy

                2) put the link in the body of the fragment. Ensure you have enabled HTML content by wrapping your fragment content in the ACTINIC html tags -
                Code:
                !!< >!!
                - then simply build an anchor
                Code:
                <a href="/cgi-bin/mf000001.pl?ACTION=SHOWFORM">anchor</a>
                to link to contact us page.

                3) You need to enable RewriteEngine in your .htaccess, then write a line of 301 redirect, as below

                Redirect 301 OLDURL NEWURL
                Last edited by MattSMR; 16-May-2019, 01:29 PM. Reason: added more stuff.
                Matt. M - SMR Enterprises Ltd.

                Comment


                • #9
                  That's fine Matt, thanks I'll give it a go!
                  Martin

                  Comment

                  Working...
                  X