Hello. I have two domains set up. One for a wordpress blog, and one for a MODX site. On both of these, the 404 pages created in each aren’t showing up. Instead an ad for hostgator is displayed.
ERROR 404 - PAGE NOT FOUND
Oops! Looks like the page you’re looking for was moved or never existed.
Make sure you typed the correct URL or followed a valid link.
This site is hosted by HostGator!
Build your website today for 1 cent! Coupon code: "404PAGE"
CLICK HERE TO GET STARTED
Sorry to be a complete newb here but does anyone know how to disable this?
-
☆ A M B ☆
- 2,475 Posts
There may be something specific with HostGator... but... more likely, there is a file inside your document root named 404.html or similar. The way MODx’s .htaccess file works is that it forwards the page request to the MODx application ONLY IF the file doesn’t exist. If there’s a file by that name in your doc root, then the web server will just serve up that file.
I’m having this problem as well (on Hostgator). There is no 404.html in the root directory. htaccess file is the default put in place during install (ver 1.0.0)
Not sure what else to look at.
www.terrybarthdesign.com
Paulp
Thank you. This is interesting. I will contact Hostgator about this.. I have another site with where the modx generated error page works just fine and I haven’t hard coded an error page. Hmmm.
www.terrybarthdesign.com
Sorry, I meant to say I have another site on Hostgator where the MODx error page works just fine.
www.terrybarthdesign.com
Ahh right, never hosted with them to be honest but is there something in the settings of the hosting account ??
Edited post above
One more question before I get on the phone with hostgator. Does it matter if the domain has yet been transfered to this server? What about friendly URLs?
www.terrybarthdesign.com