How to Redirect 404 Links

Discussion in 'Blogging' started by trashtalk, Nov 4, 2016.

  1. trashtalk

    trashtalk Regular Member

    Joined:
    Nov 30, 2011
    Messages:
    491
    Likes Received:
    56
    Can someone please tell me how to Redirect a 404 Page into a new URL? My websites categories has been moved into a new url structures from domain.com/category into domain.com/category/subcat
    as most of my post are already indexed in google as domain.com/category and when i click the link its already 404. I want to redirect it into domain.com/category/subcat

    My website is on Wordpress and Hosted on Digital Ocean and i don't know how to redirect. Thanks in advance
     
  2. asap1

    asap1 BANNED BANNED

    Joined:
    Mar 25, 2013
    Messages:
    4,961
    Likes Received:
    3,191
    You should be able to find a plugin that lets you manually 301 urls.

    301 the old url to the new one.
     
  3. MuayThai

    MuayThai Jr. VIP Jr. VIP

    Joined:
    Aug 25, 2015
    Messages:
    778
    Likes Received:
    251
    Please read about .htaccess it really helps.
     
  4. trashtalk

    trashtalk Regular Member

    Joined:
    Nov 30, 2011
    Messages:
    491
    Likes Received:
    56
    someone told me it should be done in apache on digital ocean but i dunno how
     
  5. asap1

    asap1 BANNED BANNED

    Joined:
    Mar 25, 2013
    Messages:
    4,961
    Likes Received:
    3,191
    You can do it with a plugin. I think the plugin changes your .htaccess for the 301.
     
  6. Monsterer

    Monsterer Jr. VIP Jr. VIP

    Joined:
    Nov 26, 2015
    Messages:
    1,542
    Likes Received:
    276
    Gender:
    Male
  7. usama1993

    usama1993 BANNED BANNED

    Joined:
    Mar 23, 2016
    Messages:
    75
    Likes Received:
    5
    Gender:
    Male
    Wordpress has a variety of free plug ins. The plug in which I use called REDIRECT. Search this and install it and through this you can fix your problem.
     
  8. We Bring Rank

    We Bring Rank Jr. VIP Jr. VIP

    Joined:
    Aug 21, 2016
    Messages:
    857
    Likes Received:
    101
    Gender:
    Male
    Occupation:
    Digital Marketing Analyst
    Home Page: