Technobezz

How To Fix Open Cart 404 Page not found error

In this article I will be teaching you guys how to resolved/fixed the irritating error that you being getting- Open Cart 404 Page not found error

Open Cart 404 Page not found error is caused by  a broken link or an undefined URL .

By Doing a little edit or adding a simple code to your .htaccess can do the trick and Fix Open Cart 404 Page not found error .

 How To Fix Open Cart 404 Page not found error

How To Fix Open Cart 404 Page not found error

OpenCart 404/ broken link error appears mostly on the product and category pages.I have seen incidence where people just installed a fresh copy of open cart and receiving the 404 page not found error on all pages associated

 

>Login to Your Web Hosting Control Panel

>Go To Your Root Directory

>Open and edit the .htaccess of your open cart installation

>To Fix Open Cart 404 Page not found error add these codes to your top of your .htaccess

add this code at the top

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch “.(tpl|ini|log)”>
Order deny,allow
Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base
RewriteRule ^download/(.*) /index.php?route=error/not_found
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1

 

Click save changes Refresh Your Home page and the error- Open Cart 404 Page not found will be gone

 

 

  You have just read How To Fix Open Cart 404 Page not found error

More on this topic

Leave a Reply

One Response

  1. Rizki Aditya February 16, 2015
Bioware Anthem
Everything we know about Bioware Anthem – Release Date, Features, Rumors and News
CD Projekt's Cyberpunk 2077 Mike Pondsmith
CD Projekt’s Cyberpunk 2077 Release Date, Features, Rumors and News
Apple iphone 9 2018
iPhone 2018 and iPhone 9: Release Date, Specifications, Features, Rumors and News
Apple iPhone X Plus
iPhone XL Release Date, Specs, Features, News and Rumors
Android Apple Gaming How To Internet iPhone Personal Computers Review Site review The Top Best
Bioware Anthem
Everything we know about Bioware Anthem – Release Date, Features, Rumors and News

Anthem is an action-packed role-playing game from Bioware, the developers of...

CD Projekt's Cyberpunk 2077 Mike Pondsmith
CD Projekt’s Cyberpunk 2077 Release Date, Features, Rumors and News

At the closure of the E3 press conference, the subtle hint...

Apple iphone 9 2018
iPhone 2018 and iPhone 9: Release Date, Specifications, Features, Rumors and News

Apple will be launching three new phones this September, but one...