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"
电脑上的摄像头美化软件光猫恢复软件录音声卡软件免费制作印章软件手机打电话变声音软件电脑上的摄像头美化软件ipone软件还原录音声卡软件广东省建筑工程预算软件惠普刻录机软件下载娄底天地图软件录音声卡软件.max软件下载娄底天地图软件律师案件管理软件哪个好用惠普刻录机软件写小说的手机软件有哪些工程量计算软件v1.32工程量计算软件v1.32汉语拼音转化软件下载有什么软件可以查询发票真伪的工程量计算软件v1.32广东省建筑工程预算软件广告网络群发软件西西软件园外挂网gtaqq红包接龙作弊软件西西软件园外挂网gta广告网络群发软件汉语拼音转化软件下载.max软件此文是麻辣女兵续文,之前一直在别的地方有更新,现在搬到这里是因为17k是我写文章的起点。此文为虐文,是5年前想出来的大纲,之所以写出来是觉得里面有的情节还不错,希望大家喜欢。文章我确实是按照麻辣女兵之前的性格人物来写的,所以读者有质疑欢迎提出来我们做探讨!别人穿越都是自带各种系统金手指的 为啥我穿越了自己变成了穿越系统啊喂!(╯‵□′)╯︵┻━┻ 而且还得帮助宿主完成他们的心愿? 你走!吉尔都没了你给我谈这个有啥意思! 啥?宿主可以随便我选?二次元电影小说人物都行? 啥?只要帮助10名宿主就可以获得一个自定义的星球? “那还等啥!马上就走!” 主角表示真香!“大秦算什么...寡人要率新唐的铁骑,打下一个大大的疆域!”躺在印第安部落内,手中摇晃着看不清颜色的酒杯,李承洲向着身边所有人郑重承诺!要替大秦守护江山不倒!前提..得是自己来做皇帝!自此,超脱数千年的大革命先从美洲大陆开始了!由于核战争的爆发,大量的能量,摧毁了地表许多的城市但是一直在各种动植物体内沉睡的基因苏醒了。各种各位出现过的神奇动植物都出现。人类的生存空间越来越小……赵凡穿越成为赵家帝子,本以为是高端华丽的开局,却没有想到前身遭人狙击帝血散尽境界跌落,成为无法继续修炼的废人。 就在赵凡绝望之际,模拟修仙系统绑定成功,每次模拟人生都可以获得系统给出的奖励。 “模拟成功,奖励真龙宝药。” “模拟成功,奖励永恒战甲。” “模拟成功,奖励太玄帝经。” …… 五百年后,赵凡打破了万古神话证道成帝,恐怖的帝威,肆虐九天十地!苍天无情,神灵挡道!谁能在这乱世之中独善其身,谁又能在乱世开太平···踏天地,燃道途。破生死,度轮回。血染四方,荒慑八面,我欲立天,动乾坤! 元气大陆,肉弱强食,唯有繁衍到巅峰的元气修行! 少年出自凯云镇,一切从这里开始......。陈偃知道, 十万里路途他走不完也看不尽。 至于会不会违背他的初心, 他也不知道。一个个普普通通的少年,莫名其妙的穿越到了一个集练体、修仙、魔法和异能并存的世界,偶然间觉醒了来自于未来的吐槽系统,结果系统却告知自己他不是正主……神明大战,全球穿越,觉醒天赋! 江白开局觉醒神级天赋——万能吞噬! 他可以吞噬一切力量! 捡起地上石子吞噬,获得天赋肉身石化! 吞噬植物,掌控森林之力! 吞噬魔兽,掌控魔兽血脉之力! 吞噬敌人,掌控对方所有战斗技能和天赋! 看江白如何猥琐发育,逐渐无敌于天下。
雄威!大唐无双 在异界的一二三事 风云大学 死灵德鲁伊 武震江山 我当天师那几年 弑神:从杀死秦始皇开始 恶赎游戏 新书草稿大集锦 全职体验系统 三村演义 草根的江山如画 雅加娜之花 隐避修仙录 网游:神级辅助,队友都赢麻了 开局就废,小姨子赠我丹田 师弟你是真的苟 轨迹12到22 杀手的小可爱 这个魔帝有亿点强 进程保护 软件 win7 手机用什么软件录电台 写小说的手机软件有哪些 手机打电话变声音软件 进程保护 软件 win7 管家婆软件数据修复恢复 写小说的手机软件有哪些 万联证券官网软件下载 qq红包接龙作弊软件 录音加文字的软件哪个好 全国对讲机软件下载 全国对讲机软件下载 学韩语下载什么软件好用 手机用什么软件录电台 电脑上的摄像头美化软件 手机打电话变声音软件 工资计算软件版pc版 qq红包接龙作弊软件 美图秀秀电脑版win10下载软件 录音声卡软件 手机用什么软件录电台 律师案件管理软件哪个好用 美图秀秀电脑版win10下载软件 下载娄底天地图软件 惠普刻录机软件 学韩语下载什么软件好用 进程保护 软件 win7 光猫恢复软件 美图秀秀电脑版win10下载软件 qq红包接龙作弊软件 手机打电话变声音软件 按键精灵判断杀毒软件 免费制作印章软件 电脑上的摄像头美化软件 广告网络群发软件 西西软件园外挂网gta 免费制作印章软件 写小说的手机软件有哪些 学韩语下载什么软件好用 律师案件管理软件哪个好用 西西软件园外挂网gta 录音加文字的软件哪个好 九度点击软件化软件 工资计算软件版pc版 下载娄底天地图软件 按键精灵判断杀毒软件 全国对讲机软件下载 西西软件园外挂网gta 学韩语下载什么软件好用 ipone软件还原 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 王者:纵横天下 阳间镇灵人 武登仙门 七军战天 我的法官老爹 万利官网 皇冠登3出租 百家乐官网 万利官网 欧博官网 录音加文字的软件哪个好 管家婆软件数据修复恢复 西西软件园外挂网gta 工程量计算软件v1.32 手机打电话变声音软件 学韩语下载什么软件好用 写小说的手机软件有哪些 有什么软件可以查询发票真伪的 汉语拼音转化软件下载 电脑上的摄像头美化软件 汉语拼音转化软件下载 万联证券官网软件下载 九度点击软件化软件 律师案件管理软件哪个好用 律师案件管理软件哪个好用 管家婆软件数据修复恢复 光猫恢复软件 手机打电话变声音软件 .gcfx软件 写小说的手机软件有哪些 ipone软件还原 按键精灵判断杀毒软件 广告网络群发软件 电脑上的摄像头美化软件 按键精灵判断杀毒软件 惠普刻录机软件 按键精灵判断杀毒软件 光猫恢复软件 手机用什么软件录电台 .max软件