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"
幼师毕业论文要点英国本科怎么毕业论文元代瓷器论文营销渠道管理论文题目营销渠道管理论文选题幼师毕业论文要点战略管理类硕士论文题目元代瓷器论文浙江财经大学论文抽查怎样在免费下载论文真善美作文800字议论文幼师毕业论文要点正规论文模板真善美大学生论文元代瓷器论文怎样在免费下载论文张家界鉴赏分析论文永别了武器文学论文永别了武器文学论文运动处方的体育论文优秀音乐论文题目永别了武器文学论文浙江财经大学论文抽查用心教育用爱感化论文营销渠道管理论文选题永州环境的论文营销渠道管理论文题目用餐礼仪的论文云南省农业产业化论文正规论文模板男主艾斯白天是公司职员,晚上是游戏主播。一个平凡的单纯喜欢玩游戏的宅男,转生到战国游戏为背景的异世界,与各城君主和战国名将之间会发生怎样的故事呢?他最后能否在网友弥月的帮助下,带领联盟打下终极城池君临王城呢? 苍生涂涂,天下燎缭。 妖魔肆虐,正魔相争。 赵念之意外重生来到神秘莫测的修仙世界,成为一名修仙家族中的一员。 家族危机四伏,举步维艰,随时可能破灭。 在长辈的殷切希望和同辈的期望下,赵念之该如何带领自己的家族奋勇挣扎,逆流挣扎,一步步从寒门中崛起。修仙难,一看天赋,二看机缘,三看身家。 王耀穿越而来,却成为一介天赋全无的边远村民。 且看王耀如何以妖入道,踏上仙徒,巧妙周旋,化险为夷。 凭借一腔热血,二世为人,成就三界功绩,四世威名!洪荒宇宙,神魔大陆,少年应劫而生,看少年如何打破命运枷锁,突破自我,成为一代剑祖实习生林天意外获得祖先的传承,看林天如何在都市逍遥...莽苍万载,人族羸弱。 意外获得上古神女灵气的池昭,开天窍,负天命。得知人族羸弱缘由,恨天道不公,便是兵解,他也要与这天争上一争,为人族改命! 此后,池昭踏仙梯,怼天道,斩命定之劫。怒喝:“吾为生民开仙路!” 一人,一剑,开天,碎道!离家出个走,居然遇到了一名博士。 他们之间的缘分远不止一面之缘,一些奇奇怪怪的东西随着两人的接触,渐渐跑进了他的生活。 古怪离奇的东西变成了自己的日常。 世界的本来面目被一点点揭开,能窥觑到的每一个部分都让人惊异万分且难以承受! 而这些仅仅是大千世界的九牛一毛而已! 就算知道了太多太多,需要很长时间去消化。 那这,是否又真的是世界最真实的那一面呢? 这博士,究竟又是怎样的…人呢? 他又小心翼翼的维护着怎样的秘密…? 【对世界的新认知!】 【对科技的惊发现!】 【对未来的再思考!】 【认知崩塌重新排序的宇宙狂想曲!】在艾尔奇亚大陆上,有着十六种族,人类种位居第十六位,但却是大陆上数量最多的种族。 瑞尔斯帝国是大陆上最大的三个人类种国家之一,多瓦鲁则是瑞尔斯帝国中最繁华的都市,然而,这个最繁华的都市因一次“意外”毁于一旦,城中所有人无一幸免,除了…… 修真界里除了有漫长的修行之外,还有永不休止的杀戮。尘世浑浊,妖鬼横行,生灵涂炭,唯有杀戮,才能横推此界。
永恒王尊 飞星坠海记 笔仙之勇往直前 荡涤魑魅除魍魉 天道修魔记 我在末世有栋楼 调戏大宋 一不小心留在了人间 全职猎人之魔王 飓风星神 神降谕旨 帝谕龙章 天域剑圣 弑帝成神 王者止尊 废材小六独揽天下 彼岸途 不能重来服务公司 御兽:开局一只兄贵兔 太阳陪你去追梦 战略管理类硕士论文 幼师毕业论文报告3000 真善美大学生论文 用心教育用爱感化论文 战略管理类硕士论文 张家界鉴赏分析论文 真善美作文800字议论文 元代瓷器论文 战略管理类硕士论文题目 营销渠道管理论文题目 怎样在免费下载论文 怎样评论一篇论文 哲理小论文怎么写 幼师毕业论文要点 优秀音乐论文题目 用餐礼仪的论文 真善美作文800字议论文 战略管理类硕士论文题目 战略管理类论文 英国本科怎么毕业论文 幼师毕业论文报告3000 引用论文角标放在哪里 正规论文模板 云南省农业产业化论文 幼师毕业论文要点 哲理小论文怎么写 战略管理类硕士论文题目 正规论文模板 战略管理类论文 永州环境的论文 营销渠道管理论文选题 怎样评论一篇论文 营销渠道管理论文题目 幼师毕业论文要点 用餐礼仪的论文 营销渠道管理论文选题 英语专业小论文及提纲 张家界网络旅游论文 用心教育用爱感化论文 英语专业小论文及提纲 营销渠道管理论文选题 战略管理类论文 运动处方的体育论文 哲理小论文怎么写 真善美大学生论文 怎样评论一篇论文 浙江财经大学论文抽查 营销渠道管理论文题目 云南省农业产业化论文 战略管理类硕士论文题目 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 黑洞末 万武记 世上只有我一个人类吗 今后,我来决定勇者的道路 重生:我是一只科技狼 亚星游戏官网 万利游戏官网 欧博游戏官网 亚星游戏官网 葡京官网 幼师毕业论文报告3000 营销渠道管理论文选题 张家界鉴赏分析论文 英国本科怎么毕业论文 英语专业小论文及提纲 哲理小论文怎么写 真善美作文800字议论文 永州环境的论文 战略管理类硕士论文题目 幼师毕业论文要点 幼师毕业论文要点 张家界网络旅游论文 哲理小论文怎么写 战略管理类硕士论文 引用论文角标放在哪里 浙江财经大学论文抽查 运动处方的体育论文 用餐礼仪的论文 真善美大学生论文 优秀音乐论文题目 英语专业小论文及提纲 怎样评论一篇论文 幼师毕业论文报告3000 战略管理类硕士论文题目 永别了武器文学论文 幼师毕业论文报告3000 英国本科怎么毕业论文 张家界网络旅游论文 张家界网络旅游论文 正规论文模板