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"
www.89com 小说yy小说在线阅读 迅雷下载大结小说好看的小说推荐 完本三婚 游牧族 小说www.89com 小说小说 黑社会 江湖争霸大结小说小说 刘俊求男主角+空间+赌石的小说什么小说好大结小说小说 冷酷校草的倔强什么小说好小说+澜儿求男主角+空间+赌石的小说八云紫我爱你 小说穿越 世界末日 小说 大学生三婚 游牧族 小说小说 斗芳华5完美情人小说 潇疯穿越 世界末日 小说 大学生小说 刘俊小说领悟巡音小说好看的 经典的h多的les小说巡音小说小说领悟小说 斗芳华5小说我的同桌一个被予为天才的少年 一段被命运安排的人生 一场横跨万年的阴谋每个人心里都住着一个齐天大圣,我们都曾爱憎分明头角峥嵘,向往着自由、热血、激情。是受尽时间洗礼,社会毒打,我们才变得圆滑世故,八面玲珑,变成自己曾经最讨厌的人。当而立之年,我们突然不在平凡,变为超凡者。我们又重新站在了十字路口,是选择继续苟且,还是追寻那曾被遗忘的热血与光。 好吧,其实故事并不复杂,就是一群老男孩们热血上头的故事,活一辈子总得留下点什么,那就一起给年轻人打个样儿! 哥几个走着! 他似乎命中注定一生孤独,身边所有亲近之人皆难逃厄运。大敌当前,他空负一身武学却有仇难报。纵然同命运万般抗争,终究仍不免红颜薄命,故友凋零。他唯有斩断尘世纠缠再次只身远走西北大漠,一如当初孤身一人走出茫茫长白山林。天地间回荡起悲怆的歌声……  误入修仙世界,只想苟活于世,却不想误入阴谋之中。 推进前路的,不仅仅是幕后黑手…… 还有隐藏的,深处的未知刀光剑影何处问,自在江湖山野间。2121年,【神话世界】横空出世,这是一款掀起全民进化时代的虚拟网游! 在【神话世界】之内获得的一切能力,将100%同步到现实之内! 重生十年前,叶天回到【神话世界】开服前一刻,开局获得神级建村令! 这一世,他必将收名将美人,灭胡虏异国,鞭笞天下,统一寰宇! 带三国群雄举国飞升,征战万族,成就天帝独尊!沐辰高考落榜,受校花羞辱猝死网吧,重生九龙大陆亡国太子沐辰身上,在情急之下,修炼了“龟阴功”,成为一名天女国假太监。 为了不暴露自己假太监身份,他步步为营,将两世才华进展,赢得女帝和七位公主欢心。加官进爵,成为女帝个七位公主身边最风流的太监。也成就了九龙大陆巅峰人物,一统天下诸国以及各大门派。 菩萨低眉,所以慈悲六道! 撒旦低头,所以血流成河! 以撒旦之名,专职杀戮,他要当最强的那个男人! 最燃的都市,且看一个男人如何成就霸业,成为傲立巅峰的一代传奇!   【七少出品,铁血霸气】 撒旦军团群:198247503 一场车祸,一枚神秘戒指,带着夏天穿越诸天。 我曾和张三丰坐而论道,与小龙女烹雪煮茶;曾掠夺斗帝异火,也曾迎战诸天神佛! 诸天万界,都藏于一枚小小的戒指中。 不一样的江山,不一样的大明,看我王不死如何发财,玩转娱乐圈,嚯嚯大明帝国。
大能耐赘婿 灵气复苏:我靠美食超神 从地球回来后我逐渐无敌 侦察班 九龙狂婿 苦后更甜 全球震惊!我真不是盗墓贼 残骸上的文明 双魂同身:是个穿越者 九转还阳剑 小依不可爱 人 帝 三国:开局被曹操封护国瑞兽 乱世枭雄曹孟德 史上最弱的元素 契约使 大秦:苟成陆地神仙,被金榜曝光了! 异界奇遇录 开局天降系统,我见义勇为 元素:我拥有混沌的能力 民间怪谈诡事录 小说盾神 T F B OY S 小说 八云紫我爱你 小说 三婚 游牧族 小说 小说盾神 慕容 傻子 武侠小说 八云紫我爱你 小说 小说老婆性冷淡 好看的 经典的h多的les小说 小说 冷酷校草的倔强 少年剑皇txt下载 小说 少年剑皇txt下载 小说 好看的重生小说 痴相公 T F B OY S 小说 www.89com 小说 三婚 游牧族 小说 太极剑小说 小说盾神 奸佞给朕跪下 小说 大结小说 T F B OY S 小说 大结小说 奸佞给朕跪下 小说 穿越 世界末日 小说 大学生 求男主角+空间+赌石的小说 好看的重生小说 痴相公 小说盾神 yy小说在线阅读 迅雷下载 奸佞给朕跪下 小说 好看的 经典的h多的les小说 三婚 游牧族 小说 黑猫 女警 小说 好看的小说推荐 完本 www.89com 小说 小说领悟 巡音小说 好看的小说推荐 完本 八云紫我爱你 小说 小说领悟 小说+澜儿 巡音小说 小说老婆性冷淡 官场小说 彭 死于一场大火 太极剑小说 什么小说好 黑猫 女警 小说 少年剑皇txt下载 小说 巡音小说 好看的重生小说 痴相公 青春现在小说男主死了女主怀孕 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 平凡之一 天古帝尊 大道之无恨 第一人格和第二人格 未来中寻找过去 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 欧博游戏官网 慕容 傻子 武侠小说 小说 斗芳华5 三婚 游牧族 小说 小说 斗芳华5 小说领悟 www.89com 小说 太极剑小说 完美情人小说 潇疯 小说 刘俊 好看的小说推荐 完本 官场小说 彭 死于一场大火 好看的小说推荐 完本 小说 冷酷校草的倔强 小说我的同桌 好看的小说推荐 完本 慕容 傻子 武侠小说 小说我的同桌 八云紫我爱你 小说 八云紫我爱你 小说 黑猫 女警 小说 穿越 世界末日 小说 大学生 小说 刘俊 小说 斗芳华5 www.89com 小说 官场小说 彭 死于一场大火 奸佞给朕跪下 小说 求男主角+空间+赌石的小说 小说 黑社会 江湖争霸 yy小说在线阅读 迅雷下载 好看的 经典的h多的les小说