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"
保安驾校电话分驾校宝应恒达驾校校长名字保定迅通驾校巴南国源驾校总校电话巴彦县北门驾校保安驾校电话分驾校毕节市驾校在哪里保定迅通驾校宝应恒达驾校官方网站安顺紫云县顺达驾校安庆市公安驾校网址保安驾校电话分驾校必须给驾校交补考费吗安庆市公安驾校网址保定迅通驾校安顺紫云县顺达驾校毕节新星驾校安宁路正驾校地址安宁路正驾校地址宝应远大驾校学费宝应恒达驾校所有教练安平驾校里班车安顺紫云县顺达驾校毕节兴鑫驾校宝应县驾校排名毕节市驾校电话号码宝应县恒达驾校一点通毕节新星驾校宝应恒达驾校二维码巴南国源驾校总校电话我,叫做程刚,程是工程的程,刚是刚强的刚这是几本被被洋流裹挟上岸的日记。幸而有密封袋的包裹,其中受损的文字不多。它们的主人大概已经不在人世了,但其中的记录与坚持必定将激励我们,一步步战胜这末世,让人类能在生态迥异的末世里开辟出一片属于人类自己的乐土。  21世纪的是一个第一次接触魔兽争霸的业余玩家,变身绿皮兽人,掌控兽族大厅。   拥有精湛剑术的剑圣   深受萨尔信任强大的萨满祭司   战场上的他们英勇无畏,总是身先士卒,挥舞着战戟横扫敌军的牛头人酋长   行踪神秘、足智多谋的暗影猎手   何解以族长之名,踏上复兴兽族的征程你是想当无名小卒,还是名扬天下?这里没有无尽的斗气,没有瑰丽的魂环,有的只是无尽的诗词和读书人为尊的世界。 浩然正气孕忠魂,文华之气惊诸圣。 拳打诸子百家,脚踏天妖南蛮。 无数读书人长叹,天不生孟飞,儒道万古如长夜!皇帝倒台后,各地军阀割据,民不聊生。货郎一家五兄弟各自走上不同的道路,老大小货郎一步步逐渐做成大生意,开的分号遍及周边。鼎盛时期竟然可以自己发行小区域流通货币。 老二在家务农种田。老三更是成为一代当地名医。老四和老五分别参加了不同的对立双方,直至把枪互相。怎样抉择?敬请阅读本书2035年地球被黑雾笼罩,进化因子席卷全球,异兽觉醒丧尸横行,穿越者重生者系统携带者纷纷出现,且看陆羽如何在众多挂哥面前逆天崛起!人人都有一死,这是终极宿命吗?死亡成为每个人命运的枷锁,能破解吗? 一个风流浪子回转奔向永生之路的故事!他本是龙国最年轻的国医圣手,却因为一次意外,重生回到了四年前。 上一世,他误入歧途,痛失妻女,尝尽了人间疾苦! 这一世,面对妻女的失而复得,他势要弥补当年的遗憾,快意恩仇。 且看一代鬼医传人,如何凭借一手鬼神难辨的惊天医术,守护心中挚爱,成为最强都市奶爸!【叮!获得妲己的忠诚度、爱恋度+99999……】 “妲己永远爱大王!” “大王的命令永远是对的!” “大王,请尽情吩咐妲己!” 这不是封神,这是帝辛的洪荒!商纣的暴君之路,正在崛起!
逍遥不记年 修炼一道 年少时的我们 沈江 古国传说 神灵的影子 天赋抗争 茹毛饮血 拳愿 末世弑仙道 万古第一神 我的兄弟是马超 死神的名义 诸天摘星 我们有一个反鬼计划 天命:人道永恒 重生学霸,不会真以为学习难吧? 留有遗憾 东周故事会 米瑞斯之光芒前奏曲 道非身外之诡事 宝应县恒达驾校 安盛驾校科目一模拟 毕节新星驾校 安宁路正驾校地址 宝应县恒达驾校 宝应县驾校排名 毕节兴鑫驾校 安亭龙泉驾校地图 宝应县恒达驾校一点通 必须给驾校交补考费吗 宝应恒达驾校二维码 宝应恒达驾校二维码 宝应远大驾校教练名字 安顺紫云县顺达驾校 宝应远大驾校怎么样 巴彦县北门驾校 毕节兴鑫驾校 宝应县恒达驾校一点通 宝应恒达驾校所有教练 保安驾校电话分驾校 安盛驾校科目一模拟 保定迅通驾校 宝应恒达驾校校长名字 安平驾校里班车 安亭龙泉驾校地图 宝应远大驾校教练名字 宝应县恒达驾校一点通 宝应恒达驾校校长名字 宝应恒达驾校所有教练 宝应县恒达驾校一点通 安宁路正驾校地址 安盛驾校科目一模拟 巴南国源驾校总校电话 保安驾校电话分驾校 宝应远大驾校教练名字 巴彦县北门驾校 报驾校身高有什么要求 毕节兴鑫驾校 宝应远大驾校教练名字 报驾校身高有什么要求 巴彦县北门驾校 安县安州驾校电话 宝应远大驾校学费 滨州保安驾校举报电话 安平驾校里班车 安盛驾校科目一模拟 宝应恒达驾校二维码 巴南国源驾校总校电话 宝应远大驾校新地址 毕节市驾校在哪里 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 漫天风飘絮下:南朝北国 第5纪元 综武世界的大反派 一个陌生男孩的来信 光明地狱 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 保安驾校电话分驾校 宝应远大驾校学费 必须给驾校交补考费吗 宝应远大驾校怎么样 巴南国源驾校总校电话 安亭龙泉驾校地图 巴南国源驾校总校电话 宝应县恒达驾校 安宁路正驾校地址 宝应县恒达驾校 滨州保安驾校举报电话 宝应县驾校排名 安盛驾校科目一模拟 报驾校身高有什么要求 毕节市驾校在哪里 宝应县恒达驾校 毕节兴鑫驾校 毕节市驾校在哪里 宝应远大驾校新地址 毕节新星驾校 宝应恒达驾校二维码 宝应远大驾校教练名字 宝应恒达驾校官方网站 毕节兴鑫驾校 宝应恒达驾校校长名字 安盛驾校科目一模拟 巴南国源驾校总校电话 安顺紫云县顺达驾校 宝应县驾校排名 宝应恒达驾校所有教练