Author Topic: method of turning 404 errors into 301 redirects to the main page or sitemap  (Read 109 times)

Offline mortal

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Hi. after fiddeling with seo. some older urls have been indexed. and when for some reason someone finds that url. or the search engines does that. they are left with the 404 error and landing on a rather boring site.

do you know how to either use .htaccess or alter php files to prevent 404 errors on the site ?

example of url that have changed.​-her  has a 404 error

should just show or

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1692
  • Karma: +223/-10
  • web for all, all for web!
    • View Profile
    • AbanteCart
mmm... this url show me yuor site map
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Sam_78

  • Full Member
  • ***
  • Posts: 100
  • Karma: +15/-1
    • View Profile
On this note. How do I handle 404 via htaccess and redirect them to home page
lets say they open and some how they click I want to redirect them to home page after lets say 3 seconds or so Prom dresses 2018