Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 11-30-2013, 04:47 AM
qpoonline qpoonline is offline
Junior Member
 
Join Date: 11-26-13
Location: India
Posts: 37
iTrader: 0 / 0%
Redirect 404 to custom 404

Hi friends,
I am using magento on my e-commerce website and i want to to redirect 404 error to my custom 404 error page can anyone help me!!!!!

Last edited by J. H. Rasmussen; 11-30-2013 at 08:29 AM. Reason: Moved thread to Coding Forum.
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 11-30-2013, 05:53 PM
rtrethewey rtrethewey is offline
Junior Member
 
Join Date: 01-30-12
Posts: 9
iTrader: 0 / 0%
If you're on an Apache server, add an instruction like the following to your .htaccess file:
Code:
ErrorDocument 404 /custom404.html
If you're on a IIs or other server, you'll need to check the documentation for creating custom error documents.
 
Reply With Quote
  #3  
Old 12-01-2013, 11:38 PM
qpoonline qpoonline is offline
Junior Member
 
Join Date: 11-26-13
Location: India
Posts: 37
iTrader: 0 / 0%
Quote:
Originally Posted by rtrethewey View Post
If you're on an Apache server, add an instruction like the following to your .htaccess file:
Code:
ErrorDocument 404 /custom404.html
If you're on a IIs or other server, you'll need to check the documentation for creating custom error documents.
My cpanel isn't showing .htaccess file in home directory
 
Reply With Quote
  #4  
Old 12-02-2013, 06:13 AM
ScriptMan's Avatar
ScriptMan ScriptMan is offline
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 14,038
iTrader: 4 / 100%
Some hosts hide it from view. You can create a custom error page or redirect in cPanel.
 
Reply With Quote
  #5  
Old 12-02-2013, 06:42 AM
maxjeanes maxjeanes is offline
Contributing Member
 
Join Date: 11-27-13
Posts: 51
iTrader: 0 / 0%
If you're using cpanel, you should be able to contact your hosting company and ask them to set up the redirect for you. I'd be surprised if there wasn't an option in cpanel though.
 
Reply With Quote
  #6  
Old 12-18-2013, 09:44 PM
williamforrest williamforrest is offline
Contributing Member
 
Join Date: 12-01-13
Posts: 98
iTrader: 0 / 0%
You may read this tutorial in changing 404 page of Magento: inchoodotnet/ecommerce/magento/enhance-magento-404-page/
 
Reply With Quote
  #7  
Old 12-19-2013, 08:44 AM
jamialex873 jamialex873 is offline
Banned
 
Join Date: 12-19-13
Location: USA
Posts: 28
iTrader: 0 / 0%
if you are using cpanel select hidden file and then click on GO to view .htaccess.
 
Reply With Quote
  #8  
Old 12-21-2013, 12:28 PM
zOShelpForums zOShelpForums is offline
Banned
 
Join Date: 12-19-13
Posts: 63
iTrader: 0 / 0%
Quote:
Originally Posted by qpoonline View Post
Hi friends,
I am using magento on my e-commerce website and i want to to redirect 404 error to my custom 404 error page can anyone help me!!!!!
For magento -- In admin panel go to CMS > Manage Pages > 404 Page Not Found

You can edit the contents of the 404 page as you wish there.

Hope this helps.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to redirect blogspot blog url to custom domain sanusense Blogging Forum 10 01-01-2014 03:50 AM
Best way to handle mobile redirect with custom theme Stevebeans Blogging Forum 1 12-17-2011 06:11 AM
Help me redirect my blogspot url to my new custom domain dee_el07 Blogging Forum 3 09-12-2011 01:29 AM
Dilemma: "404" - custom errorpage or redirect to home? tjonnyc Google Forum 3 01-19-2011 05:38 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 01:25 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC