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"
宁波之苏州火车票宿州至淄博的火车快车宁波之苏州火车票沧州至贺州火车站时刻表潍坊火车站简介火车票k43阳高火车时刻鹤岗至牡丹江火车途径车站诸暨一义乌火车查询西宁到那曲火车几个站点贵定有火车宁波之苏州火车票卓资去包头几点有火车齐齐哈尔到滦平的火车站鹤岗至牡丹江火车途径车站西宁到那曲火车几个站点鸡西市火车时刻表静海到大石桥火车站时刻表静海到大石桥火车站时刻表晋江到珠海 火车站火车票上有车票订单号吗静海到大石桥火车站时刻表诸暨一义乌火车查询赤峰到锦州的火车经图路线图潍坊火车站简介北京三家店至沙城火车沧州至贺州火车站时刻表赤峰到锦州的火车经图路线图晋江到珠海 火车站卓资去包头几点有火车咯做尼同学“我本无名,只能叫无名了。在我心中,若失去冒险精神就失去了人生意义,那种热血沸腾的感觉真是让我欲罢不能!” 神秘少年获得与所在世界格格不入的力量,由于好奇心的驱使让他四处冒险,奇遇连连,随着身体与武器接连产生异变,他那恐怖的身份以及武器的归属渐渐有了答案……一个从地球重生在异界大陆的小人物,获得了一个神界宗派神级系统,后来才知道,系统其实是一个先天神器的器灵,意外从神界通过空间乱流漂流到地球,砸中地球司马轩带着他穿越到天印大陆。、收神体弟子,降妖除魔。从修真界,到仙界,再到神界、从此开启了一个不一样的人生。是做上天的宠儿,自出生那一刻起就受苍天庇佑?还是夺天造化,逆天而行,踏出一条无法回头的道路? “究竟何为巅峰?” 九百年前,玄荒帝尊第一次对这片天地产生了怀疑。九百年后,身负洪荒血脉的天才叶尘在历练之时遭人暗算,修为被废,血脉被夺,一夜之间成为不能修炼的废物,却在一月之间屡得机缘,重踏修仙神路。 “与天斗,当真是其乐无穷……” 且看废柴少年叶尘踏上逆天之路,一步步拨开笼罩在仙武大陆上的那片迷雾…… 穿越到异世界的浩,成神之后还是想回到地球,于是在一年后,又回到自己成神之前的世界,下界之后虽然被掌管者封印了实力,却被告知这个世界有他想要的东西。可惜天上一天,地下十年,这个世界已经天翻地覆,于是浩又开始他的日常修真之旅。少年张玄某一天偶获异能从此改变了他平凡的人生. 能够轻易撕裂敌人的利爪 一拳轰爆坦克的能量锤 自由翱翔在天空的滑翔 轻易摧毁飞机的鞭拳头 ...各种异能让他成就非凡! 让我们来看张玄如何收服众美女完美逆袭嫂子红杏出墙,大哥锒铛入狱,家破人亡下,他也身心具创。 数年后,容貌大改,决定报复,誓要让那女人悔不当初。 却不料,嫂子嫁入他家,也是为了报复。 起因,只是源于昔日的一场情债。 感情是蜜更是刀,虽不伤身却伤心;动情之前先问心,用情不专祸无穷。 在全面溃败中寻找未知的路,每条路都有不同结局。 心眼看破虚妄,横刀以斩破虚无 新世界的到来,面对未知恐慌不是唯一的路....... 灵兽人程森屮(che四声)十一岁丧母,十三岁遭灭族。程森屮,程猖,程狂兄弟三人幸存。一年后大哥程猖却操纵程森屮杀死小时密友和程猖,心灰意冷的程森屮消失了三个月后在长安佚名“山狼”靠杀人赚钱。两年后,“山狼”声名崛起无意间认识权门高氏二公子和洌氏二公,这时有人叫杀死两人。山狼不从,没曾想那人正是大哥程猖。几经挣扎后,山狼坠于程狂和卫天兰坠落的黑鹰崖。 十年后 顶级杀手——山狼,再次出现在高风舌眼前。 正义也许会迟到,但永远不会缺席。祝南穿越异世,发现自己竟然能看到未来。 于是……祝南你为什么说我要说的话?你是我肚子里的蛔虫吗? 祝南你为什么知道我的事? 抱歉抱歉,祝南表示自己可是神算子。
战天灭神 我要挽救这个被我摧毁世界 工业革命从仙武大秦开始 忘仙之旅 神仙学院:被迫和校花组队 葛仙观传奇 屠妖佛之血域 异界追薪记 混在皇宫假太监 网络之战 大唐苟富贵 法之起灵 无计可施 奇异规则 看江 医婿高手 九域天灾 灵异魔说 山海烟尘 神秘之主 吉安到安徽火车时刻 通辽到兴城火车价格 鹤岗至牡丹江火车途径车站 火车票上有车票订单号吗 吉安到安徽火车时刻 新疆到包头市的火车 都安有代售火车票的吗 新疆到包头市的火车 北京三家店至沙城火车 卓资去包头几点有火车 诸暨一义乌火车查询 北京到西安多少火车公里 前郭到通辽的火车时间 西宁到那曲火车几个站点 火车票k43 潍坊火车站简介 罗湖火车站客服热线 北京三家店至沙城火车 火车票上有车票订单号吗 宁波之苏州火车票 吉安到安徽火车时刻 鹤岗至牡丹江火车途径车站 宿州至淄博的火车快车 齐齐哈尔到滦平的火车站 西宁到那曲火车几个站点 前郭到通辽的火车时间 北京三家店至沙城火车 宿州至淄博的火车快车 火车票上有车票订单号吗 北京三家店至沙城火车 潍坊火车站简介 吉安到安徽火车时刻 都安有代售火车票的吗 宁波之苏州火车票 赤峰到锦州的火车经图路线图 潍坊火车站简介 都安有代售火车票的吗 鸡西市火车时刻表 前郭到通辽的火车时间 鹤岗至牡丹江火车途径车站 沧州至贺州火车站时刻表 网上买火车票能微信支付吗 武汉到商丘火车高铁时刻表 北京到西安多少火车公里 齐齐哈尔到滦平的火车站 吉安到安徽火车时刻 北京到西安多少火车公里 沧州至贺州火车站时刻表 晋江到珠海 火车站 阳高火车时刻 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 人在西游写小说,圣人都来催更了! 权与断罪 修灵一族 万古独行客 大秦:我杀敌就能变强 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 赤峰到锦州的火车经图路线图 吉安到安徽火车时刻 北京到西安多少火车公里 沧州至贺州火车站时刻表 都安有代售火车票的吗 通辽到兴城火车价格 合服至宣城火车票 北京到西安多少火车公里 赤峰到锦州的火车经图路线图 晋江到珠海 火车站 赤峰到锦州的火车经图路线图 吉安到安徽火车时刻 前郭到通辽的火车时间 火车票k43 火车票k43 长春市到陕西咸阳的火车时刻表 昆明到会理县火车票多少钱 都安有代售火车票的吗 网上买火车票能微信支付吗 合服至宣城火车票 卓资去包头几点有火车 潍坊火车站简介 北京三家店至沙城火车 晋江到珠海 火车站 静海到大石桥火车站时刻表 贵定有火车 静海到大石桥火车站时刻表 昆明到会理县火车票多少钱 齐齐哈尔到滦平的火车站 新疆到包头市的火车