If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member Sean Thompson's Avatar
    Join Date
    May 2012
    Member #

    Post How To 301 Redirect All Random Inner URLs to Home Page?

    I'm building some blog network sites in just pure html and I've only used wordpress in the past. I always used the wordpress plugin "link juice keeper" but now I need the same functionality on an html site.

    What I need is to be able to: automatically 301 redirect any random inner urls(that would be 404 errors) to the home page.

    Anybody know how to do this?

    Muchas gracias


  3. #2
    Senior Member sasha_bolcina's Avatar
    Join Date
    Sep 2014
    Member #
    47 times
    Are you using any server side programming for blog, like php?
    If not, you can use .htaccess file to redirect 404 error to home page.
    in .htaccess you can add line:
    ErrorDocument 404 /index.html

    replace "index.html" with the name of your starting page file name.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 04:07 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: