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"
广东深圳快捷快递电话号码广西平南县的电话区号广东顺德伦教镇电话号码广东优速总部电话查询广东优速总部电话号码多少钱广东深圳快捷快递电话号码广汉市中通快递电话号码广东顺德伦教镇电话号码广西南宁快捷快递电话号码是多少广东省申通快递电话广东申通客服电话广东顺德伦教镇电话号码广东中通物流单号查询电话广东申通客服电话广东优速总部电话广东省申通快递电话广西红楼快递电话广东省区号电话号码广东省区号电话号码广西玉林快递电话号码广西南宁快捷快递电话号码是多少钱广东省区号电话号码广西南宁快捷快递电话号码是多少广西玉林百世快递电话号码多少广东优速总部电话号码多少广西玉林百世快递电话广东优速总部电话号码多少广西玉林百世快递电话号码多少广西玉林快递电话号码广东中通物流单号查询电话不追求CP结合,架空历史的一部帮派穿越小说! 道上老大白楚阳,在一次斗殴中被人刺杀,结果直接穿越到数百年前的白氏家族。 为了能让自己存活下去,同名同姓的白楚阳,使出自己在现代混迹的所有本领,让这个古代的白氏家族,逐渐成为一方霸主! 一朝穿越,成为朱元璋十七子。 赐封宁王,朱权有点皮。 朱元璋:朱家老十七,纨绔属第一! 直到洪武六十大寿…… 这一天,有人单骑斩叛将,纳哈出归降。 这一天,有人发粮赈灾民,百姓终活命。 这一天,天降祥瑞传国玺,大明得国正。 这一天,朱元璋册封朱权,无敌宁王! 30后地球被一束光包裹着,当光散去,人类的眼睛发生了变异甚至动物也是。眼睛变异的生物拥有了超人般的能力被称为异瞳者。单懿是五年前编号012赤级副本的唯一幸存者,但抛弃懦弱一直贯穿着他的一生。五年后,单懿成功地证明了自己并且要为自己的同伴报仇。天地玄黄,宇宙鸿荒……一个老大的人干嘛还读这个?啥?我小叔叔是个盗墓的?本事普通的少年,经历了不可言说的人生,异界大陆的他能走出怎么的不平凡。少年被家族遗弃,遭受刺杀修为被废。 危难之际开启镇魂世界,神秘女子百般磨练,终修剑道。 自此修行坦荡,领悟无上剑道,修不灭剑体。 修武技,破苍穹,入圣域,掌握天下权,醉卧美人膝,翻手为云,覆手为雨, 轻挥手中剑,剑出移山镇海,诸天星辰陨落,横断八荒四野; 九洲雷霆动,剑气侵万古,临绝世剑神。此篇文章并非笔者原创作品。只是近来想到,文言文的书籍对于大多数人来说存在阅读困难,而通用的译本又比较单调乏味,于是笔者便想到何不用另一种手法将那些好的古文故事复写一遍,添加些许自创的情景和想法,尽量让故事看起来更有趣一些。于是首先选定了《聊斋志异》这本书。当然,还是推荐大家去读一下蒲松龄先生的原文,体会一下这个古代文学的写作手法,感受一下那些古词韵句,那是真正的经典绝伦、回味无穷啊。孟枝花意外得到一枚储物戒指。 从而走上修仙之路,不喜打打杀杀,只爱种田看书。 身不由己,她组建团队,成了修仙界第一门派! 后来,门派相互乱斗,让她看透人性。 从此,她一个人隐居山林,与鬼魂作伴。 懒得介绍【2021年爆火迪化流洪荒文】 穿越到洪荒世界,还是个手无寸铁的凡人,本以为靠着系统能横行洪荒,没想到系统居然还跑了,这可怎么搞? 最关键的是封神在即,这可是连圣人无法避免的天地量劫! 林轩表示,咱还是先苟着吧! 但让他没想到的是,他随手打下的鸡,居然是鲲鹏妖师! 被他逗的满脸通红的美女,是西王母和三霄娘娘! 林轩懵了,他其实真的只想苟啊!
麦叶圈里的时钟 修真身份被曝光了 我是法官 镇洪渊 青松傲宇 因为我是魔王 寻找神格 醉风月 离奇的梦 祈魂传说 木鱼僧 齐天凶残 穿越后成为最强反派弟子? 丧尸的自我修养 黄昏芝初 囚徒日记之飘零燕 碎墟纪 玄幻:我真的不是绝世高手 我,范马孔子门徒,以德服人 我的职业横断万古 广西岑溪打的电话号码 广东市电话区号 广西红楼快递电话 广东优速总部电话号码多少钱 广西岑溪打的电话号码 广西玉林百世快递电话号码 广西红楼快递电话 广东省深圳市坂田圆通电话 广西玉林百世快递电话 广东省深圳市坂田圆通快递电话 广西南宁快捷快递电话号码 广西南宁快捷快递电话号码 广西玉林快递电话 广东市电话区号 广东深圳快捷快递电话号码 广东优速总部电话号码多少钱 广西南宁快捷快递电话 广西玉林百世快递电话 广西南宁南北物流电话号码 广东顺德伦教镇电话号码 广东市电话区号 广东优速总部电话 广西平南县的电话区号 广东申通客服电话 广东省申通快递电话 广西玉林快递电话 广西玉林百世快递电话 广西平南县的电话区号 广西南宁南北物流电话号码 广西玉林百世快递电话 广东优速总部电话号码多少钱 广东申通客服电话人工 广东优速总部电话查询 广东深圳快捷快递电话号码 广西玉林百世快递电话号码多少 广东优速总部电话号码多少钱 广东优速总部电话查询 广西红楼快递电话 广西玉林快递电话 广东优速总部电话 广东优速总部电话号码多少 广东省深圳市坂田圆通快递电话 广东深圳快捷快递电话查询 广西南宁快捷快递电话 广东申通客服电话 广东申通客服电话人工 广西南宁快捷快递电话号码 广东优速总部电话号码多少 广西玉林快递电话 广汉市中通快递电话号码 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 我当侦探的日子 我在异界当倒爷 往事如烟其一 腥红警戒 从击败职业选手开始 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 广西南宁快捷快递电话号码是多少 广东省深圳市坂田圆通快递电话 广东市电话区号 广汉市中通快递电话 广东顺德伦教镇电话号码 广西玉林百世快递电话号码 广东优速总部电话 广西红楼快递电话 广东中通物流单号查询电话 广西南宁快捷快递电话 广西玉林百世快递电话号码 广西南宁快捷快递电话号码是多少 广西南宁快捷快递电话 广东申通客服电话人工 广西南宁快捷快递电话号码 广西南宁南北物流电话号码 广东深圳快捷快递电话查询 广西平南县的电话区号 广西南宁快捷快递电话号码是多少 广西玉林百世快递电话 广东省深圳市坂田圆通电话 广东中通物流单号查询电话 广东省深圳市坂田圆通快递电话 广西玉林百世快递电话号码多少 广西岑溪打的电话号码 广西玉林快递电话 广东优速总部电话号码多少钱 广东申通客服电话 广西玉林快递电话 广西南宁快捷快递电话号码