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"
汉川驾校具体位置汉川志立驾校学车地点汉川驾校招聘汉川俊通驾校电话汉川骏通驾校好不好汉川驾校具体位置汉川市骏通驾校电话汉川驾校招聘汉川志立驾校报名费汉川马口顺安驾校地址汉川客运站驾校汉川驾校具体位置汉川市驾校学车汉川客运站驾校汉川驾校招聘汉川马口顺安驾校地址汉川市天赐驾校在哪里?汉川骏通驾校好不好汉川骏通驾校好不好汉川华达驾校总部汉川志立驾校科二考场汉川靠谱点的驾校汉川志立驾校报名费贵安驾校考试车好吗汉川骏通驾校qq群汉川志立驾校在哪里汉川俊通驾校电话汉川志立驾校怎么样汉川华达驾校总部汉川市骏通驾校惨遭盟友背叛身死,重生后记忆全无,父亲不是父亲,母亲不是母亲,一切的秘密,都将会有解开的一天;所有的仇敌,都会被屠戮灭杀。穿越成禽满四合院的傻柱,绑定一个神级选择系统,越怼奖励越丰厚! 开局怒怼贾家恶婆婆,谁让她不怀好意多管闲事! 秦淮茹?给我介绍对象?请立刻滚蛋。 三大爷给我献殷勤,我不吃这一套! 别看傻柱前世是个老好人,现在的他可800个心眼子! 重生四合院,正好治一治你们这些禽兽!!!掌混沌太荒之力,修真龙不灭之体,诸天万界,唯吾独尊,觉神脉,修神诀,武道之极,逆天屠神!天道生万物,秘境生机缘……漫漫长生路,通往天道门,修行的最后是秘境的最终缔造者……一曲长歌动天下 一剑光寒十九州 救苍生,斩邪魔 宋鸾不负天下人一个在世上混了二十几年,一事无成的人,常年做着帝王梦。终于,梦醒了。他失眠了,精神分裂,住进了精神病院。万万没想到,他却因病而成网红,实现人生逆袭。可好景不长,这医院原来是穿越基地。他和病友们穿越了,穿越到一万年以后。 【灵异、悬疑、惊悚、探险、宠物、系统、游戏、搞笑】 废弃的别墅,消失的山村,黑暗的血楼…… 人头蜘蛛,红衣厉鬼,浑身是手的怪物…… 在这个深夜的恐怖世界里,王尊稳如老狗,遇人先问娘,杀鬼必扬灰,万事只求一个安稳! 别人还恐惧在诡异怪谈中时,王尊在惊悚游戏世界里杀疯了。一位小家族出身的李星幼时父母便不知所踪,由于父亲犯下的错,使得他倍受同族欺凌。资质平平的他在炼丹方面却天赋卓绝,偶然得到一门顶级功法,书中竟有强大的书灵,在书灵的悉心指导下,他的修为也一日千里,他立志要成为大陆最强修仙者,为自己正名。这是一个奇怪的梦中世界。 恐怖杀阵,吃人怪物,奇幻景象,更可怕的却是人! 这里危机重重,还有无数迷团。必须在这个地方活下来,找出逃离的办法!这一切的故事 都要从两位人族帝者的生死对决 开始讲起 …… 他魂穿千年 并重获新生 来到了一个名为“沙林”的小村子 …… 少年啊!走出这个村子 然后 开始书写属于你的 人生新篇章吧……
三世渡 古老之风云再起 KOF97 大蛇篇 不完美重生之都市修仙 不周树 此事古难全 我与妖女一起斩神 起航时代 狗剩奇遇记 娱乐:最穷明星,被迫带货 大道源 洪荒道临 桃园圣手 五灵兽尊 太祖降临:我在地府当差 变频 浊云录 死亡诞生序曲 幽冥话本:太史令 惊天大阴梦 汉川志立驾校学车地点 汉川马口顺安驾校地址 汉川市天赐驾校在哪里? 汉川骏通驾校好不好 汉川志立驾校学车地点 汉川志立驾校在哪里学 汉川顺安驾校电话 汉川马口顺安驾校电话 汉川志立驾校在哪里学 汉川市驾校学车 汉川兴晟驾校电话 汉川兴晟驾校电话 贵安驾校考试车好吗 汉川马口顺安驾校地址 汉川驾校具体位置 汉川骏通驾校qq群 汉川天恒顺安驾校电话 汉川志立驾校在哪里 汉川志立驾校如何 汉川驾校具体位置 汉川马口顺安驾校 汉川驾校招聘 汉川志立驾校如何 汉川靠谱点的驾校 汉川马口顺安驾校电话 贵州威胜驾校图片 汉川志立驾校在哪里 汉川志立驾校如何 汉川志立驾校科二考场 汉川志立驾校在哪里 汉川骏通驾校好不好 汉川马口顺安驾校 汉川俊通驾校电话 汉川驾校具体位置 贵安驾校考试车好吗 汉川骏通驾校qq群 汉川驾校招聘信息 汉川顺安驾校电话 贵安驾校考试车好吗 汉川驾校招聘信息 汉川骏通驾校qq群 汉川市驾校哪家好点 汉川华达驾校总部 汉川天恒顺安驾校电话 汉川客运站驾校 汉川马口顺安驾校 汉川兴晟驾校电话 汉川骏通驾校qq群 贵州威胜驾校图片 汉川市骏通驾校电话 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 道士下山之驱邪录 护魂殿 溪尘 荒芜古墓 大秦:我能召唤万物 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 万利游戏官网 汉川驾校具体位置 汉川志立驾校如何 汉川客运站驾校 汉川客运站驾校 汉川志立驾校在哪里学 汉川志立驾校怎么样 汉川志立驾校科二考场 汉川驾校具体位置 贵安驾校考试车好吗 汉川靠谱点的驾校 汉川市驾校哪家好点 汉川志立驾校学车地点 汉川华达驾校总部 汉川马口顺安驾校地址 汉川志立驾校在哪里学 汉川市骏通驾校电话 汉川志立驾校学车地点 汉川志立驾校如何 汉川客运站驾校 汉川客运站驾校 汉川志立驾校在哪里 汉川志立驾校在哪里学 汉川志立驾校报名费 汉川志立驾校如何 汉川志立驾校怎么样 贵州威胜驾校图片 汉川驾校招聘信息 汉川市骏通驾校 汉川志立驾校报名费 汉川马口顺安驾校地址