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"
狗狗皮肤有小疙瘩狗狗排尿量少尿滴狗狗皮下打针部位图解狗狗前腿长个肉疙瘩狗狗前腿关节处凸起狗狗皮肤有小疙瘩狗狗一直吐舌头舔狗狗皮下打针部位图解狗狗呕吐发抖精神不振狗狗一年了胆小怎么办狗狗要坐又坐不下去了狗狗皮肤有小疙瘩狗狗一直拉血会死吗狗狗要坐又坐不下去了狗狗皮下打针部位图解狗狗一年了胆小怎么办狗狗衣服 冬装制作狗狗前腿关节弯曲狗狗前腿关节弯曲狗狗皮肤上好多硬皮屑狗狗呕吐喝醋可以么狗狗前腿破了怎么处理狗狗呕吐 食物不消化狗狗皮肤干燥可以用精油吗狗狗前腿关节处凸起狗狗皮肤擦伤用金霉素狗狗前腿长个肉疙瘩狗狗皮肤发红发紫狗狗皮肤结痂 有脓包狗狗一直拉血会死吗牛头人酋长,名字被人用了可恶 用心读书,慢慢打字,饱读经书,不会抬棺...抬杠 淦,连牛头不对马嘴的作品名都被用了?!十年前不知情的星宸被父母遗弃,成为弃子。 十年后王者归来寻找想要寻找遗失的温馨,却被父母冷落,哥哥嫌弃,最终再次成为弃子。 弃子已成龙,看他如何找寻真相,识破阴谋,完成复仇。 一夜之间,世界遭逢巨变,本是平民百姓的你,却意外拥有了罕见的异能......论剑道,他已剑意凝魂;论天资,他解人魔不和之体;论实力,他一人一剑一法一道杀尽世间之敌; 人魔共体的他被人魔所弃,魔族高贵的魔族公主,桀骜的人族太子,他又将何去何从……杨涛是一个天才高中生,他能否顺利杀入NBA呢?罗凯穿越到异界大陆,获得一套魔宗铠甲,而这个世界是由各派斗者组成的大陆,铠甲并不是这个世界的关注点,然而罗凯却靠着铠甲走上冒险之路。他经受了一次次灾难险情的磨砺,意外修成了一些神奇的本领,却不知由来。他如同脱胎换骨一般,斩妖除害,从一个普通人成为功高盖世的战神。“如果说我甘于平凡,那我的心定然蹉跎。” “强大力量不是绝对,但定是最高级的话语权” 人生若有重来时,自当以我为青天。 少年许临生于东陵,立誓平山海,与漫天神魔相争、诸天仙佛相斗的故事。遭遇背叛能够保持心态,遭遇绝境奋力拨开迷雾,遭遇不公执着于平等,遭遇低谷从未放弃,只为坚守那一份心中的美好
死亡推理之追狱人 都市神医奶爸 原神小说 酒神!神酒! 程明远传奇 命运回响 逆袭1990 人间奇缘 亦道亦一亦心魔 近身兵王 执梦绘权 阴阳殇2传 再上昆仑 人间地狱十几载 我的世界之开局转生成村民 万界最强剑师 莲仇记 时空造梦人 梦与生活 仇抱 狗狗皮肤病流脓血 狗狗一共需要打几针疫苗 狗狗衣服 冬装制作 狗狗前腿关节弯曲 狗狗皮肤病流脓血 狗狗皮肤大面积化脓 狗狗衣服冬装制作方法 狗狗一天不吃不喝水 狗狗皮肤擦伤用金霉素 狗狗一直拉血会死吗 狗狗呕吐 食物不消化 狗狗呕吐 食物不消化 狗狗皮肤干燥可以用精油吗 狗狗一年了胆小怎么办 狗狗皮肤上有硬块 狗狗前腿关节处凸起 狗狗衣服冬装制作方法 狗狗皮肤擦伤用金霉素 狗狗呕吐喝醋可以么 狗狗皮肤有小疙瘩 狗狗一共需要打几针疫苗 狗狗皮下打针部位图解 狗狗排尿量少尿滴 狗狗前腿破了怎么处理 狗狗一天不吃不喝水 狗狗皮肤干燥可以用精油吗 狗狗皮肤擦伤用金霉素 狗狗排尿量少尿滴 狗狗呕吐喝醋可以么 狗狗皮肤擦伤用金霉素 狗狗前腿关节弯曲 狗狗一共需要打几针疫苗 狗狗前腿长个肉疙瘩 狗狗皮肤有小疙瘩 狗狗皮肤干燥可以用精油吗 狗狗前腿关节处凸起 狗狗频繁呕吐怎么回事 狗狗衣服冬装制作方法 狗狗皮肤干燥可以用精油吗 狗狗频繁呕吐怎么回事 狗狗前腿关节处凸起 狗狗一直打颤怎么回事 狗狗皮肤上好多硬皮屑 狗狗胰腺炎是很严重 狗狗前腿破了怎么处理 狗狗一共需要打几针疫苗 狗狗呕吐 食物不消化 狗狗前腿长个肉疙瘩 狗狗皮肤结痂 有脓包 狗狗一直吐舌头舔 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 这平凡的一生 为故乡星球而战 沉仙剑祖 黑渊术士 廉颇传奇 AG真人 欧博官网 亚星管理平台 AG真人 皇冠登3出租 狗狗前腿破了怎么处理 狗狗一年了胆小怎么办 狗狗胰腺炎是很严重 狗狗一天不吃不喝水 狗狗要坐又坐不下去了 狗狗一直拉血会死吗 狗狗皮肤上有硬块 狗狗皮下打针部位图解 狗狗皮肤有小疙瘩 狗狗一直吐舌头舔 狗狗一直打颤怎么回事 狗狗衣服 冬装制作 狗狗皮肤擦伤用金霉素 狗狗皮肤发红发紫 狗狗衣服 冬装制作 狗狗前腿破了怎么处理 狗狗皮肤大面积化脓 狗狗皮肤上好多硬皮屑 狗狗皮肤结痂 有脓包 狗狗呕吐喝醋可以么 狗狗胰腺炎是很严重 狗狗皮肤有小疙瘩 狗狗一年了胆小怎么办 狗狗一直拉血会死吗 狗狗一天不吃不喝水 狗狗前腿长个肉疙瘩 狗狗排尿量少尿滴 狗狗皮肤发红发紫 狗狗前腿关节处凸起 狗狗前腿关节弯曲