Redirection for static site

Discussion in 'White Hat SEO' started by Mayur Pahuja, Jul 24, 2016.

  1. Mayur Pahuja

    Mayur Pahuja Junior Member

    Joined:
    Jun 23, 2016
    Messages:
    103
    Likes Received:
    9
    Gender:
    Male
    Hi,
    I want to know that if some clicks the page and that page is not available so it shows 404 error
    but what I want is to redirect to related or other page automatically
    with the message that page is not available
    is it possible ?
     
  2. davids355

    davids355 Moderator Staff Member Moderator Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    12,267
    Likes Received:
    10,300
    Location:
    Scotland
    Home Page:
    Why don't you add some code on your 404 page that shows popular pages. That would be sensible way.

    You could also make a script that will Taylor the links based on text in the URL that the person had entered.
     
  3. RuthSam

    RuthSam Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 19, 2010
    Messages:
    3,817
    Likes Received:
    983
    Gender:
    Male
    Home Page:
    There are many scripts out there. If you use WP you can even downl. a plugin that can deal with all of it.
     
  4. Mayur Pahuja

    Mayur Pahuja Junior Member

    Joined:
    Jun 23, 2016
    Messages:
    103
    Likes Received:
    9
    Gender:
    Male
    Actually I dont have 404 page
    I didnt made, server automatically shows 404 error for me
    I dont have .htaccess too never required
     
  5. Mayur Pahuja

    Mayur Pahuja Junior Member

    Joined:
    Jun 23, 2016
    Messages:
    103
    Likes Received:
    9
    Gender:
    Male
    Hi I dont use any platform, I use static pages, not using any blogging system just normal webpages