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"
放假三天的作文200字反省的作文题目放学了作文500字初二对工作的责任心作文对热带雨林的作文坊子实践作文二年级作文小猫过河放学了作文500字初二二年级妈妈我爱你作文二年级作文青蛙防御老虎的英语作文放假三天的作文200字发生身边诚信的事作文400字儿时的梦想作文初一放学了作文500字初二二年级作文青蛙读书是种享受作文600字对校园爱情的英文作文对校园爱情的英文作文反省为话题的作文题目放学途中作文香对校园爱情的英文作文二年级妈妈我爱你作文二年级早春作文100对热带雨林的作文放学的作文100对工作的责任心作文方言与普通话英语作文发现新事物的作文400字发生身边诚信的事作文400字这是我第一次写小说请大家多多关照本书又名:《炒股致富真是太难了》、《韭菜的自我修养》、《如何不被股市绿》、《技术流&amp;amp;价值投资流的选择》、《亏损八成的我是如何回本的》、《斩断亏损让利润奔跑》、《拒绝成为股市中的乌合之众》、《炒股就是赌运气,别用实力亏掉靠运气赚的钱》······ 看铁逵炒股直播的网友们表示,以上书名都是错的,本书应该又名:《可恶,又被他买到涨停股了》、《放开那个涨停板,让我上!》、《高喊要亏光的他又赚到了》、《他真把股市当取款机》、《我要拜他为师学炒股》、《买股票一定要跟紧他的步伐》······重生在了天道即将崩溃,鸿钧三清远走寻到,天地王母受援以进,现代科技飞速发展,对于修行却是半开放的世界,江屹煊被选为了复苏天道的棋子。 对于这些,江屹煊有话说:“我只想把仙丹当糖豆,把八九玄功当炼体术,让亲人无病无灾。用真火来炒菜,用灵泉当家庭饮用水,让石材释放出它最美味的口感。对于复苏天道什么的,谁爱作谁作,我没兴趣!”易秋穿越异界,觉醒天道分身,随便一个分身都能成为一方大佬。 “剑神一剑,可灭一界,仙佛难当!” “刀神之刀,可断时空长河,谁人能敌?” “丹帝之道,可得长生,万古不灭!” “天帝之威,一念可断生死,万界膜拜!” …… 当人们为了谁是天下第一争论不休的时候,易秋站出来。 “别争了,你们口中的大佬,都是我的分身。”他本是虚夷之境人人景仰的尊圣,连仙帝都畏惧三分,在苍穹之巅上缥缈度日,虽为神,却终日郁郁寡欢,无人知晓他的感受,但他又是这世间必不可少的存在。千百年的时光,终将消磨掉他的信念。于是,他便就此陨落,虚夷之境也再无一位至尊。 后天,先天,宗师,大宗师,圣人,尊神,尊圣 (初境,小成,中境,大成,圆满 )我有一剑,可断山、可憾天。 我有一剑,可斩道,可永生。 没有华丽的剑芒, 没有通玄的神意, 没有仙道的飘渺, 面对一切, 我, 只出一剑。本人没有任何文采,只有自己的故事,写这部作品的理由主要只是想把自己的回忆都记录下来,到一生快走完时在来慢慢回味,如果有喜欢我的故事的读者也希望能多多支持一下刚从警校毕业的警校生李瑜,进入了滇南缉毒大队。一次意外,李瑜结识了辛嫣,二人也在接触中暗生情愫。本以为是天作之合,谁料竟是天公不作美。辛嫣竟是滇南缉毒大队准备打击的犯罪团伙老大的女儿。当家国情怀与儿女情长发生剧烈碰撞,李瑜该作何抉择?臭名昭著的偷拍专家,被人杀死在出租屋里。 可是竟然附身在一条警犬身上,虽然不愿意,但是还是要面对现实。 虽然成了警犬,但是怎么说也是有编制的。 努力破案,却为搭档挡了一枪。 又死了,怎么这次又附身在一个将要被处斩的王爷身上。 这啥时候是个头呀。他在深海铜棺中沉睡了万年,此刻他醒来了,他手执弑天刀,对着污浊的苍穹呐喊:“若天道不公,我便踏碎这虚空!”
梦与世界的距离 我在异界守城池 上帝禁区之第七空间 村光乡野 寒庚纪 异域守护神 躯体 神魔守护者 问仙赋 民间秘闻录 大唐:开局震惊武则天 地产一条龙 我真的没开挂 异域天境 玄幻:开局拥有百亿黄金 全球御兽:开局觉醒SSS级天赋 一个农村娃娃的梦想 运流 我在人间斩妖除魔 结雷传 对的决定英文作文 二年级妈妈我爱你作文 方言与普通话英语作文 二年级作文小猫过河 对的决定英文作文 对热带雨林的作文 二年级早春作文100 放学途中作文香 对工作的责任心作文 反省的作文题目 反省为话题的作文题目 发现新事物的作文400字 儿时的梦想作文初一 二年级妈妈我爱你作文 二年级作文青蛙 二年级作文小猫过河 二年级早春作文100 对工作的责任心作文 放假三天的作文200字 放学了作文开头 二年级妈妈我爱你作文 二年级奇妙的想象作文 放学了作文500字初二 奋斗的作文100 发展传统文化的作文 儿时的梦想作文初一 对工作的责任心作文 放学了作文500字初二 放假三天的作文200字 对工作的责任心作文 对热带雨林的作文 读满分作文有感400 对的决定英文作文 放假三天的作文200字 方言与普通话英语作文 对热带雨林的作文 对的决定英文作文 奋斗的作文100 二年级早春作文100 对的决定英文作文 对热带雨林的作文 二年级奇妙的想象作文 反省为话题的作文题目 多巧能衣服作文200 儿时的梦想作文初一 读满分作文有感400 二年级妈妈我爱你作文 对工作的责任心作文 发现新事物的作文400字 二年级作文小猫过河 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 残骸上的文明 无名之辈:巨石之下 全球震惊!我真不是盗墓贼 混世小武僧 80后的年轻人 百家乐官网 澳门葡京官网 葡京官网 亚星管理平台 万利游戏官网 儿时的梦想作文初一 对工作的责任心作文 二年级植物小作文大全 放学了作文开头 坊子实践作文 对热带雨林的作文 奋斗的作文100 放学了作文500字初二 二年级植物小作文大全 反省为话题的作文题目 发现新事物的作文400字 二年级植物小作文大全 对校园爱情的英文作文 放假三天的作文200字 放学了作文500字初二 二年级早春作文100 反省为话题的作文题目 对的决定英文作文 对热带雨林的作文 二年级作文青蛙 放学途中作文香 二年级早春作文100 读书是种享受作文600字 放学的风景作文100 发生身边诚信的事作文400字 反省为话题的作文题目 发展传统文化的作文 对校园爱情的英文作文 对校园爱情的英文作文 坊子实践作文