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"
在银行贷款20万元利息是多少钱怎么查过有贷款怎么贷款交首付怎么贷款交首付买房在银行贷款失联会在线咨询贷款购车枣强贷款公司怎么贷款交首付再次贷款助学如何办理在国外怎么贷款在重庆学生贷款在银行贷款20万元利息是多少钱怎么告小额贷款公司吗在支付宝上还助学贷款怎么贷款交首付在国外怎么贷款怎么样的保单可以贷款在支付宝里怎么贷款在支付宝里怎么贷款在线快速申请贷款在还的贷款可以取消吗在支付宝里怎么贷款再次贷款助学如何办理在捷信贷款还能在贷吗在银行贷款失联会怎么查我都有什么贷款怎么贷款交首付买房在捷信贷款还能在贷吗在人人贷贷款安全吗怎么告小额贷款公司吗千人千面,千人一聚。白虎堂让素不相识的人聚在一起,有了羁绊,就有了意义。尝试按心中合理的写法写写看会出来什么东西。许天扬。男。 未婚。职业:厨师,,。多愁善感,帅,只因女友丁羚一句话,所以他爱穿西装,甚至厨师的白大挂都想做成西装款。 在都市刻苦学艺,并因为从小练就了一身好功夫,在社会上结识了几位生死挚友并一起打拼出属于他们自己的一片天地。 【家族流+不圣母+快节奏+半幕后流+半无敌】 一朝穿越,成为小家族家主的林洛,开局获得家族氪金暴击成长系统! 什么?天下万物,无不可暴击? 什么?暴击还能获得忠诚度? 给家主我使劲地暴暴暴! 天之骄子?去,我林家儿郎上去先扇他几个耳光! 修炼至宝?不好意思,我林家宝库不收这种垃圾! 武帝大佬?开玩笑,也就我林家护卫的水平! “天呐!我家家主逆天了!” 天骄辈出,大能投奔,林家之威,盖压寰宇! 且看林家如何在林洛的带领下,从微末小家族一步步成长为诸天帝族!“爸爸,我要吃饭饭!” 一觉醒来,来到平行世界的刘子夏,多了个亲的不能再亲的闺女。 为了让女儿吃饱饭,为了让女儿住大房子,也为了让女儿她娘回来…… 刘子夏能怎么办?他也很无奈啊! 好在刘子夏带着一个世界的文娱信息,这些压力,似乎不存在啊? 面对那些文娱大佬,刘子夏表示: “不要误会,我不是针对你,我是说,在座的各位都是垃圾!” 公布企鹅群:1054365860(一零五四三六五八六零)在岩浆中泡澡,在上古杀阵中睡觉; 开着重型装甲车纵横异界; 乘着高达战警和哥斯拉斩仙弑佛…… 搞了个属性值系统,从此加点只加防御! 没办法,怕痛啊!异界的大罗金仙都好凶的,个个都会大威天龙,每天都开小会研究怎么破我的防。 咱也不知道他们为啥这么执着……  【爆爽快穿+全民穿越+诸天万界】   三个月前,全民穿越的时代开启;   然而三个月过去了,超高接近百分百的死亡率却让普通人对成为穿越者避之不及;   只想当个普通人的沐尘幸运地被选中成为00001号穿越者;   在他之前00001这个编号在短短三个月的时间已经死了六任穿越者 而沐尘接到的第一个任务是……暴揍荒天帝… 之前我在别的网站也写过这个,所以没什么雷同之说,而且基本上都是我写的为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   这是一个普普通通的穿越者 这是一方家国不存的废土世界 突如其来的无限轮回 生存,毁灭 追寻剑的真谛
灵气复苏:亿万增幅修炼 穿越后,我暴打仙侠大佬 谍战求存之我只想活过一集 末世游戏:我成了一只丧尸 门山幽谷 赢万难 秋与秋月 亡域轮回 一个弱者的英雄梦 未来世界之宇宙法则 英雄的赞歌 弑天药帝 雷剑尊 重生我再也不会啃老了 雄威!大唐无双 疯了吧,我宗门的弟子都成仙了! 我的那些年之校园风云录 噩梦教室 全民领主:我的运气无敌了! 我主您冷静 怎么查过有贷款吗 在重庆学生贷款吗 怎么样的保单可以贷款 在支付宝里怎么贷款 怎么查过有贷款吗 怎么查我都有什么贷款吗 招行贷款还款自动扣吗? 在国外怎么贷款吗 怎么查我都有什么贷款 怎么告小额贷款公司吗 再次贷款助学如何办理 招行贷款怎么还款 在金融公司贷款买车骗 在国外怎么贷款 在线咨询贷款购车 在银行贷款失联会 招行贷款还款自动扣吗? 怎么查我都有什么贷款 在还的贷款可以取消吗 在银行贷款20万元利息是多少钱 在重庆学生贷款吗 怎么贷款交首付 怎么查过有贷款 在支付宝上还助学贷款 在国外怎么贷款 在金融公司贷款买车骗 怎么查我都有什么贷款 怎么查过有贷款 在还的贷款可以取消吗 怎么查我都有什么贷款 在银行贷款失联会 在重庆学生贷款吗 怎么贷款交首付款 在银行贷款20万元利息是多少钱 在捷信贷款还能在贷吗 在银行贷款失联会 怎么贷款交首付款 怎么样的保单可以贷款 在金融公司贷款买车骗 怎么贷款交首付款 在银行贷款失联会 怎么告贷款公司利息 在线快速申请贷款 招行贷款怎么还款 在支付宝上还助学贷款 在重庆学生贷款吗 招行贷款怎么还款 怎么贷款交首付买房 在人人贷贷款安全吗 枣强贷款公司 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 植菌 我没想成仙 忧郁骑士猫斯特 御兽之殇 我是一个兵之兵之路 亚星游戏官网 万利官网 欧博游戏官网 亚星官网 葡京官网 在国外怎么贷款 怎么查过有贷款吗 怎么贷款交首付 怎么贷款交首付买房 怎么贷款交首付款 怎么查我都有什么贷款吗 怎么投诉给你花贷款 招行贷款怎么还款 在捷信贷款还能在贷吗 在人人贷贷款安全吗 在捷信贷款还能在贷吗 在重庆学生贷款吗 在金融公司贷款买车骗 在线咨询贷款购车 在线咨询贷款购车 怎么查过有贷款吗 在合肥公积金如何提取公积金贷款额度 怎么贷款交首付款 怎么告贷款公司利息 怎么投诉给你花贷款 怎么告小额贷款公司吗 在支付宝里怎么贷款 怎么查我都有什么贷款 在人人贷贷款安全吗 在支付宝里怎么贷款 在重庆学生贷款 在支付宝里怎么贷款 在合肥公积金如何提取公积金贷款额度 在支付宝上还助学贷款 在国外怎么贷款吗