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"
科技虎软件进玉软件抗癌软件挫照软件贷款小软件科技虎软件福音软件抗癌软件金疫苗软件东至网软件乘车的软件科技虎软件出拳软件垂钓园软件抗癌软件东至网软件高考软件吧橙爱软件橙爱软件卡卡软件园借衣服软件橙爱软件金疫苗软件金蝶软件包贷款小软件将军照软件挫照软件救机软件卡慧卡软件出拳软件主角无限强大,不管是在武力上还是智力上。主角永远是打不死的小强,即使他遭遇到在危险的境界,都会脱困,不管是因为什么奇遇啊还是他人解救。在一座城市里,总有人用一段时光惊艳着某个人的全部生命,而在人生这个可长可短的词中,谁又能陪谁坚持到最后呢 九州大陆,万国争霸! 穿越大秦,成为公子赢昊! 开局发配凉州,遭遇匈奴劫杀,觉醒无双大帝系统! 签到千人战场,获得七星战将华雄效忠! 签到万人战场,获得八星上将赵云效忠! 签到十万战场,获得九星大将吕布效忠! 签到百万战场,获得十星神将项羽效忠! …… 且看公子赢昊,如何征战天下,成就无双大帝! 世界本无对错,人间也无善恶,人也罢,兽也罢,都是为了活着,道不同,不相为谋。注:本书节奏较慢,二十章才是个小高潮,阅读前请先给作者一张原谅票,不管看不看,小比作者先谢谢各位了一介凡人意外闯入修仙世界,成为一名资质普通但向道之心甚坚的修仙者。 仙路崎岖,长生漫漫,虽千万人,吾往矣!天生阴命,25岁我开启了阴体,可见鬼神,可伤鬼神,是阎王爷派来凡间受罚的鬼差,在我眼中,蛇虫鼠蚁,花鸟鱼虫皆是鬼怪,冥冥中,一切皆由因果起,一切皆由因果灭,鬼怪之争惊天动地,且看我如何化解……这是一个内卷的修仙世界,龙太子螭吻却不能选择躺平。 他拥有天界最强的修炼天赋和最强的肉身躯体,却苦修十年,一直提升不了境界。 他修炼了十年,就被天界的正统修道士给耻笑了十年。 “天界修道吊底儿”的帽子,他整整戴了十年,他也足足隐忍了十年。 直到十八岁生日的那天,他终于等来了一次机会,一次下界封兽的任务。 天界赐给了他《封兽榜》,一个能吸取妖气的法宝。 但是,他好像是一个妖修... 于是,新一代妖族之主螭吻的都市修仙升级故事,就此开始。我,陈老六,凭三尺青锋,誓要荡尽魑魅,镇守邪祟!左手为阴,右手为阳,自成乾坤,脚踏虚空,除魔证道。掌天地之轮回,握万界之生死。宋帝都临安府爱国人士:吴俊振,与用时光机穿越过来的现代大学生:马维,两人一起被龙卷风漩涡黑洞带着,穿越到了明崇祯十六年公元1643年兴都留守司显陵卫境内,在机缘巧合之下他们俩主动应征入伍参军,从此开启一段帮助大明帝国收复失地的旅程,本文群号799968110
我与妖女一起斩神 普通修炼 诡颂 大唐 因为一只鸟 我创造了最强惊悚世界 齐天凶残 缓缓爱琴海 不死之身,等我 末世之逆天崛起 破坏前 女神妇好 神话入侵:从模拟器开始斩神 五胡明月 逍遥公子在大周 传奇休姆 地府现代化,阎王找我烧电脑 血影者 终极鬼舍 第三个日夜 定命时代 龙防云软件 金疫苗软件 救机软件 高考软件吧 龙防云软件 贷款小软件 金蝶软件包 借衣服软件 挫照软件 金盈所软件 卡卡软件园 卡慧卡软件 垂钓园软件 交管软件 东至网软件 福音软件 金蝶软件包 挫照软件 科技虎软件 调色软件p 金疫苗软件 发普软件 抗癌软件 好身材软件 交管软件 垂钓园软件 将军照软件 进玉软件 借衣服软件 将军照软件 贷款小软件 带小孩软件 挫照软件 科技虎软件 救机软件 贷款小软件 龙防云软件 好身材软件 金蝶软件包 龙防云软件 贷款小软件 发普软件 卡卡软件园 金威软件 垂钓园软件 带小孩软件 金疫苗软件 挫照软件 卡慧卡软件 福音软件 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 幕府医师 逐梦NBA 妖孽小官人 幻生秘遇 轮回世界:只有我知道剧情 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 卡慧卡软件 东至网软件 交管软件 进玉软件 借衣服软件 出拳软件 抗癌软件 橙爱软件 灯光牌软件 高考软件吧 灯光牌软件 金蝶软件包 福音软件 金威软件 金威软件 调色软件p 乘车的软件 借衣服软件 看方位软件 抗癌软件 科技虎软件 金盈所软件 发普软件 高考软件吧 将军照软件 救机软件 将军照软件 垂钓园软件 捷克软件 卡慧卡软件