Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,151,626 members, 7,813,058 topics. Date: Tuesday, 30 April 2024 at 05:57 AM |
Nairaland Forum / Science/Technology / Webmasters / How To Create A Custom 404 Error Page In Opencart (1286 Views)
Active 15k Likes Page In Exchange Of Two .com.ng Domain. / How To Reset The Admin Password In Opencart / How To Rename The Admin Folder In Opencart (2) (3) (4)
(1) (Reply)
How To Create A Custom 404 Error Page In Opencart by todhost(m): 11:58am On Dec 18, 2015 |
To create a custom 404 error page in OpenCart will mean that anyone attempting to access something inappropriately will be automatically re-directed to this page. It's best practice to provide links back to your store, in case someone reached this page in error. You can achieve this by simply creating a 404.html file in the root of your OpenCart store. You can use file manager to achieve this. Here's a simple sample 404.html page we have created: <html> <body> <p>The page you have requested does not exist. Please click on the link below to return to the store's home page:</p> <a href="/index.php">Return Home</a> </body> </html> You can follow this step-by-step- guide to create your own custom 404 error page in your OpenCart website. Log into cPanel Click on the File Manager icon Navigate to the root directory where you have installed your OpenCart shopping cart Click on new file in the upper left Name the file "404.html" Open the newly created file with the code editor Paste the code above into the file Click "save" That is all. Note that you can customize your custom message. Source: How to create a custom 404 error page in OpenCart https://www.todhost.com/knowledgebase/722/How-to-create-a-custom-404-error-page-in-OpenCart.html
|
(1) (Reply)
*Do You Have SKRILL, BITCOIN & NETELLER For SALE? We Have Money For You. Come In / Payoneer Users, How Do I Request For Gbp Card / Blogger Or Wordpress
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |