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新拍电视剧朱亚文陈妍希主演的电视剧香港乡土系列电视剧日本电视剧十年罪犯成为警察电视剧五福到胡歌2017新拍电视剧古装电视剧七剑下天山战狼第二部电视剧全集观看 百度电视剧字幕大小日本电视剧十年罪犯成为警察有关中国近代史的电视剧电视剧字幕大小胡歌2017新拍电视剧战狼第二部电视剧全集观看 百度白鹿原电视剧 白秉德香港乡土系列电视剧香港乡土系列电视剧深流电视剧迅雷下载电视剧武生泰斗视频林心如前期电视剧剧照古代宛如是什么电视剧星月神话哪个电视剧三国电视剧吕布陕西台电视剧蜂鸟39朱亚文陈妍希主演的电视剧苏乞儿有几部电视剧深流电视剧迅雷下载于成龙电视剧全集37集一睁眼,逝去的父亲跟爷爷飘荡在你眼前,你害怕吗? 在你慢慢能接受了的时候,又告诉你你也快了,你害怕吗?九折青婪,一心一尘。梦起清溪,秘境石鹄。龙潭奇遇,心韵动羚…… 一个人一路前行,一心一尘便是心安。一场不知是何原因导致的末日灾难,将李恒奇传送到一个他完全不了解的宇宙世界——地球。这里的人与他的身体构造相同,只是文化却大有差异,科技水平也十分落后。于是漫漫回家路,他利用残存记忆和先进的科技在这里定居下来,本性善良的他在不毁灭这个世界的前提下,试图探索宇宙奥秘。只是这一切并没有那么顺利,万事不仅开头难,还有过程难,更有成功难! 他有一个看似玩具一般的设备——造梦陀螺,能够让人美梦成真,宛如在现实中一般。可是这仅仅是一个玩具吗?一场突如其来的变故席卷全球,远古的“神”苏醒,人类陷入了死战。最终人类战胜了“神”。200多年后,“神”卷土重来,秘武-血君子 重现,有个注定的人,将拿起它,走向诛神之路。“李清风还不赶紧刷业绩?地府律师函已经给送上来了,小心我派人上来抓你!” “不要啊!我的阎boss,再给我一点时间!” “都给你多长时间了,真的是老奶奶进被窝把爷整笑了!” “不是啊boss,最近的鬼不好抓啊,抓了小的来大的,抓了大的来老的,打又打不赢,只能跑啰,我怕死啊!”几乎每天李清风都要收到地府的律师函整个房间都快装不下了。无奈的李清风只能开了一家游魂旅店,在巷子里面瑟瑟发抖。一个被予为天才的少年 一段被命运安排的人生 一场横跨万年的阴谋这是一个快意恩仇的侠义江湖,这是一个弱肉强食的仙侠世界…… 在这里,洛凡掌握乾坤、剑指八荒,掀起武道风云…… 然而,当洛凡以为自己已经站在这个世界的巅峰之时,殊不知,他所掀开的那个世界,不过是浩瀚宇宙的冰山一角…… 夏建独身混都市,历尽苦难,终成正果。摇身一变,他成了名符其实的大老板……深居野林神秘老道,一手培养出七位足矣撼动华夏的绝美女徒弟。今日,又一名最小男徒儿罗峰顺利出山。 罗峰:“我是老逼灯培养出最垃圾的徒弟,没什么本事,就想吃吃软饭,苟且度过这一生。” 师父:“什么,他说他最弱?难道我没有告诉过你们,那小子身怀诡秘?” 师姐:“我好像发现我们的小师弟越来越不对劲儿了,为什么世界各大强者都来跪舔他?” 一位来自于世界黑暗深处的顶级势力后裔之子,出生便被抛弃做弃子,偶遇华夏旧时代战力天花板老疯子和七位倾城倾国的大背景七位师姐,从此掌握七大绝学误入都市豪门,卷动江湖风云,走上自证强者之路。他本不想跟命运过不去,命运却偏要跟他过不去......
疯魔剑圣斩天下 一舞动四方 封神:请尽情吩咐妲己 镇国神婿,重生老婆要杀我 来自云梦山 九万里大地 御兽异次元:位面之战 永恒盛世:噩梦开启 神明论 我是半个盖亚生命 仙医出世 天域牢笼 给太爷爷烧纸,地府经济被我玩坏了 向死者书 我在异界创建裁缝军团 一个普通人的一生 白居易长歌寻仙记 念力之域 无计可施 旧档案 再见狂牛电视剧 战狼第二部电视剧全集观看 百度 白鹿原电视剧 白秉德 香港乡土系列电视剧 再见狂牛电视剧 电视剧里打人的声音 陈威男参演的电视剧 北爱电视剧百度云资源 陕西台电视剧蜂鸟39 有关中国近代史的电视剧 古代宛如是什么电视剧 古代宛如是什么电视剧 星月神话哪个电视剧 战狼第二部电视剧全集观看 百度 日本电视剧十年罪犯成为警察 三国电视剧吕布 六集电视剧平原枪声 陕西台电视剧蜂鸟39 砸奔驰车电视剧多少集 日本电视剧十年罪犯成为警察 电视剧什么龙 胡歌2017新拍电视剧 砸奔驰车电视剧多少集 林心如前期电视剧剧照 北爱电视剧百度云资源 粤语版无间道电视剧 陕西台电视剧蜂鸟39 砸奔驰车电视剧多少集 电视剧武生泰斗视频 陕西台电视剧蜂鸟39 香港乡土系列电视剧 电视剧什么龙 朱亚文陈妍希主演的电视剧 日本电视剧十年罪犯成为警察 星月神话哪个电视剧 三国电视剧吕布 电视剧巴豆剧情 陈威男参演的电视剧 星月神话哪个电视剧 电视剧巴豆剧情 三国电视剧吕布 电视剧《盲爱》招人 深流电视剧迅雷下载 六集电视剧平原枪声 电视剧字幕大小 电视剧什么龙 古代宛如是什么电视剧 三国电视剧吕布 粤语版无间道电视剧 电视剧五福到 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 帝都往事之职场江湖 暗界进化 恶龙?不存在! 穿到女频爽文的我风生水起 梁王 欧博官网 亚星管理平台 澳门葡京游戏官网 欧博官网 亚星游戏官网 再见狂牛电视剧 砸奔驰车电视剧多少集 电视剧什么龙 战狼第二部电视剧全集观看 百度 三国电视剧吕布 林心如前期电视剧剧照 北爱电视剧百度云资源 有关中国近代史的电视剧 六集电视剧平原枪声 深流电视剧迅雷下载 三国电视剧吕布 电视剧里打人的声音 日本电视剧十年罪犯成为警察 电视剧武生泰斗视频 林心如前期电视剧剧照 粤语版无间道电视剧 于成龙电视剧全集37集 于成龙电视剧全集37集 电视剧字幕大小 电视剧什么龙 三国电视剧吕布 香港乡土系列电视剧 胡歌2017新拍电视剧 电视剧《盲爱》招人 陈威男参演的电视剧 粤语版无间道电视剧 朱亚文陈妍希主演的电视剧 陕西台电视剧蜂鸟39 医圣张仲景电视剧怎么找不到 电视剧武生泰斗视频