ERROR 404 - PAGE NOT FOUND

Why am I seeing this page?

404 means the file is not found. If you have already uploaded the file then the name may be misspelled or it is in a different folder.

Other Possible Causes

You may get a 404 error for images because you have Hot Link Protection turned on and the domain is not on the list of authorized domains.

If you go to your temporary url (http://ip/~username/) and get this error, there maybe a problem with the rule set stored in an .htaccess file. You can try renaming that file to .htaccess-backup and refreshing the site to see if that resolves the issue.

It is also possible that you have inadvertently deleted your document root or the your account may need to be recreated. Either way, please contact HostGator immediately via phone or live chat so we can diagnose the problem.

Are you using WordPress? See the Section on 404 errors after clicking a link in WordPress.

How to find the correct spelling and folder

Missing or Broken Files

When you get a 404 error be sure to check the URL that you are attempting to use in your browser.This tells the server what resource it should attempt to request.

http://example.com/example/Example/help.html

In this example the file must be in public_html/example/Example/

Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity example and Example are not the same locations.

For addon domains, the file must be in public_html/addondomain.com/example/Example/ and the names are case-sensitive.

Broken Image

When you have a missing image on your site you may see a box on your page with with a red X where the image is missing. Right click on the X and choose Properties. The properties will tell you the path and file name that cannot be found.

This varies by browser, if you do not see a box on your page with a red X try right clicking on the page, then select View Page Info, and goto the Media Tab.

http://example.com/images/banner.PNG

In this example the image file must be in public_html/images/

Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity PNG and png are not the same locations.

404 Errors After Clicking WordPress Links

When working with WordPress, 404 Page Not Found errors can often occur when a new theme has been activated or when the rewrite rules in the .htaccess file have been altered.

When you encounter a 404 error in WordPress, you have two options for correcting it.

Option 1: Correct the Permalinks

  1. Log in to WordPress.
  2. From the left-hand navigation menu in WordPress, click Settings > Permalinks (Note the current setting. If you are using a custom structure, copy or save the custom structure somewhere.)
  3. Select  Default.
  4. Click Save Settings.
  5. Change the settings back to the previous configuration (before you selected Default). Put the custom structure back if you had one.
  6. Click Save Settings.

This will reset the permalinks and fix the issue in many cases. If this doesn't work, you may need to edit your .htaccess file directly.

Option 2: Modify the .htaccess File

Add the following snippet of code to the top of your .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# End WordPress

If your blog is showing the wrong domain name in links, redirecting to another site, or is missing images and style, these are all usually related to the same problem: you have the wrong domain name configured in your WordPress blog.

How to modify your .htaccess file

The .htaccess file contains directives (instructions) that tell the server how to behave in certain scenarios and directly affect how your website functions.

Redirects and rewriting URLs are two very common directives found in a .htaccess file, and many scripts such as WordPress, Drupal, Joomla and Magento add directives to the .htaccess so those scripts can function.

It is possible that you may need to edit the .htaccess file at some point, for various reasons.This section covers how to edit the file in cPanel, but not what may need to be changed.(You may need to consult other articles and resources for that information.)

There are Many Ways to Edit a .htaccess File

  • Edit the file on your computer and upload it to the server via FTP
  • Use an FTP program's Edit Mode
  • Use SSH and a text editor
  • Use the File Manager in cPanel

The easiest way to edit a .htaccess file for most people is through the File Manager in cPanel.

How to Edit .htaccess files in cPanel's File Manager

Before you do anything, it is suggested that you backup your website so that you can revert back to a previous version if something goes wrong.

Open the File Manager

  1. Log into cPanel.
  2. In the Files section, click on the File Manager icon.
  3. Check the box for Document Root for and select the domain name you wish to access from the drop-down menu.
  4. Make sure Show Hidden Files (dotfiles)" is checked.
  5. Click Go. The File Manager will open in a new tab or window.
  6. Look for the .htaccess file in the list of files. You may need to scroll to find it.

To Edit the .htaccess File

  1. Right click on the .htaccess file and click Code Edit from the menu. Alternatively, you can click on the icon for the .htaccess file and then click on the Code Editor icon at the top of the page.
  2. A dialogue box may appear asking you about encoding. Just click Edit to continue. The editor will open in a new window.
  3. Edit the file as needed.
  4. Click Save Changes in the upper right hand corner when done. The changes will be saved.
  5. Test your website to make sure your changes were successfully saved. If not, correct the error or revert back to the previous version until your site works again.
  6. Once complete, you can click Close to close the File Manager window.
This site is hosted by HostGator!
Build your website today and get 20% off! Coupon code: "OFFER404"
广发掌上开户能激活信用卡吗别人办信用卡用我的电话号码广发掌上开户能激活信用卡吗兴业能跨行办光大信用卡吗交行网上申请信用卡中信信用卡一直在审核中是过了吗上海兴业银行信用卡中心浦发信用卡逾期三个月支付宝还信用卡支持哪些银行有平安信用卡就是平安vip信用卡没到手推销商品却到了广发掌上开户能激活信用卡吗建行信用卡专项预授信欠信用卡1万多会被判刑吗浦发信用卡逾期三个月有平安信用卡就是平安vip信用卡声明书建设银行信用卡风险建设银行信用卡风险光大信用卡普卡和金卡的区别光大银行信用卡电话人工服务建设银行信用卡风险支付宝还信用卡支持哪些银行哪个银行的苏通联名信用卡交行网上申请信用卡信用社办理信用卡兴业能跨行办光大信用卡吗哪个银行的苏通联名信用卡光大信用卡普卡和金卡的区别建行信用卡专项预授信咯做尼同学“我本无名,只能叫无名了。在我心中,若失去冒险精神就失去了人生意义,那种热血沸腾的感觉真是让我欲罢不能!” 神秘少年获得与所在世界格格不入的力量,由于好奇心的驱使让他四处冒险,奇遇连连,随着身体与武器接连产生异变,他那恐怖的身份以及武器的归属渐渐有了答案……一个从地球重生在异界大陆的小人物,获得了一个神界宗派神级系统,后来才知道,系统其实是一个先天神器的器灵,意外从神界通过空间乱流漂流到地球,砸中地球司马轩带着他穿越到天印大陆。、收神体弟子,降妖除魔。从修真界,到仙界,再到神界、从此开启了一个不一样的人生。是做上天的宠儿,自出生那一刻起就受苍天庇佑?还是夺天造化,逆天而行,踏出一条无法回头的道路? “究竟何为巅峰?” 九百年前,玄荒帝尊第一次对这片天地产生了怀疑。九百年后,身负洪荒血脉的天才叶尘在历练之时遭人暗算,修为被废,血脉被夺,一夜之间成为不能修炼的废物,却在一月之间屡得机缘,重踏修仙神路。 “与天斗,当真是其乐无穷……” 且看废柴少年叶尘踏上逆天之路,一步步拨开笼罩在仙武大陆上的那片迷雾…… 穿越到异世界的浩,成神之后还是想回到地球,于是在一年后,又回到自己成神之前的世界,下界之后虽然被掌管者封印了实力,却被告知这个世界有他想要的东西。可惜天上一天,地下十年,这个世界已经天翻地覆,于是浩又开始他的日常修真之旅。少年张玄某一天偶获异能从此改变了他平凡的人生. 能够轻易撕裂敌人的利爪 一拳轰爆坦克的能量锤 自由翱翔在天空的滑翔 轻易摧毁飞机的鞭拳头 ...各种异能让他成就非凡! 让我们来看张玄如何收服众美女完美逆袭一剑封神,一剑开天!清末民初是个动荡不安的年代,同样也是英雄辈出的年代。李氏家族由无到有,由兴盛再到衰落,时间鉴证了这一切。他们不屈不挠,拼搏奋斗的精神,将永远激励我们不断前行。威武华夏!十年前,滨海第一大家族林家一夜之间被灭族,唯一幸存者林玄被一路追杀,所幸危急时刻被一个小女孩救下,北上逃难。 十年后,林玄成为一代王者,但却在加冕当天卸下王冠,回到滨海......祝南穿越异世,发现自己竟然能看到未来。 于是……祝南你为什么说我要说的话?你是我肚子里的蛔虫吗? 祝南你为什么知道我的事? 抱歉抱歉,祝南表示自己可是神算子。
一念道沉 济世医侠 从学园开始当主神 情的那段殇 溯仙记 傲世,修罗神 天下第一炼器师 末世,但是主角是苦逼 超级逆袭赘婿 永恒帝师 不正常式生活 重生之探索苍罗大地的边界 废土之辉 八符 诸神将临:我有斩神模拟器 文明四部曲 跨越时间与你闯入同一次元 仙踪谜雾 系统有点嗨 魔祖出世,诸神避让 信用卡充钱能增加境外额度吗 信用卡代刷代还监管力度够吗? 信用卡声明书 建设银行信用卡风险 信用卡充钱能增加境外额度吗 预授信额度信用卡 兴业银行信用卡中心登录 建设信用卡 注销 信用社办理信用卡 建行信用卡专项预授信 支付宝还信用卡支持哪些银行 哈尔滨银行大额信用卡 交通信用卡金卡和普卡的区别对待 有平安信用卡就是平安vip 中信信用卡一直在审核中是过了吗 交行网上申请信用卡 兴业银行信用卡中心登录 信用社办理信用卡 光大银行信用卡电话人工服务 广发掌上开户能激活信用卡吗 信用卡代刷代还监管力度够吗? 浦发信用卡逾期三个月 别人办信用卡用我的电话号码 欠信用卡1万多会被判刑吗 有平安信用卡就是平安vip 交通信用卡金卡和普卡的区别对待 信用社办理信用卡 别人办信用卡用我的电话号码 光大银行信用卡电话人工服务 信用社办理信用卡 交行网上申请信用卡 信用卡代刷代还监管力度够吗? 信用卡可直接提现吗 广发掌上开户能激活信用卡吗 哪个银行的苏通联名信用卡 交行网上申请信用卡 信用卡可直接提现吗 信用卡声明书 交通信用卡金卡和普卡的区别对待 浦发信用卡逾期三个月 兴业能跨行办光大信用卡吗 建设银行公积金信用卡 信用卡没还完可以贷款买房吗 哈尔滨银行大额信用卡 欠信用卡1万多会被判刑吗 信用卡代刷代还监管力度够吗? 哈尔滨银行大额信用卡 兴业能跨行办光大信用卡吗 光大信用卡普卡和金卡的区别 上海兴业银行信用卡中心 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 乡村赘婿神医 9527重生之问鼎天下 一个月过完这一生 我有一座天道馆 规则碎片 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 信用卡没到手推销商品却到了 光大银行信用卡电话人工服务 信用卡代刷代还监管力度够吗? 建设银行公积金信用卡 建行信用卡消费贷款 建行信用卡专项预授信 有平安信用卡就是平安vip 上海兴业银行信用卡中心 浦发信用卡逾期三个月 哪个银行的苏通联名信用卡 信用卡可直接提现吗 兴业银行信用卡中心登录 兴业银行办信用卡需要什么 哈尔滨银行大额信用卡 哪个银行的苏通联名信用卡 建行信用卡消费贷款 哈尔滨银行大额信用卡 有平安信用卡就是平安vip 支付宝还信用卡支持哪些银行 信用卡充钱能增加境外额度吗 中信信用卡一直在审核中是过了吗 信用卡充钱能增加境外额度吗 建行信用卡消费贷款 预授信额度信用卡 建设银行公积金信用卡 上海兴业银行信用卡中心 兴业银行办信用卡需要什么 光大信用卡普卡和金卡的区别 信用社办理信用卡 光大信用卡普卡和金卡的区别