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"
东莞石碣崇焕中学地址电话芙蓉快运电话号码临沂卫生局电话号码均禾街石马村代加煤气电话双山邮局快递的电话是多少东莞石碣崇焕中学地址电话宜昌市优速快递电话临沂卫生局电话号码大连西岗区中通快递电话江苏沛县安国镇计划生育地址电话番禺区大南路邮局电话临沂卫生局电话号码百世汇通宜昌市电话番禺区大南路邮局电话广州市邮政局聚德速递配送站电话江苏沛县安国镇计划生育地址电话沛县韵达快递电话号码新造邮政局电话新造邮政局电话无为泉塘镇派出所电话号码大连韵达电话新造邮政局电话大连西岗区中通快递电话甘谷圆通快递电话号码双山邮局快递的电话是多少丹徒区高资镇自来水报修电话临沧市南伞镇宾馆电话甘谷圆通快递电话号码无为泉塘镇派出所电话号码百世汇通宜昌市电话历史给人的唯一教训就是人们从未在历史中吸取过任何教训!!!此书算是一个草稿,重新写作,还未发布,敬请期待天生阴命,25岁我开启了阴体,可见鬼神,可伤鬼神,是阎王爷派来凡间受罚的鬼差,在我眼中,蛇虫鼠蚁,花鸟鱼虫皆是鬼怪,冥冥中,一切皆由因果起,一切皆由因果灭,鬼怪之争惊天动地,且看我如何化解…… 来自数百年后的特种兵王,穿越成为和自己名字同音的晚明皇帝天启身上。 狙建奴,收日韩,木匠皇帝?不,工匠皇帝!大国工业自明而始! 铁血皇明,平推世界!石小方是个很方正死板的人,说了不能妥协就是不能,说了不能少泡一个就是不能,一直以自己所能想到的各种无耻借口做着方正而死板的自己。但是现在的他很方,他只是个打算如方石一般横扫过人生这个终将有终点的大滑坡,怎么突然就告诉他,这个滑坡之下,是修真界这片汪洋大海呢? 俗世百年,我的钱呢?我的妞呢?我的七情六欲,你一片海就要我全丢了,去做你的定海神石?想得美呢吧老头子们!所有人都当我是一条狗,一个连老婆孩子都守不住的废物,直到有一天,我拔出了刀……江边夜里,爷爷将我捡来,取名江夜。 我本以为自己就是一个孤儿,却不曾想十八岁那年,身边开始怪事频频…… 我没有想过,江边飘来的红木棺材,改变了我的一生…… 我更没有想过,这辈子会和一口棺材纠缠不清……小人物阿云,痛并快乐的人生历程,学校生活的是是非非……被囚禁在黑暗的囚笼里无数个日夜,却在机缘巧合之下签订契约成为了一名调查员,从此便开始了在古神的眼皮子底下偷东西,被腐败的教徒追着打,等等等等的作死之旅是一个充满在神秘色彩中的反正义跨国杀手组织,故事由一起轰动全国的庞大组织杀人案的曝光引发,反正义和正义与之抗衡。
真我传之尘间旧事 居易的诗集 老陈回忆录 龙神之争又名龙神重生归来 朝泗镇怪谈 云慕月 我成为道士以后 禁欲森林 靠改写命运线,纵横九洲 宇宙星河之地平线下 开局,我以登临巅峰 影视:我有一扇穿梭门 仙帝重生:反派女帝竟想做岳母 诡秘降临:我在港综世界学斩神 真我传之尘间旧事 改香传 开局女主要回去相亲 重返1995 一曲广陵断肠人 神魔偃骨刺 云霄县陈岱镇公安局举报电话 江阴周庄京东快递电话 沛县韵达快递电话号码 双山邮局快递的电话是多少 云霄县陈岱镇公安局举报电话 镇江润州区邮政快递电话 沛县韵达快递电话号码 海伦农场电话 丹徒区高资镇自来水报修电话 新化县内的电话号码 大连西岗区中通快递电话 辽宁科技大学韵达快递电话 通圆快递的电话 江阴周庄京东快递电话 东莞石碣崇焕中学地址电话 双山邮局快递的电话是多少 兰山区沂州路卫生防疫站电话 丹徒区高资镇自来水报修电话 申通快递电话登沙河 临沂卫生局电话号码 江阴周庄京东快递电话 广州市邮政局聚德速递配送站电话 芙蓉快运电话号码 番禺区大南路邮局电话 江苏沛县安国镇计划生育地址电话 通圆快递的电话 丹徒区高资镇自来水报修电话 芙蓉快运电话号码 申通快递电话登沙河 丹徒区高资镇自来水报修电话 双山邮局快递的电话是多少 河南禹州举报电话号码大全 均禾街石马村代加煤气电话 东莞石碣崇焕中学地址电话 甘谷圆通快递电话号码 双山邮局快递的电话是多少 均禾街石马村代加煤气电话 沛县韵达快递电话号码 通圆快递的电话 广州市邮政局聚德速递配送站电话 临沧市南伞镇宾馆电话 新化县内的电话号码 泉塘派出所电话号码 兰山区沂州路卫生防疫站电话 番禺区大南路邮局电话 江阴周庄京东快递电话 辽宁科技大学韵达快递电话 临沧市南伞镇宾馆电话 通圆快递的电话 宜昌市优速快递电话 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 我若成魔诛神灭佛 异界奇遇录 重生:开局就无敌了 南派盗墓笔记 王者荣耀之我们是冠军 亚星官网 万利官网 欧博游戏官网 亚星官网 葡京官网 泉塘派出所电话号码 新化县内的电话号码 申通快递电话登沙河 丹徒区高资镇自来水报修电话 芙蓉快运电话号码 宜昌市优速快递电话 均禾街石马村代加煤气电话 番禺区大南路邮局电话 沛县韵达快递电话号码 兰山区沂州路卫生防疫站电话 宜昌市优速快递电话 泉塘派出所电话号码 兰山区沂州路卫生防疫站电话 大连韵达电话 通圆快递的电话 新化县内的电话号码 江苏沛县安国镇计划生育地址电话 芙蓉快运电话号码 临沂卫生局电话号码 临沧市南伞镇宾馆电话 均禾街石马村代加煤气电话 镇江润州区邮政快递电话 百世汇通宜昌市电话 兰山区沂州路卫生防疫站电话 临沧市南伞镇宾馆电话 通圆快递的电话 甘谷圆通快递电话号码 江阴周庄京东快递电话 通圆快递的电话 东莞石碣崇焕中学地址电话