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"
贵州省遵义市湄潭县天气甘孜阿坝州天气好天气网黔西天气预报广东福建天气预报一周天气汉阴县未来一周天气贵州省遵义市湄潭县天气高密7天气预报15天查询好天气网黔西天气预报国庆节青海的天气哈尔滨三个月天气预报东京历年10月天气好天气网黔西天气预报阜阳市未来十五天的天气预报东京历年10月天气德州未来15日天气预报查询哈尔滨三个月天气预报甘南州卓尼县天气预报恩平3号天气预报恩平3号天气预报地中海12月份天气国庆去普吉岛天气恩平3号天气预报国庆节青海的天气长垣明天啥天气汉阴县未来一周天气广东闸坡天气甘南十月份天气及景色长垣明天啥天气地中海12月份天气阜阳市未来十五天的天气预报游戏俱现,五开玩家李长生,突然获得五个号的修为! 别人满级200,李长生:“我1000级什么鬼?” 别的玩家只能选一个职业,李长生:“你见过八块腹肌的法师吗?” 生活的点点滴滴、繁杂往事“我只是像救活她……”南陌城是个三线的小城市没什么特别吸引的或许是这样张清之在这里开了一家饮料店,店里有一条很奇怪的规矩便是不准带走,但也因为古怪留住一批古怪的顾客,也因此引出大家的故事……幼年时的天赋少年,万鼎临世,异火丛生,竞争与爱同时存在,她一直都在。我命由我不由天 小老弟是一个没爹没妈,家徒四壁,没权没势仅靠低保过日子的小伙子。 有一天偶遇一个漂亮女人被一群小混混强奸 小老弟:那个…… 小混混:嗯? 小老弟:带我一个呗 小混混:好小子!! 结果被打成了残废…… 重生一世,成了东海龙王,美女?金钱?权势? 统统照单全收!!! 一道大能分身竟最终取代了本尊。本尊妻子该如何面对?是杀夫仇人还是丈夫,同样的皮囊两个不同的灵魂,等等,是三个不同的灵魂!还有谁?一个吊儿郎当的即将被末位淘汰的特种兵。这是什么奇葩组合。这样的奇葩组合在异界,又能掀起什么狂风巨浪……在这修仙世界,谁又能主宰这一切?轮回更替,人才辈出。天才也好,平凡也罢,在这个混沌初开的时代,活着,才能继续谱写属于自己的传记。那一百年间断的历史,就由我来探寻。太古年间 四大神兽争锋 引得妖修进入狂潮 公元521年间 四大神兽 古麒麟 古青龙 古白虎 古玄武传承....仙就浅修一下吧,搞笑我是认真的,少年背负血海深仇,只为让敌人买上保险写自己的名字,再手刃对手。
亦道亦一亦心魔 天盟战记 残阳起风雷 透视小农医 在走一遭 星星之火,可以燎原 都市五行灵珠传 我以气血入道 大秦:金榜现世,祖龙求我君临天下 侠宇宙 双苼 零神 不死武皇 我家娘子怎么会是妖族女皇 玄幻:我能看到未来 重回到16岁的灿烂人生 幸运先生 寂春 日落之门 不靠系统的我就是five 恩平3号天气预报 甘孜阿坝州天气 地中海12月份天气 国庆赤峰天气预报 汉阴县未来一周天气 俄罗斯天气最低温度 贵州独山8月天气预报 广东闸坡天气 东京历年10月天气 长寿近期 天气预报15天天气预报 好天气网黔西天气预报 好天气网黔西天气预报 桂林天气未来30天天气 甘孜阿坝州天气 阜阳市未来十五天的天气预报 广州天气 文字 贵州省遵义市湄潭县天气 恩平3号天气预报 甘南十月份天气及景色 固安8月份天气预报 东京历年10月天气预报 固安8月份天气预报 甘南十月份天气及景色 国庆节青海的天气 长江中下游未来天气 哈尔滨三个月天气预报 恩平3号天气预报 甘南十月份天气及景色 广东福建天气预报一周天气 东京历年10月天气 国庆赤峰天气预报 东京历年10月天气预报 甘南州卓尼县天气预报 阜阳市未来十五天的天气预报 桂林天气未来30天天气 广州天气 文字 广东福建天气预报一周天气 甘南州卓尼县天气预报 长垣县明天什么天气预报 德州未来15日天气预报查询 甘南十月份天气及景色 波士顿今日天气预报 贵州独山8月天气预报 广州天气 文字 东京历年10月天气 桂林天气未来30天天气 国庆赤峰天气预报 甘南十月份天气及景色 长垣县明天什么天气预报 高密7天气预报15天查询 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 最实用的穿越 旺角磨镜人 荒野求生死亡游戏 天师问仙 三界铺子 万利游戏官网 欧博游戏官网 皇冠登3出租 万利游戏官网 快连下载 俄罗斯天气最低温度 东京历年10月天气预报 贵州省遵义市湄潭县天气 德州未来15日天气预报查询 好天气网黔西天气预报 长江中下游未来天气 波士顿今日天气预报 甘南州卓尼县天气预报 广东闸坡天气 长垣明天啥天气 广东闸坡天气 俄罗斯天气最低温度 长寿近期 天气预报15天天气预报 贵州独山8月天气预报 地中海12月份天气 东京历年10月天气预报 国庆赤峰天气预报 好天气网黔西天气预报 哈尔滨三个月天气预报 阜阳市未来十五天的天气预报 广安华蓥市天气预扳 甘南十月份天气及景色 甘孜阿坝州天气 长垣明天啥天气 汉阴县未来一周天气 恩平3号天气预报 甘南十月份天气及景色 国庆赤峰天气预报 恩平3号天气预报 桂林天气未来30天天气