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"
电脑上的制作视频的软件在哪儿怎么下载日本的打字软件下载有什么好的课件设计软件吗手机版手机数据恢复软件下载电脑上的广场舞软件电脑上的制作视频的软件在哪儿ios6改软件版本有什么好的课件设计软件吗清空微信记录怎么恢复软件iphone测年龄的软件叫什么北京时间精准到毫秒的软件电脑上的制作视频的软件在哪儿mc处理软件下载北京时间精准到毫秒的软件有什么好的课件设计软件吗iphone测年龄的软件叫什么手游用电脑直播软件哪个好文字网页识别软件下载文字网页识别软件下载全民红包雨软件靠谱吗成都公司开发的仓库软件手机版手机数据恢复软件破解版马赛克图恢复软件禄宏交易软件电脑上的广场舞软件wordpower软件手机版手机数据恢复软件下载有没有画纵断面图的软件全民红包雨软件靠谱吗mc处理软件下载人死一去何时归? 《摩羯疑云惊魂时速》以民营高端科技单位港湾海天中心为故事发源地,以天空出现蓝月亮为背景,以正正,李晟旻教授,似火朝阳,花舞语等一大批高端科技人物为看点,他们以破而不斗为准绳化解了周边危机,太空危机,世界危机,最后还为美国的泽那西州解除了生存危机 爱情故事真实感人,穿越古今有声有色,遨游星际耳目一新咸鱼舰长董墨轩意外身亡后来到了崩坏世界,原本想继续自己舰长职责的他却发现自己成为了一名死士。 所以,董墨轩决定………… 我不做人了,女武神们! 我要成为死士王君临天下! 然后………… “哦,是吗?” 看着拿着枪顶着自己女孩,董墨轩不屑的表示………… 不要杀我,我真的是好死士啊啊啊啊啊!!!人?妖?神? 十万年来,混战不休,民不聊生,气运之争,成仙之路注定血腥! 神明高高在上,那我张空,可屠神否?I am god! 无知凡人们,献上你们的膝盖吧! 那一天,得知世界真实的辰桓定下一个小目标,成为这世间第一个神! 于是乎,受命于天的他带着上天的馈赠,开始了他收集打工人的历程。 “每当看见奥特曼小视频的时候,下面总会有一堆品论,你,相信光吗?我也会笑嘻嘻的在下面评论我信啊!” “只是,我相信的光,是那些我不知道姓名的人散发的光芒。” “我相信的不是光,是那些燃烧自己散发光辉的人啊!”一名前世的牧师,因为冤案而死在十字架上。 随之,他以新的身份来到这个世界,他开始改变自己,同时也在决定世界。 “当太阳下山时,就再也不会有光亮亮起来了。 ”为什么?“ ”夜灭使者来了。“I&amp;#039;AM 李华,我是一个穷屌丝。有一天,我在垃圾箱旁,看到了一个带有奇特花纹的花瓶,盲猜这是个古董。于是,我把它带回了家。这个世界有修行者 谷令君:无妨,老子有千军万马! 这个世界的修行者,可万军之中取上将首级 谷令君:无妨,老子会造火枪火炮! 这个世界…… 谷令君:聒噪!任你是集天元气于一身的大修行者,也抵不过老子的一门大炮! 啥? 没炸死?再补一炮!浩瀚宇宙之中,地球文明之外,是否还有其他的文明?除了地球人之外,别的星球是否还有与地球人类似的外星人? 国家航天局在月球表面建造基地,用以科学探索,无意之中发现竟然有月球人存在,他们又是如何构造自己的文明?
末日重生之前世今生 芊芊姐的千千劫 我是坏蛋坏到底 诡异复苏之我真的怕 苏醒黎明 入道苍生 诛仙阵图 赠送宝物,抽奖反馈 龙途龙屠 屹立高墙之下 我的百变怪不可能这么可爱 靠送外卖变首富 地球回忆1 洪荒:我,后羿绝不射日 神敕 神奇宝贝之布卡 洛神赋英雄千金女 圣龙武神! 天骄变 沉睡千年被挖出后,无敌 检测微信注册时间的软件 iphone测年龄的软件叫什么 手游用电脑直播软件哪个好 文字网页识别软件下载 检测微信注册时间的软件 滑鼠写字软件 数控编程软件程序下载 做主播要下什么软件是什么软件 wordpower软件 mc处理软件下载 马赛克图恢复软件 马赛克图恢复软件 禄宏交易软件 iphone测年龄的软件叫什么 练键盘数字的软件下载 电脑上的广场舞软件 东海证券使用的软件 wordpower软件 成都公司开发的仓库软件 电脑上的制作视频的软件在哪儿 win7 64位没有压缩软件 有什么好的课件设计软件吗 怎么下载日本的打字软件下载 手机版手机数据恢复软件破解版 做主播要下什么软件是什么软件 禄宏交易软件 wordpower软件 怎么下载日本的打字软件下载 成都公司开发的仓库软件 wordpower软件 文字网页识别软件下载 win7 64位没有压缩软件 手机版手机数据恢复软件下载 电脑上的制作视频的软件在哪儿 禄宏交易软件 电脑上的广场舞软件 连蓝牙的软件 数控编程软件程序下载 禄宏交易软件 连蓝牙的软件 电脑上的广场舞软件 优智能炒股软件下载 全民红包雨软件靠谱吗 东海证券使用的软件 北京时间精准到毫秒的软件 win7 64位没有压缩软件 马赛克图恢复软件 电脑上的广场舞软件 黑龙江农信软件 ios6改软件版本 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 玄幻:娘胎修炼,开局绑定天道老婆! 无限天乩 全球映射:开局我是满级大佬 压死!DISTORTION 白鲸之梦 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 数控编程软件程序下载 清空微信记录怎么恢复软件 禄宏交易软件 清空微信记录怎么恢复软件 东海证券使用的软件 怎么下载日本的打字软件下载 iphone测年龄的软件叫什么 优智能炒股软件下载 做主播要下什么软件是什么软件 滑鼠写字软件 怎么下载日本的打字软件下载 有没有画纵断面图的软件 手机版手机数据恢复软件下载 文字网页识别软件下载 有没有画纵断面图的软件 数控编程软件程序下载 电脑上的广场舞软件 北京时间精准到毫秒的软件 北京时间精准到毫秒的软件 电脑上的制作视频的软件在哪儿 黑龙江农信软件 做主播要下什么软件是什么软件 清空微信记录怎么恢复软件 怎么下载日本的打字软件下载 成都公司开发的仓库软件 mc处理软件下载 有什么好的课件设计软件吗 文字网页识别软件下载 网页扣字软件下载 手游用电脑直播软件哪个好