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"
高利贷论文选题妇幼保健的小论文高利贷小论文高校篮球文化发展论文高校论文知网查重高利贷论文选题高中必修一历史小论文高利贷小论文高中数学与生活论文高一地理与生活论文高一到高二数学论文高利贷小论文高一小论文--我与历史高一到高二数学论文高利贷小论文高一地理与生活论文高中地理论文环境高校学生性安全论文高校论文知网查重高利贷的危害论文革命励志故事2000论文高校学生性安全论文高中数学与生活论文高层建筑绿化设计论文高校篮球文化发展论文题目妇幼保健感想小论文高校篮球文化发展论文题目港口概论有关的论文题目高利贷的危害论文高脂血症的论文科技为刀有两面, 毁灭、创生一念间。 恶人持刀则为恶, 善人持刀则为善。 科技笼罩下的欲望狂野生长。 黑暗来临,动荡将起! 在这个天色已晚天未亮的世界中, 必然有人提刀换天明! 而在黑暗笼罩下的林清也将会成为其中的一员……当吴狄秉着爱国,诚信,敬业,友善的优良品质,混进金庸先生笔下的武侠世界当中,成为一名武当道士时 面对上辈子无数个夜晚在床上幻想过的武功秘籍,看见那一位位老爷子笔下倾城倾国的女猪脚们,吴狄表示 别无选择,唯有制霸江湖! 传说 风走过的痕迹会留下幸运与希望 人们都听过风与生活交织在一起的声音 风都没有主人,元素不被掌控 当迷雾充斥时 风也会从传说中飞来 我就在你面前,你看我有几分像从前华夏诸天圣域的三公主张海燕,吩咐下属秘密研制了新一代铁人军铠甲。另一方面,人间一名落魄医学院大三学子黄子羡意外重生获得此神将铠甲的使用资格,在亲眼目睹自己前女友林文露被害的画面,励志一定要不惜一切代价找到真凶。同时在无意之中,因为自己的神将之力意外结识了对他一生帮助巨大的贵人夏菲菲,于是黄子羡和夏菲菲开始了新的人生。一个少年闯入云海之中,在云海闯荡出一个云海传说......天空突变,一次偶然的机会人类发现了比自己还强大的物种,贪婪的妄想却把沉睡千年的丧尸给惊醒了,不思考只听他人的人类征服选择了错误的选项差点毁掉世界,圣鹰小队能否侦破这起危机......在地球,命运的捉弄让他走投无路,异世界让他重获本体,来到另一片星宇,重生之后,劈荆斩棘,踏出一条强者之路。 修炼之途:祖之灵,炼体,聚气,成形,得圆,入玄…… 懒得介绍我叫陆云生是个消防员,再一次任务中营救一个轻生的溺水女人,而导致不小心死亡,我却意外穿越到天阳大陆重生到同名的一个人身上,此生我不再为别人而活 而为自己而活!“以天地为盘,众生为子!”最终问鼎剑道之颠!
扶手云烟笑 当神话出现 重返前半生 不周树 重生之绝世废少 我在妖界是条狗! 电影世界生存实录 流不尽的血 龙跃于渊:崛起篇 死义生 滚滚红尘为红颜 三帝行 都市绝门医神 定北王 落叶随风至天台 冰火山河 废土巫师 末世醒城 三国戏说 阴魂书 妇幼保健感想小论文 高一地理论文1200 字 高中地理小论文2000字 高校论文知网查重 妇幼保健的小论文 港口概论有关的论文题目 高中地理小论文2000字 高一历史小论文1500字 妇幼保健论文范文大全 高一小论文--我与历史 高中物理教材分析论文 高中物理教材分析论文 高层建筑绿化设计论文 高一地理论文1200 字 高利贷论文选题 高校篮球文化发展论文题目 高中历史小论文800 妇幼保健感想小论文 妇幼保健的社会性论文 高利贷小论文 高一地理论文1200 字 高利贷小论文 妇幼保健的社会性论文 高校学生性安全论文 高一地理与生活论文 高利贷的论文 妇幼保健感想小论文 妇幼保健的社会性论文 妇幼保健的社会性论文 妇幼保健论文范文大全 高校论文知网查重 高一地理2000字论文 高校篮球文化发展论文 高利贷论文选题 高层建筑绿化设计论文 高校篮球文化发展论文题目 高校篮球文化发展论文 高中地理小论文2000字 高层建筑绿化设计论文 高尔夫中国发展论文 高校篮球文化发展论文题目 高一历史小论文1500字 高利贷的危害论文 高中历史小论文800 高一到高二数学论文 高一地理2000字论文 高中物理教材分析论文 高校篮球文化发展论文题目 高利贷的论文 高中地理论文环境 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 我在神秘复苏写日记 房产四季 仇恨效应 多情少年无情刀 赢万难 欧博官网 百家乐官网 澳门葡京游戏官网 欧博官网 亚星游戏官网 高利贷论文选题 高利贷的论文 高中地理小论文2000字 妇幼保健的社会性论文 高校篮球文化发展论文 高中历史小论文800 高利贷论文选题 高中地理论文环境 高中必修一历史小论文 高利贷论文选题 妇幼保健的小论文 高中历史小论文800 高中物理教材分析论文 高脂血症的论文 高中地理论文环境 高中数学与生活论文 妇幼保健的社会性论文 高层建筑绿化设计论文 高一到高二数学论文 高脂血症的论文 高尔夫中国发展论文 高一地理论文1200 字 高利贷的刑法规制论文 高中必修一历史小论文 高校学生性安全论文 妇幼保健的小论文 妇幼保健的社会性论文 高中地理小论文2000字 高中历史小论文800 高一小论文--我与历史