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"
广州市至乌鲁木齐市火车淄博到青岛的火车在哪个站火车票退票会有手续费吗火车北京西到武汉经过车站杭州东站火车站到庐山高铁吗广州市至乌鲁木齐市火车g7503 火车火车票退票会有手续费吗加兴到济南火车时间张家界至衡阳的火车时刻表查询哪里走到云南的火车票广州市至乌鲁木齐市火车银川到常州火车票价格哪里走到云南的火车票火车票退票会有手续费吗河源去韶关火车时刻表上海至安庆太湖火车杭州东站火车站到庐山高铁吗杭州东站火车站到庐山高铁吗北京到三亚火车情况贵阳至桂林米火车票平顶山到广东佛山火车时刻表加兴到济南火车时间北京到广州火车票余票日照到南京火车途径黄陵火车火车北京西到武汉经过车站唐山到阳泉北的火车票北京到三亚火车情况资阳火车运输一个小和尚,穿越到了异世界大陆,面对公主和女皇的挽留,他就只想着回家?天空突变,一次偶然的机会人类发现了比自己还强大的物种,贪婪的妄想却把沉睡千年的丧尸给惊醒了,不思考只听他人的人类征服选择了错误的选项差点毁掉世界,圣鹰小队能否侦破这起危机......彼时的少年已经站在了成长尽头,回首过去,一切崎岖早已繁花盛开。已然二十岁的我们会是青春,会是热血,会有一场拖拉机下山轰轰烈烈的恋爱.........而有些人的二十岁,会是迷茫,不知所措,也许,会是你我......二十年前,一场大火,父母双亡,与妹妹分离。 二十年后,接到刺杀任务,在战斗过程中,猜测目标是和自己分开了二十多年的妹妹。 因为这个猜测,导致任务失败,受到组织惩罚,“意外”死亡。 重生后,在成长路上,发现了二十年前的那场大火里,还隐藏着不为人知的秘密……打架其实并不是一件多华丽的事情,有的人三两下被打趴下就再也爬不起来了,根本不存在那种斗来斗去如同功夫切磋一般的场面。世道不靖,民生皆苦。 黑暗里的幽灵,星空中的刺客。 天上地下屠魔弑神,只为创造一个美好的世界! 他是一个来自异世界的灵魂。 不甘心命运被安排,反感这个恶者逍遥自在,善者不得善终的黑暗世界。 为了实现理想,他一路苟着做人,努力积蓄力量,终于改天换日,重塑乾坤! 无尽岁月以来,数不清的修炼之人渡劫成功飞升仙界,随着飞升之人的逐渐增多,仙界面临崩溃,以此为契机时间法则种子现世,得到时间法则种子并且让其开花结果领悟完整的时间法则就拥有重组世界、制定规则的权利。 一场围绕时间法则种子的战争就此打响。“别人是被炮弹追着轰,我特么是被核弹追着炸!” 核弹灭世之后,主角被迫寻找修道寻仙之路。 然而作为一位修仙小白,遭受修仙门派收徒时的白眼。 “小白!你境界都没有!”守护修士冷眼看了过来。 “没有资格入门。” 可是主角我有金手指啊! “我特别强调一下:打我的时候需要控制力量,不许使用超过一成的力量!” “你们总是不听话!” 安临渊把头仰起,45度朝向天空, “我说不许使用超过一成的力量是在保护你们!” 在凡人地界,核武末世下走投无路的安临渊,迫不得已,被逼入进入阿尔卑斯门,寻求庇护。 安临渊开始走向修仙道路。 即使安临渊已经遁入阿尔卑斯门修仙求道,凡人地界依然未放弃对安临渊的追杀。 安临渊不断遭遇各种追杀。随着修仙境界的不断提升,被追杀的同时,也展开自己的复仇行动。两百年前,乱世骤起,群雄割据,以烽火燎原之势袭卷整个中原,江湖动荡,百姓苦不堪言。 割据一方的武安侯,率兵马百万,联合当时江湖上最大的门派魔琴宫,历时十数年的战火硝烟,方实现天下大统。可是在天下归一后不久,魔琴宫这个庞然大物却消失在了天下人眼前,到底发生了什么? 这个江湖,情与仇的交汇,就如同多年以前,激起了千重浪, 而这,便是江湖!
双龙剑侠 五灵妖王凡界篇 龙神不休 原来我老婆会处理异常事件 神州傲剑诀 开局偷了一部手机 世界之罪!? 星河破苍穹 超级小渔民 重生王朝 曼陀罗旅人 桃园圣手 师兄有点飘 废材极品纨绔 白鹿源起 我用太祖长拳在魔宗修仙 永黯星痕 地球特攻队 修真身份被曝光了 隐逸零都 黄陵火车 河源去韶关火车时刻表 上海至安庆太湖火车 杭州东站火车站到庐山高铁吗 淄博到青岛的火车在哪个站 唐山到阳泉北的火车票 河北沧州到东营火车时刻表 G198青岛火车站上车口 惠州坐火车到常平 银川到常州火车票价格 广州南到厦门北火车时刻表 广州南到厦门北火车时刻表 北京到广州火车票余票 河源去韶关火车时刻表 广州市至乌鲁木齐市火车 日照到南京火车途径 梅州市到广州的火车 黄陵火车 无锡至中山火车票价 火车票退票会有手续费吗 哈尔滨东到海口火车票价 火车票退票会有手续费吗 无锡至中山火车票价 平顶山到广东佛山火车时刻表 张家界至衡阳的火车时刻表查询 成都东火车站到青城山高铁时刻表查询 黄陵火车 无锡至中山火车票价 贵阳至桂林米火车票 黄陵火车 杭州东站火车站到庐山高铁吗 哈尔滨东到海口火车票价 火车北京西到武汉经过车站 广州市至乌鲁木齐市火车 北京到广州火车票余票 日照到南京火车途径 火车北京西到武汉经过车站 河北沧州到东营火车时刻表 北京到广州火车票余票 柳林至汾阳火车 日照到南京火车途径 G198青岛火车站上车口 北京到三亚火车情况 梅州市到广州的火车 哪里走到云南的火车票 哈尔滨东到海口火车票价 广州南到厦门北火车时刻表 日照到南京火车途径 成都东火车站到青城山高铁时刻表查询 上海至安庆太湖火车 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 网游之神族锻造师 超术人生 小仙不讲武德 权倾天下之山海经 异世界旅人 万利官网 欧博官网 百家乐官网 万利官网 欧博官网 柳林至汾阳火车 上海至安庆太湖火车 惠州坐火车到常平 北京到广州火车票余票 唐山到阳泉北的火车票 梅州市到广州的火车 平顶山到广东佛山火车时刻表 张家界至衡阳的火车时刻表查询 广州南到厦门北火车时刻表 贵阳至桂林米火车票 广州南到厦门北火车时刻表 火车票退票会有手续费吗 加兴到济南火车时间 淄博到青岛的火车在哪个站 淄博到青岛的火车在哪个站 上海至安庆太湖火车 银川到常州火车票价格 唐山到阳泉北的火车票 日照到南京火车途径 平顶山到广东佛山火车时刻表 杭州东站火车站到庐山高铁吗 成都东火车站到青城山高铁时刻表查询 河北沧州到东营火车时刻表 贵阳至桂林米火车票 北京到三亚火车情况 广州市至乌鲁木齐市火车 北京到三亚火车情况 G198青岛火车站上车口 哈尔滨一三亚火车票价 柳林至汾阳火车