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路终点站电话南昌万达购物广场电话居然之家来广营店电话平乐彩云宾馆预订电话宁波有哪些大超市电话安阳审车电话号码洛阳附近按摩上门服务电话电话直航强样式居然之家来广营店电话石狮东方会客房电话霸州凯仕国王的电话宁波有哪些大超市电话洛阳附近按摩上门服务电话青岛海大学术交流中心住宿电话重庆市万州北站电话号码重庆市万州北站电话号码第一码头brt客服电话帝格尔会议中心电话重庆市万州北站电话号码安阳审车电话号码广东惠州移动营业厅电话是多少钱南昌万达购物广场电话台山赤溪田头电话宝山3路终点站电话蚌埠太平天方茶叶电话小榄到百色汽车电话号码石狮东方会客房电话原本是各个不同世界和地方的九位勇士,却因一次的使命而是他们走到了一起;今后的路,虽然漫长而艰巨,但他们之间的友谊与羁绊却不会因为任何原因而被斩断,不论在何方,都会把彼此深深地记在心里!! 人生只不过是我们死之前的一点回忆。能否改变人生,不是从回忆里去改,而是从现在去改变。决定你未来命运的不是过去做过什么,而是你现在正在做什么。摆脱宿命的安排,挣脱命运的枷锁,打破这一切的双手长在我们自己身上。 天尊轮回,一个懵懂少年入踏入修仙路,不求长生,只为真我,寻找前世爱妻,解开前世之谜,打破今世枷锁,成就今世威名,改变天地法则,重塑未来。一步步成长为天地至尊回归真我。 当站在修炼之巅,蓦然回首,才懂得,上天注定的是一个结果而不是过程,由你做主的那部分是上天赋予你的权力,但最终谁也改变不了那个结果,人生只是一个自我认识,追求真我的过程,一场我们自己主宰的梦而已…………更多精彩请持续关注本书。曾经的少年儿郎,都有一个激荡人心的梦想: 从废柴逆袭,摇身而成翩翩美男;从手无缚鸡之力,到修炼成巅峰人神之境; 面对着众多美女的执着与奉献,崛起的学神,他将怎样面对...... ...... 谨以此文献给努力奋斗的高考学子们、曾经努力奋斗过的高考学子们、以及错失高考的广大有志者!冷风如刀,以大地为砧板视众生为鱼肉;飞雪似剑,以苍穹为帷幔斩现实为红尘。 天下纷扰由剑起,世间忧愁识字出。 吾愿以己为祭品,换得世间永太平。 【新书发布,只为创造经典】武林中人为了夺取九环金冠各显其能,但却无一得手,有的在洞中惨死,有的在洞中重伤,无一人取到九环金冠。就在武林中人着急之时,一个天大的秘密被发现:兴良镇永济塔下有得道高僧太空之舍利,谁吃了它,就会一夜之间武功盖世,天下第一……穿越平行世世界的陈阳,为了能好好当咸鱼,在音乐平台上发表了几首歌曲。 爆红后,拿了高额版权费的他宅在家,在游戏上快意恩仇。 有一天,经纪人告诉他,他的银行卡号只剩下个位数了,为了能更好的玩游戏,他被迫参加了一款《谁是歌王》的综艺节目。 得到歌王后,记者问他下一步的打算。 陈阳:我想退休……长白神庙,尸海迷巢,冥峡天棺,黄泉九鼎…… 一件来历不明的人皮寿衣将我拖入一个巨大的旋涡之中。 为了活命我必须借寿前行,活人的寿要借,死人的寿更要借。 当我以为自己可以彻底摆脱那件寿衣的时候,才发现这场阴谋刚刚开始,而我只是其中的一枚棋子……罗月松率特战分队,远赴滇缅战场,成为戴安澜将军200师侦察尖兵,探路先锋,深入丛林,战端重开。天雷滚滚,天雷汇聚,就像是有人在渡劫一样,我就是说了一句何方道友在此渡劫,就被雷劈中了,还穿越了。重新迈上短跑赛道,不负韶华以梦为马,打破人种荒谬论言,化身亚洲黄色闪电,不断挑战自我极限,战胜诸国众多强敌,程威欧美世界赛场,创造诸多记录奇迹,树立短跑历史丰碑,扬我华夏健儿雄姿,只为挥洒男儿热血,折桂夺冠身立高台。
小智,你真的累死我啦! 了然若流 一品权相 超凡双界 重历战争年代 越穿次元副本 黎明笼罩 第七黑暗 公子饶命 七把刀传 众神武纪 天荒:地煞篇 我的功法自带特效 南宫传奇 这一世,我再次登顶无敌 创世神转世 我真的没有灵力 我在末世种个田 我在末世,我叫刘意 行轧大陆成神记 合肥王仁和米线滁州经销商电话 白洋淀船电话 青岛海大学术交流中心住宿电话 重庆市万州北站电话号码 合肥王仁和米线滁州经销商电话 静海公交车电话 长沙辉盛公寓酒店电话 威宁羊街邮政电话 台山赤溪田头电话 石狮东方会客房电话 安阳审车电话号码 安阳审车电话号码 广东惠州移动营业厅电话是多少钱 洛阳附近按摩上门服务电话 常德火车站托运电话 南昌万达购物广场电话 长沙辉盛公寓酒店电话 台山赤溪田头电话 帝格尔会议中心电话 居然之家来广营店电话 白洋淀船电话 宁波有哪些大超市电话 天桥出入境管理局电话号码 霸州凯仕国王的电话 威宁羊街邮政电话 广东惠州移动营业厅电话是多少钱 台山赤溪田头电话 天桥出入境管理局电话号码 帝格尔会议中心电话 台山赤溪田头电话 南昌万达购物广场电话 白洋淀船电话 宝山3路终点站电话 居然之家来广营店电话 广东惠州移动营业厅电话是多少钱 南昌万达购物广场电话 广州北站售票电话号码 长沙辉盛公寓酒店电话 广东惠州移动营业厅电话是多少钱 广州北站售票电话号码 南昌万达购物广场电话 福泉市福泉大酒店电话 第一码头brt客服电话 必胜客面试完等电话 霸州凯仕国王的电话 白洋淀船电话 安阳审车电话号码 宝山3路终点站电话 小榄到百色汽车电话号码 平乐彩云宾馆预订电话 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 透视小农医 畸变末世 巨兽与超能力 酋长饶命 科希世纪 澳门葡京游戏官网 葡京官网 快连下载 澳门葡京游戏官网 欧博游戏官网 居然之家来广营店电话 广东惠州移动营业厅电话是多少钱 南昌万达购物广场电话 第一码头brt客服电话 广东惠州移动营业厅电话是多少钱 洛阳附近按摩上门服务电话 小榄到百色汽车电话号码 居然之家来广营店电话 白洋淀船电话 宁波有哪些大超市电话 帝格尔会议中心电话 宝山3路终点站电话 帝格尔会议中心电话 平乐彩云宾馆预订电话 天桥出入境管理局电话号码 重庆市万州北站电话号码 静海公交车电话 霸州凯仕国王的电话 平乐彩云宾馆预订电话 白洋淀船电话 霸州凯仕国王的电话 红果薇薇新娘电话多少 电话直航强样式 威宁羊街邮政电话 安阳审车电话号码 福泉市福泉大酒店电话 居然之家来广营店电话 贵阳小炒快跑订餐电话 居然之家来广营店电话 蚌埠太平天方茶叶电话