safeairone Posted May 7, 2010 Share Posted May 7, 2010 I'm running osCommerce v2.2 RC2 through HostGator hosting. How can I change from the default HostGator 404 page to a customized 404 page? HostGator tech support chat person said to just add " ErrorDocument 404 /index.php " to the top of the .htaccess file (I originally asked about redirecting to my homepage). Even doing this, I still got the HostGator default 404 page and wasn't redirected to my site's homepage. Link to comment Share on other sites More sharing options...
eprogrammer Posted May 16, 2010 Share Posted May 16, 2010 Is it sorted or not yet. Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted May 16, 2010 Share Posted May 16, 2010 I believe with hostgator they have an area on the admin panel where you can design a personal 404 and other error pages in a text editor. If I remember correctly is creates an .shtml page which you can download and edit and replace. HTH G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Collines Posted May 16, 2010 Share Posted May 16, 2010 Create you custom 404 page and then add one of these lines to .htaccess in the root folder. ErrorDocument 404 http://www.yourdomain.com/custom404.htm or ErrorDocument 404 /custom404.htm Change 'custom404.htm to whatever you call your custom page. This works on most servers. Link to comment Share on other sites More sharing options...
♥toyicebear Posted May 16, 2010 Share Posted May 16, 2010 Custom Error 404 Page for osCommerce Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.