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"
2017年将要发行的邮票97年潘天寿邮票整版中国邮票第三轮羊2017年有哪些邮票发行世乒赛小型张邮票价格2017年将要发行的邮票没有荧光喷码的邮票中国邮票第三轮羊朱德逝世一周年邮票分刘少奇逝世一周实纪念邮票西安事变60周年邮票中国邮票第三轮羊1960人民大会堂邮票西安事变60周年邮票2017国家邮票发行计划刘少奇逝世一周实纪念邮票乙酉年鸡邮票作者值钱的匈牙利邮票世乒赛小型张邮票价格香格里拉邮票价格中国商埠邮票目录值钱的匈牙利邮票朱德逝世一周年邮票分日本 芬兰 邮票2016年纸版邮票发行量文七邮票价格表2016年纸版邮票发行量日本 芬兰 邮票香格里拉邮票价格1960人民大会堂邮票在这个人人都是重生的世界里面,每个路人甲都绑定着五花八门的主角系统,而我?不需要!开玩笑嘛?我可是千古一帝的转世!是在刚开始修行就能硬刚创世神的存在-_-,虽然战绩可能有点难堪,但是!这种精神就很可贵嘛——?这是一部架空的水浒传。 小书生来到大宋朝,在青楼里称雄、太监群里横走,闯大事业、做人上人;和李师师吟诗词,成赵元奴座上客,泡泡公主、郡主,觅觅美娘、娇娘…戏林冲娘子,夺武松嫂子,撩花荣妹子,敢和扈三娘比武艺、陪梁红玉练功夫…没事装装逼,淘淘宝,修侠访道,结交些五湖.四海乱七八糟的好汉,生活是多么美好!可是一不小心身陷国恨家仇的漩涡。是揭竿而起、替天行道?还是以奸制奸、重塑新的大宋? 王伦:我真不想上梁山啊!向季明原本是不相信世界上是有鬼的,直到有天他撞鬼了……神秘的世界向他敞开,走不尽的楼梯,喂人“吃屎”的变态蛊师,出卖灵魂换取力量的死徒,窃取鬼能力的诡法师,灵魂觉醒者,深渊……原来世界名校国际刑警学院竟然是一所培养驱鬼杀恶魔的人才的地方……公元前275年,穰侯魏冉率秦军进逼大梁,他不知道,大梁之中一个残病之人将会改变他的命运。公元前270年,一个叫张禄的神秘人物成为秦王客卿。公元前266年,张禄成为秦相,魏冉被逐出咸阳。公元前260年,秦赵战于长平,赵军被坑45万。公元前259年,秦军包围赵都邯郸,未来的始皇帝赵政生于围城之中。公元前256年,秦灭周。冬月,未来的汉高祖刘邦生于沛。公元前255年,张禄连同他的三人组一齐被杀。 小山村,大家庭。 一座山,一代人。 菩萨低眉,所以慈悲六道! 撒旦低头,所以血流成河! 以撒旦之名,专职杀戮,他要当最强的那个男人! 最燃的都市,且看一个男人如何成就霸业,成为傲立巅峰的一代传奇!   【七少出品,铁血霸气】 撒旦军团群:198247503 一个人的成长故事高三少年竟是人类决胜的关键! 边界外的怪物入侵人类的家园,捍卫人类的神秘组织。 少年,这是你的命运,逃不掉的重担。 只有你勇敢面对他时,你才会明白何谓真正的强大。   高阳原本是个蓝星的雇佣兵,在一次执行任务中来到了金庸武侠世界--神雕。 在神雕世界中获得武林中人梦寐以求的武林秘籍,左手六脉神剑、右手降龙十八掌,年纪轻轻就达到别人一辈子的成就, 一个小小的蝴蝶能带动多大的效应?神雕世界因为高阳的到来又会有什么样的变化?神雕中的爱恨情况是否因为高阳的到来而改变? 让我们走进神雕世界,看高阳如何在江湖中翻云覆雨~~~~~ 各位书友要是觉得《神雕之我是大魔王》还不错的话请不要忘记向您的朋友推荐哦万物陨落,化身灵体。要得超生,需淬灵魂。修得魂体,方入轮回。天道合一,大道归元。入轮回,修九重,或返红尘,或往灵境、或入修真、或遁魔域、或困泥犁,或踏妖境...
携宗门逃亡 暮世幻辰 古墓派签到十年,出关无敌 末世之吞噬细胞 剑破恒明 一个陌生男孩的来信 弄哭同桌后,我天下无敌! 重生,校园时代 不正常式生活 神下斩龙坡 扯淡:系统随机给我换身体 成魔之殇之狂魔来临 丧尸来袭开局先囤物资 鬼镜夜探 铁血狂徒之周姐是我妻 艾莫的诅咒 特战姐妹之我在都市当女警 大唐江湖笑红尘 我自成仙 天赐万象玉作杯之兵哥哥 文4邮票价格查询 漓江邮票80年版 乙酉年鸡邮票作者 世乒赛小型张邮票价格 文4邮票价格查询 郑州二七邮票价格 乙酉年鸡邮票作者 1996年第二轮生肖邮票鼠整版价格如何 文七邮票价格表 二轮生肖邮票有荧光吗 2016瓷器邮票 2016瓷器邮票 兄弟两收集邮票 漓江邮票80年版 2017年将要发行的邮票 世乒赛小型张邮票价格 牡丹邮票小型张 文4邮票价格查询 查一两关于邮票的资料 中国邮票第三轮羊 漓江邮票80年版 中国邮票第三轮羊 查一两关于邮票的资料 值钱的匈牙利邮票 刘少奇逝世一周实纪念邮票 兄弟两收集邮票 文4邮票价格查询 97年潘天寿邮票整版 查一两关于邮票的资料 文七邮票价格表 世乒赛小型张邮票价格 20000-3邮票 2017年有哪些邮票发行 2017年将要发行的邮票 日本 芬兰 邮票 2016年纸版邮票发行量 2017年有哪些邮票发行 乙酉年鸡邮票作者 日本 芬兰 邮票 2017国家邮票发行计划 2016年纸版邮票发行量 1996年第二轮生肖邮票鼠整版价格如何 邮票2000-2一套多少钱? 牡丹邮票小型张 西安事变60周年邮票 20000-3邮票 2016瓷器邮票 2016年纸版邮票发行量 兄弟两收集邮票 邮票 珐琅焕彩 景泰蓝 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 拯救世界可太有趣了 阳间借命人 只想当山贼的我怎么一统天下了 重生之太虚尊圣 快刀行 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 亚星官网 1960人民大会堂邮票 郑州二七邮票价格 中国邮票第三轮羊 97年潘天寿邮票整版 西安事变60周年邮票 香格里拉邮票价格 97年潘天寿邮票整版 没有荧光喷码的邮票 漓江邮票80年版 漓江邮票80年版 世乒赛小型张邮票价格 值钱的匈牙利邮票 2017年有哪些邮票发行 1960人民大会堂邮票 2016瓷器邮票 邮票2000-2一套多少钱? 2016年纸版邮票发行量 文七邮票价格表 2017年将要发行的邮票 查一两关于邮票的资料 值钱的匈牙利邮票 兄弟两收集邮票 1960人民大会堂邮票 1960人民大会堂邮票 2017年将要发行的邮票 中国邮票第三轮羊 日本 芬兰 邮票 值钱的匈牙利邮票 2017国家邮票发行计划 二轮生肖邮票有荧光吗