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"
北京中信银行信用卡申请查询阜新市代办信用卡银联类信用卡招商银行hellokitty信用卡年费单币信用卡可以海淘吗北京中信银行信用卡申请查询交通银行信用卡网购算不算刷卡银联类信用卡信用卡怎么转账吗一年前征信有2可以办信用卡吗建行信用卡开通后能直接支钱吗北京中信银行信用卡申请查询华夏信用卡积分兑换年费建行信用卡开通后能直接支钱吗银联类信用卡一年前征信有2可以办信用卡吗台湾信用卡号大全单币信用卡可以海淘吗单币信用卡可以海淘吗工行芯片信用卡网银还信用卡多久到账中国银行信用卡哪几种信用卡怎么转账吗信用卡北京消费tenpay中信双币信用卡好吗多重返现 海淘就刷建行信用卡招商银行hellokitty信用卡年费这样才能办理20000元信用卡工行芯片信用卡华夏信用卡中心官网樱花落在玫瑰园里,一场伺机而动的较量即将开始。这是一本来自末日的旅行手札。 撕裂的天空、不详的辐射云、阳光已经彻底消失。这便是毁灭日之后的大地。 但在这末世之中,却有一对仿佛父女般的青年男子和小女孩匆匆赶路。 他们从何处来?又去向何方?他们苦苦寻觅的究竟是何物? 这一切无人可知。唯一能够确认的,只有他们穿行于弥漫于世的灾难,继续无尽的的旅程…… ※黑暗风末日小说,每两天更新一次,欢迎收藏※ “仗剑一长笑,出门游四方。十步杀一人,千里不留行。” 身背“玄武”宝剑,纵横华夏数千里。天下之术,皆为我用,终成一代武术宗师。心怀救国救民理想,匡扶正义,反清兴汉,无愧侠之大者。 浩瀚无边的天云大陆,万族化为五域,每域各修一部天道宝典,传说五部宝典合一,修炼至极致顶峰可证道道祖。在魂力世界中想要生存下去就要不断的学习新的法术一位家境贫寒的少年,经历了常人难以想象的苦难,磨砻砥砺,奋发向上。好不容易华丽转身,完成了人生意义上的大逆袭,一时平步青云,风光无限! 这期间,少年也先后得到了好几位绮年玉貌少女的青睐,演绎出许许多多荡气回肠,缠绵悱恻的爱情故事。其中的情与理,是与非,仇恨与挚爱,痛苦与欢乐,人性与心魔,交互编织成一道道直逼心灵拷问的风景,让人热血沸腾又扼腕长叹!为一诺,走遍九天十地,守一人,战至魂散魄灭,不屈,正是少年! 为情所动,因缘相聚,似世间多有不归人,半生,皆在途中! 纵使天赋非凡,却难逃命运坎坷,强者为尊的世界里,谁都,未敢回首! 爱他所爱,杀他该杀,男儿一世,枪断沧海,阵葬星云! 人生不止有眼前的苟且,仔细看,还有更远的...... 读者群:913285821以完美的道构建世界。 完美的道是正是邪、是善是恶?完美的世界又是怎样一番模样?修真界倒数第一的差班生,怎么在强者独尊的修真界中闯出一片天下?
仙键奇缘 建座地府当后宫 上古第一神之三界情爱 龙星纪元 大人,现在是妖灵时代 滕王阁前传 吹下晚风吧 武道寰宇 我在精神病院和死亡画押 往来夕 混沌书 我苟在末世 最强学渣自律逆袭记 转世成为拯救世界的工具人 重生之少年狂想 一身功夫闯校园 我爷爷是赵甲第 天心策 诸天冒险 系魂传 阜新市代办信用卡 一年前征信有2可以办信用卡吗 台湾信用卡号大全 单币信用卡可以海淘吗 阜新市代办信用卡 汽车货款哪种信用卡不 阜新办理信用卡 光大白金信用卡不开通收年费吗 汽车货款哪种信用卡不 华夏信用卡积分兑换年费 贷款信用卡一个月利息是多少 贷款信用卡一个月利息是多少 信用卡北京消费tenpay 一年前征信有2可以办信用卡吗 北京中信银行信用卡申请查询 中信双币信用卡好吗 信用卡空卡套现操作复杂吗? 多重返现 海淘就刷建行信用卡 交行新世界百货信用卡积分怎么用 银联类信用卡 申请好几张信用卡只下了1张 银联类信用卡 交行新世界百货信用卡积分怎么用 中国银行信用卡哪几种 工行信用卡副卡办理 工行信用卡审核流程 多重返现 海淘就刷建行信用卡 交行新世界百货信用卡积分怎么用 网银还信用卡多久到账 多重返现 海淘就刷建行信用卡 单币信用卡可以海淘吗 申请好几张信用卡只下了1张 招商银行hellokitty信用卡年费 北京中信银行信用卡申请查询 信用卡北京消费tenpay 中信双币信用卡好吗 招商银行hellokitty信用卡年费 阜新办理信用卡 信用卡北京消费tenpay 中行信用卡 京东 中信双币信用卡好吗 光大白金信用卡不开通收年费吗 工行芯片信用卡 信用卡空卡套现操作复杂吗? 建行信用卡开通后能直接支钱吗 申请好几张信用卡只下了1张 贷款信用卡一个月利息是多少 中信双币信用卡好吗 工行信用卡审核流程 交通银行信用卡网购算不算刷卡 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 须弥戒内 仙都至尊 逆生长空间 鲜为人知的的历史趣事 记生录 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 万利游戏官网 信用卡空卡套现操作复杂吗? 信用卡怎么转账吗 贷款信用卡一个月利息是多少 工行信用卡副卡办理 按揭的车子可以办信用卡吗 招商银行hellokitty信用卡年费 光大白金信用卡不开通收年费吗 华夏信用卡中心官网 光大白金信用卡不开通收年费吗 这样才能办理20000元信用卡 华夏信用卡积分兑换年费 阜新办理信用卡 多重返现 海淘就刷建行信用卡 申请好几张信用卡只下了1张 单币信用卡可以海淘吗 贷款信用卡一个月利息是多少 工行信用卡审核流程 北京中信银行信用卡申请查询 工行芯片信用卡 交行新世界百货信用卡积分怎么用 一年前征信有2可以办信用卡吗 华夏信用卡中心官网 北京中信银行信用卡申请查询 多重返现 海淘就刷建行信用卡 交行新世界百货信用卡积分怎么用 单币信用卡可以海淘吗 多重返现 海淘就刷建行信用卡 信用卡北京消费tenpay 招商银行hellokitty信用卡年费 信用卡北京消费tenpay