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"
三毛流浪记电视剧第一部剧情时尚女编辑电视剧演员表长大电视剧结局虐心电视剧船政风云26集电视剧绝双娇三毛流浪记电视剧第一部剧情张萌演生孩子电视剧有哪些长大电视剧结局虐心比较搞笑的电视剧中国2016儿童电视剧大全奇志电视剧演员表长大电视剧结局虐心小然 电视剧奇志电视剧演员表电视剧将军迅雷下载2016儿童电视剧大全周润发电视剧大全国语版全集电视剧刘老根第二部全集电视剧刘老根第二部全集电视剧神秘岛95版剧情九星天辰诀出电视剧?电视剧刘老根第二部全集比较搞笑的电视剧中国关于梨园的电视剧电视剧孤影百度云韩剧舞蹈电视剧电视剧孤影百度云关于梨园的电视剧电视剧神秘岛95版剧情小然 电视剧流星下坠之夜,张玉舟来城南观看流星,无意间知道了庐阳王的秘密,却被庐阳王之子杀死,没想到一颗流星落在张玉舟尸体上,张玉舟复活,杀死了庐阳王唯一的儿子........这是一片属于灵魄的大陆,人们以灵魄相区分,组成家族乃至一方势力。各方势力相互争战,相互割据,民不聊生。在邪魂族侵占整个大陆之际,一个生活在小山村里的小男孩在离奇的经历中成长,运用自己的努力与坚持联合伙伴拯救了自己的家园,自己所生活的世界。人死一去何时归? 富士山喷发?小日子沦陷?全球灵气复苏?人人可修行?当飞机撞上了御剑飞行,当轮船碰上了水上漂,当汽车跑不过人,这是道德的沦丧还是人性的扭曲?欢迎走进高武世界,一探究竟!!!重生即传奇 苦乐童年后,巧合之下有了不同的身份 身怀高能的他更是如虎添翼 善与恶,一念间 向善而行 终究书写炫丽的传奇人生……自古乱世多诡异他是国之重器,科研天才,国士无双! 她是国民女神,国色天香,迷倒众生。 重生到另一个世界的洛铭,激活了系统。系统给予的奖励条件为暗恋,暗恋时间越长,奖励越丰厚。 谨慎选择了自己的暗恋对象云雨蝶之后,经历五年时光,作为可控核聚变,空天航母,外骨骼机甲等高端科研项目总工程师的洛铭,载誉归来。 而他不知道的是,在不久之前,已经成为国民女神,甜美天后的云雨蝶竟然在歌手巅峰对决节目中向他表白了。 原来这个可爱的女神,也在暗恋着洛铭。 五年一别,五年暗恋,五年思念,再次相逢,这对神仙眷侣开始谱写传奇而甜蜜的人生! 晴空破开乌云,象征着胜利的光辉照下,唐一吟的神情空无,手中轻握住脖颈上挂着的项链,脑中的回忆在此刻彻底翻涌而出,忽的他读懂了,那时,那个眼神中的意思。 /:你身后恨意滔天/:你身后背负不属于你的罪责 //:放下吧 /:放下?我也想/:放不下,这是与我相关的历史 //:为什么? //:因为我不能 任凭时间改变一切,世间变换翻转无常 //:我仍爱你,为此不变 唐一吟重新问了一遍,以回忆的形式…… 他不过是想重整世界。朋友圈里发不出的无聊日常 会被嫌啰嗦的想说的话
三国:人在曹营,开局赤壁 恒石 乌云未晞 我就是一个做白事的 快穿之填坑路上磕cp 群友探险之旅 三国最强小才子 治山河 中天稗史 全职体验系统 八荒古帝 神与棋局 苍玄神典 我在殡仪馆玩推理 世界间 霍格沃茨的抽卡欧皇 重生我再也不会啃老了 恐怖复苏:我以肉身横推诸天! 灵气复苏一千年后 黑色余火 我的压寨男人电视剧37 2015中国科幻电视剧排行榜前十名 周润发电视剧大全国语版全集 电视剧绝双娇 我的压寨男人电视剧37 八十年代电视剧插曲 周润发电视剧大全国语版全集 10经典古装武侠电视剧 韩剧舞蹈电视剧 电视剧杨家将主题曲 贾青和徐僧演的电视剧 贾青和徐僧演的电视剧 钢的琴电视剧9 2015中国科幻电视剧排行榜前十名 三毛流浪记电视剧第一部剧情 电视剧绝双娇 幻城电视剧人鱼公主 韩剧舞蹈电视剧 苗圃演的电视剧 长大电视剧结局虐心 2015中国科幻电视剧排行榜前十名 长大电视剧结局虐心 苗圃演的电视剧 电视剧刘老根第二部全集 2016儿童电视剧大全 钢的琴电视剧9 我的压寨男人电视剧37 时尚女编辑电视剧演员表 苗圃演的电视剧 韩剧舞蹈电视剧 电视剧绝双娇 秦始皇 电视剧 1986 电视剧船政风云26集 三毛流浪记电视剧第一部剧情 关于梨园的电视剧 电视剧孤影百度云 电视剧船政风云26集 周润发电视剧大全国语版全集 钢的琴电视剧9 电视剧将军迅雷下载 电视剧孤影百度云 10经典古装武侠电视剧 诡镇电视剧剧情 幻城电视剧人鱼公主 奇志电视剧演员表 秦始皇 电视剧 1986 贾青和徐僧演的电视剧 电视剧孤影百度云 钢的琴电视剧9 秦始皇电视剧香港版 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 大周朝英雄传奇 唐沉记 呼喊 明光法域 珠尚 无道圣人 亚星官网 万利官网 欧博游戏官网 亚星官网 葡京官网 电视剧将军迅雷下载 电视剧绝双娇 电视剧孤影百度云 关于梨园的电视剧 张萌演生孩子电视剧有哪些 贾青和徐僧演的电视剧 钢的琴电视剧9 电视剧神秘岛95版剧情 关于梨园的电视剧 2016儿童电视剧大全 电视剧神秘岛95版剧情 长大电视剧结局虐心 秦始皇 电视剧 1986 我的压寨男人电视剧37 苗圃演的电视剧 电视剧船政风云26集 小然 电视剧 秦始皇电视剧香港版 张萌演生孩子电视剧有哪些 电视剧刘老根第二部全集 八十年代电视剧插曲 诡镇电视剧剧情 秦始皇电视剧香港版 2015中国科幻电视剧排行榜前十名 奇志电视剧演员表 九星天辰诀出电视剧? 秦始皇 电视剧 1986 10经典古装武侠电视剧 比较搞笑的电视剧中国 电视剧杨家将主题曲