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"
夏河到兰州汽车时刻盈宝汽车站在什么地方佛山汽车站去大沥威远到常州汽车时刻表查询从武当山到襄阳的汽车票价夏河到兰州汽车时刻佛山到宜宾的汽车票佛山汽车站去大沥南宁琅东到田东的汽车赣州到上海直达汽车甘旗卡到通辽客汽车夏河到兰州汽车时刻东莞汽车总站到龙华黄岛去滕州的汽车站时刻表佛山汽车站去大沥赣州到上海直达汽车阳逻到浠水汽车时刻表从烟台坐汽车去青岛从烟台坐汽车去青岛南充到湖南汽车肇庆东站到广宁的汽车站从烟台坐汽车去青岛南宁琅东到田东的汽车芦台到大港汽车从武当山到襄阳的汽车票价长安汽车站到廉江威远到常州汽车时刻表查询大剧院到重庆汽车站徐州总站到沛县汽车时刻表东莞汽车总站到龙华虎生双翼上苍穹 , 横看天际云满空 。 若是破出白云外 , 黄金满目龙生风。 深夜梦醒,总是扪心自问,人活一世,意义究竟在那里呢? 人类真的可以长生不死,与天地同寿,与日月同辉吗? 如果每个人都长生不死,每个人都能拥有漫长且无尽生命,又有什么意义呢? 一个美人,用纤纤玉指指向空中圆月。 所有人都被美的惊神动魄的美人手指所吸引,却浑然忘记了去看天空中的圆月。 而人也是如此,每日声色犬马,被五彩缤纷的世界迷的梦幻颠倒,就算长生不死,永世长存,与禽兽又有何异? 只有意识到心中之真我,方才惊觉生命真谛,除心之外,别无他物。 人性本洁,白如明月,此心一闭,万世皆寂。 十年前,杀星江峰横空出世,枪挑修道世家,剑夺美人娇妻,娶了13个老婆。 后来被雷劈死了。 子嗣江川,拥有超凡能力却无法修行,百年岁月就要沦为黄土… 仰天长啸,苍茫星海,如何走出长生路? 天上出现了一个背影,取代了人域的天春雨一夕了无痕,如这雨一般,我是谁,去往何处。看陆雨在寻找自己的过程中,怎样诛灭神魔。震惊,穿越异世界之后我和好兄弟竟成了“cp”?携手打怪升级却屡屡遭遇爆笑窘境 ,哥们,这究竟是什么鬼地方啊我想回家!!小丽?哪个小丽?咳!咳!就是你们知道的那个小丽! 小丽还是离开了这个物欲横流的沿海城市! 偌大的火车站,只留下小祥孤独的身影! 小张:你一个中职生,还玩脚踩两只船的把戏,玩就玩吧,还跟那种女人,滚吧! 父亲:畜生!你敢出这个家门,有本事就别回来~ 母亲:小祥,啥样的女孩,你不能挑?你偏偏选那种的,那种人能领进门吗? 女友的蔑视、父亲的痛骂、母亲的乞求~ 小祥还是毅然决然地坐上了去云贵的绿皮火车! 他要去跟他的青春告个别! 看一眼小丽,再看一眼她嫁的老实人! 朴素的婚宴上,小丽看到熟悉的身影,追着跑过来! 崎岖的山头,二人不慎失足,双双跌落山崖! 谁知,醒来时竟穿越到宋朝~ 叮!叮!叮! 【检测到宿主已穿越,赏赐宋朝百科全书一套!】换手机睡觉睡觉睡觉睡觉手机黑夜笼罩都市,那些潜藏在阴暗之中的东西开始蠢蠢欲动。 吃着生肉的老太太,后背长着鱼鳞的健身小姐姐。 路边向人搭讪的野狐狸,还有那开在坟场里的小超市。 这些,我都经历过。 而一切,都要从我目睹一场车祸后开始说起……   2100年一个武器库保管员,连同武器库一起穿越到了民国时期,从此走上军火大亨的路 古老的传说,神秘的田家井! 一声巨响,一片残垣断壁,见证了一段血腥的历史。 五百多年后的他从残破古井中进入一处空间裂隙,邂逅元末枭雄陈友谅之女陈飞飞,揭开了一段尘封的历史。他加入华夏国安八局并屡立奇功,战功赫赫的女友为了华夏北斗系统被CIA羞辱,从此他上碧落下黄泉,只为……
小道游人间 博士重生之复仇 小友,你要修仙么? 热血技师 灵玄传 皮囊下的天空 穿越然后成为异世龙主 随着大众去修道 黑白城之六城废墟 盗墓诡异录之九层古冢 我的兄弟是警察 soul只是偶然遇见 优秀了我为什么找你 替劫系统:我要成仙 时间空气是什么,我不在意 万灵灭魔阵 大辰桓 阴阳师咒术 大秦第一熊孩子 邪祟降临:以武道镇压一切 宜兴到盱眙的汽车 陇西南门汽车站时间表 阳逻到浠水汽车时刻表 从烟台坐汽车去青岛 宜兴到盱眙的汽车 曹县到汉口的汽车时刻表 黄龙到广元汽车坐多久 攀枝花到元谋汽车时刻表 长安汽车站到廉江 东莞汽车总站到龙华 南宁琅东到田东的汽车 南宁琅东到田东的汽车 芦台到大港汽车 赣州到上海直达汽车 威舍到贵阳的汽车 从武当山到襄阳的汽车票价 黄龙到广元汽车坐多久 长安汽车站到廉江 肇庆东站到广宁的汽车站 夏河到兰州汽车时刻 陇西南门汽车站时间表 佛山汽车站去大沥 盈宝汽车站在什么地方 黄岛去滕州的汽车站时刻表 攀枝花到元谋汽车时刻表 芦台到大港汽车 长安汽车站到廉江 盈宝汽车站在什么地方 肇庆东站到广宁的汽车站 长安汽车站到廉江 从武当山到襄阳的汽车票价 陇西南门汽车站时间表 威远到常州汽车时刻表查询 夏河到兰州汽车时刻 芦台到大港汽车 从武当山到襄阳的汽车票价 北京回南宫的长途汽车站时刻表 黄龙到广元汽车坐多久 芦台到大港汽车 北京回南宫的长途汽车站时刻表 从武当山到襄阳的汽车票价 醴陵到娄底汽车 南充到湖南汽车 江阴至扬中汽车 黄岛去滕州的汽车站时刻表 陇西南门汽车站时间表 南宁琅东到田东的汽车 威远到常州汽车时刻表查询 徐州总站到沛县汽车时刻表 佛山到宜宾的汽车票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 白雪下的蓝天 澧水悠悠梦 花之谜案 掌中之剑 仙罹 欧博官网 亚星官网 亚星官网 快连下载 亚星管理平台 阳逻到浠水汽车时刻表 江阴至扬中汽车 宜兴到盱眙的汽车 威远到常州汽车时刻表查询 赣州到上海直达汽车 南充到湖南汽车 从烟台坐汽车去青岛 大剧院到重庆汽车站 攀枝花到元谋汽车时刻表 北京回南宫的长途汽车站时刻表 南宁琅东到田东的汽车 江阴至扬中汽车 东莞汽车总站到龙华 樟木头汽车站到惠州汽车总站 陇西南门汽车站时间表 攀枝花到元谋汽车时刻表 黄岛去滕州的汽车站时刻表 黄龙到广元汽车坐多久 盈宝汽车站在什么地方 北京回南宫的长途汽车站时刻表 陇西南门汽车站时间表 樟木头汽车站到惠州汽车总站 南充到湖南汽车 南宁琅东到田东的汽车 从武当山到襄阳的汽车票价 大剧院到重庆汽车站 醴陵到娄底汽车 醴陵到娄底汽车 徐州总站到沛县汽车时刻表 南充到湖南汽车