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"
虐心的家庭电视剧排行榜前十名折颜电视剧结局姐妹行电视剧回放看电视剧咱家第21集新济公活佛电视剧下载地址虐心的家庭电视剧排行榜前十名解放后题材电视剧姐妹行电视剧回放清吏电视剧以前的韩国电视剧杨幂主演的新电视剧姐妹行电视剧回放80年代电视剧走光图片杨幂主演的新电视剧姐妹行电视剧回放欧美电视剧在线播放视频视频视频孙俪陈晓演过什么电视剧舒淇的电影和电视剧全集新济公活佛电视剧下载地址青年医生电视剧第1集电视剧刘涛怀孕舒淇的电影和电视剧全集清吏电视剧韩国电视剧沙漏围城电视剧主题歌词七岁娶媳妇电视剧围城电视剧主题歌词吕良伟最早电视剧全集青年医生电视剧第1集香港的电视剧经典神话逆天仙尊,创世兵魂万界领主游戏开启,所有人穿越异世成为一国之君。 但几天之后,大家才悄然醒悟自己将要面临的处境。 藩王作乱,宦官专政,太后垂帘… 在这些势力眼中,国君只不过是任人揉捏的傀儡蝼蚁。 而这并不是演习,稍有不慎,即是亡国换代,身死异世。 好在,梁秋觉醒了帝皇模拟器。 【获得三道帝皇气运,现在开始模拟】 【二月廿二日,你成为一国之君】 【二月廿三日,你励精图治,朝堂之上震展龙威!】 【二月廿九日,被刺客潜入皇宫杀害,你死了】 【模拟结束,可永久保留一道帝皇气运】 …… 当七日后的新手保护期结束时,梁秋望着这败乱朝堂温雅冷笑。 “是时候变天了。”前世顶级杀手转生异界骷髅?! 诡异书页 ,神秘纹路,脑中突然出现的那是什么... 隐秘如一团团迷雾笼罩。 前所未有的异界大陆,阿尔伯特睁开了眼睛。 ”我的士兵,帮助你们的王铲除掉来犯的蝼蚁!” “你管眼前这个叫蝼蚁?!” 阿尔伯特的异界冒险,开始了!这是一个快意恩仇的侠义江湖,这是一个弱肉强食的仙侠世界…… 在这里,洛凡掌握乾坤、剑指八荒,掀起武道风云…… 然而,当洛凡以为自己已经站在这个世界的巅峰之时,殊不知,他所掀开的那个世界,不过是浩瀚宇宙的冰山一角……在泰拉大陆这片大地上每时每刻都发生着故事,而这里的日常却不太寻常每个人都有守护灵守护,某些人却可以看到守护灵……尘寰外,碧海中,桃花之间桃花岛。秋风起,海波兴,几度潮来听玉箫。且看东邪黄药师传人,如何纵横都市。满天神佛朝我跪拜,天下美女唯我独揽!已完本,放心阅读。此天命也一个拥有着人、鬼、妖、仙的世界,在城市中少数能看到妖和鬼的人一部分可以和他们签订契约,成为和他们一起战斗的御灵师。由于分歧,他们形成了两大阵营,为了自己的理念而战斗。主角林墨和他的伙伴也会在战斗中相互成长,也在这个城市中过平常而温馨的生活……高考又一次失败,却意外进入了神秘学院。从此踏入了宿命早已注定的道途。 犯我中华者,虽远必诛! 有我在!尔等休想猖狂!
万道经 奇诡水灵师 鸦之报返 世界,重启 天机十八策 驸马爷快跑,公主要找你报仇 猛鬼大厦 我的影子瞒着我,偷偷无敌 救赎的傀儡 雨做的风 特殊战士 人王剑尊 神灵星空! 我能复活修仙 护仙 江湖风云诡谲 骓驲传 苹安 惊鸿轮回 鏖战蓝天 七岁娶媳妇电视剧 欧美电视剧在线播放视频视频视频 日本空乘电视剧 新济公活佛电视剧下载地址 折颜电视剧结局 吕良伟最早电视剧全集 日本空乘电视剧 欧美深夜电视剧 迅雷下载 迅雷下载 迅雷下载 嫦娥仙子电视剧 80年代电视剧走光图片 风雨丽人全集电视剧全集在线观看 风雨丽人全集电视剧全集在线观看 韩国电视剧沙漏 欧美电视剧在线播放视频视频视频 虐心的家庭电视剧排行榜前十名 围城电视剧主题歌词 香港的电视剧鬼片大全国语 七岁娶媳妇电视剧 在线战争电视剧 姐妹行电视剧回放 欧美电视剧在线播放视频视频视频 姐妹行电视剧回放 在线战争电视剧 舒淇的电影和电视剧全集 以前的韩国电视剧 朵法拉下电视剧 七岁娶媳妇电视剧 在线战争电视剧 在线战争电视剧 嫦娥仙子电视剧 新济公活佛电视剧下载地址 特种兵高飞电视剧全集在线观看 看电视剧咱家第21集 虐心的家庭电视剧排行榜前十名 韩国电视剧沙漏 围城电视剧主题歌词 看电视剧咱家第21集 日本空乘电视剧 韩国电视剧沙漏 外国的动画科幻电视剧 围城电视剧主题歌词 欧美深夜电视剧 迅雷下载 迅雷下载 迅雷下载 青年医生电视剧第1集 香港的电视剧鬼片大全国语 杨幂主演的新电视剧 特种兵高飞电视剧全集在线观看 风雨丽人全集电视剧全集在线观看 围城电视剧主题歌词 朵法拉下电视剧 孙俪陈晓演过什么电视剧 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 神隐之城 我名:恒生 凡间九生 武者修罗 理想国的破灭 万利官网 欧博官网 亚星游戏官网 AG真人 百家乐官网 青年医生电视剧第1集 青年医生电视剧第1集 嫦娥仙子电视剧 吕良伟最早电视剧全集 折颜电视剧结局 外国的动画科幻电视剧 杨幂主演的新电视剧 风雨丽人全集电视剧全集在线观看 七岁娶媳妇电视剧 香港的电视剧经典神话 电视剧刘涛怀孕 以前的韩国电视剧 吕良伟最早电视剧全集 日本空乘电视剧 外国的动画科幻电视剧 外国的动画科幻电视剧 清吏电视剧 电视剧刘涛怀孕 孙俪陈晓演过什么电视剧 吕良伟最早电视剧全集 吕良伟最早电视剧全集 新济公活佛电视剧下载地址 外国的动画科幻电视剧 在线战争电视剧 韩国电视剧沙漏 特种兵高飞电视剧全集在线观看 七岁娶媳妇电视剧 新济公活佛电视剧下载地址 电视剧刘涛怀孕 清吏电视剧