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"
论文小标题层次论文文学英语翻译论文小标题层级论文小标题要顶格写吗论文校对软件论文小标题层次论文写作招聘论文小标题层级论文修改 靠谱吗论文写作任务书论文写作常见问题论文小标题层级论文写作与答辩指导论文写作常见问题论文小标题该放哪论文写作任务书论文新常态下中国经济论文写日期吗论文校对软件论文舞蹈方面答辩论文修改查重兼职论文写日期吗论文修改 靠谱吗论文我为学生做理赔论文校对稿怎么校对论文问卷的科学性论文校对稿怎么校对论文我为学生做理赔论文舞蹈方面答辩论文写作与答辩指导一场灭门之祸,叶延重生异世大陆,身怀仙界古玉,执掌小世界。 这一世,我叶延定要掌控天下,成为那神界之主。 一人一剑,傲视苍穹! 球迷还在羡慕日本的留洋大军,韩国的孙兴慜吗?且看王金类获得球王教练系统,拿遍五大联赛金靴,获得欧冠冠军,将中超变成顶级联赛,带着中国足球乃至亚洲足球崛起,率队勇夺世界杯!系统傍身,杀一人,活一天; “以死神的名义,你必须死!” “以死神的名义,毁灭他们!” 死神:“呃...你不要坏我名声!”一颗天外陨石突然降落地球,地球迎来了最终篇章。 地球盖上了一层抓不透的红色纱布,这颗陨石到底是什么? 饥饿,伤痛,恐惧,死亡,恐惧萦绕在人们头顶。 审判,是末日最终的工具。顾星辰,云锦山有史以来最年轻的天师,通阴阳明医术,占卜看相无所不能。五年期满,返回云镇,自此一代天师之名不胫而走。 风水堪舆,易如反掌;不治之症,一针救魂;牛鬼蛇神,一剑平之。 小小云镇,很快就成了首富大佬挤破头都想瞻仰的神圣之地。小小天师,畅游都市,只手定乾坤!上天界武魁之尊,为人所害,转生下界。 修神诀,斩敌首,一刀一剑,誓要杀回诸天上界! 至此,傲笑天地,镇压万圣,掌控寰宇,不朽不灭!普通学生林牧泽,在一次受伤落水之后获得未知力量,又在古墓之中得到真传。自此,他从一个被收养的孤儿,摇身一变,成为神医。 这个世界是怎样的,人类又是怎样的,我不明白。 只想让大家的心在这永夜之中彼此相连,永远永远。古一白这一生运气很好,有爱人,亲人,知己,红颜,朋友,兄弟,…… 也守护了很多,失去了很多!秦凤鸣,本是一名山村普通少年,误食无名朱果,踏入修真路,以炼器起家,凭借制符天赋,只身闯荡荆棘密布的修仙界,本一切都顺利非常,但却是有一难料之事发生在了他身上…… 本书自开更之日起,从未断更,请放心阅读。经典玄幻,就在《百炼飞升录》
道帝重生 元宇宙:重生进化路 白骨巡天记 摩天行 孤枪点将台 棺子无敌 吾僵 斜阳且落西 都市之修仙至尊 百鬼图腾 九曜雷仙 杏林剑仙 双剑魔 灵气剑师 六趣界 封神:我,人皇帝师,摆下先天杀阵 蝉光者 人间烟语 异常生物收容所 赶尸人的诅咒,原著 论文文字怎样变图片 论文写作目标 论文新常态下中国经济 论文校对软件 论文文字怎样变图片 论文我的未来小康生活 论文新常态下中国经济 论文写作时态问题 论文问卷的科学性 论文写作思维导图 论文修改 靠谱 论文修改 靠谱 论文我眼中的改革开放 论文写作目标 论文小标题层次 论文校对软件 论文新疆舞蹈的特点 论文问卷的科学性 论文修改价格 论文小标题层级 论文写作目标 论文小标题层级 论文修改价格 论文写日期吗 论文写作任务书 论文我眼中的改革开放 论文文字怎样变图片 论文文学英语翻译 论文修改价格 论文问卷的科学性 论文校对软件 论文写作过程中的收获 论文小标题要顶格写吗 论文小标题层次 论文我为学生做理赔 论文校对稿怎么校对 论文小标题要顶格写吗 论文新常态下中国经济 论文我眼中的改革开放 论文小标题该放哪 论文校对稿怎么校对 论文写作时态问题 论文物质代谢 论文新疆舞蹈的特点 论文写作常见问题 论文写作过程中的收获 论文修改 靠谱 论文校对稿怎么校对 论文我眼中的改革开放 论文谢辞 查重 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 凡民成仙 开局觉醒神之魂眼 忆沧海之汉末风华 我的狐妖小娇妻 穿越后死宅被迫震惊全世界 万利官网 皇冠登3出租 百家乐官网 万利官网 欧博官网 论文写作任务书 论文修改 靠谱 论文写作思维导图 论文写作任务书 论文文字怎样变图片 论文写作时态问题 论文写作招聘 论文文学英语翻译 论文谢辞 查重 论文校对稿怎么校对 论文新疆舞蹈的特点 论文校对稿怎么校对 论文舞蹈方面答辩 论文校对软件 论文修改 靠谱吗 论文写作过程中的收获 论文修改查重兼职 论文舞蹈方面答辩 论文文学英语翻译 论文修改查重兼职 论文谢辞 查重 论文小标题要顶格写吗 论文写日期吗 论文写作招聘 论文写作常见问题 论文我为学生做理赔 论文写作目标 论文我为学生做理赔 论文修改查重兼职 论文我眼中的改革开放