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"
靖西城市便捷酒店电话威海超级婚纱电话号码全汁全味 电话肇庆永东巴士售票电话大连泰山啤酒电话靖西城市便捷酒店电话天津首都机场客服电话是多少全汁全味 电话毛主席纪念堂联系电话四方长途站汽车电话速8北京东四店电话全汁全味 电话成县蓝天大酒店电话速8北京东四店电话全汁全味 电话西宁供电故障电话号码泰和酒店电话枣庄万达电话大连泰山啤酒电话汝州到西安快递电话淄博途家斯维登电话枣庄万达电话毛主席纪念堂联系电话大不同酒店电话大坡车的随车电话号码朝丰商务酒店 电话大坡车的随车电话号码大窑嘉宾加盟电话汝州到西安快递电话福州到无锡的汽车时刻表查询电话一直被现实生活给打击的网文写手林凡,在一次散步中被神秘巨龙吞噬......当他醒来时,这个世界充满了神秘的色彩:古神与新神的对立,炼金术与魔法的冲击,命运,背叛,恶魔的低语;诅咒,转职,神圣的呼唤......危险一直在身边,面对成神的诱惑,他只有一个想法:回家!这是一场天局,执棋的人,只有林凡与众神! 考研上岸的许青,终于端上了梦寐以求的铁饭碗。 只是,这个饭碗跟他想象的有点不一样,他穿越到一个刚刚亡故的捕快身上。 更是被一个身材高挑,黛眉星瞳的俊俏女捕头看中,被对方挑过去当手下。 许青原本是拒绝的。 直到他看见女捕头随随便便掰断了一根石头做的灯柱…… 女捕头:“我不喜欢勉强别人,你若不愿意跟着我便说出来。” 许青:“卑职愿意,这乃是卑职遵从内心的决定!无有半点勉强之意!” 东汉末年,汉室崩塌。 刘闲意外穿越到这乱世,开始一段传奇人生。 利用遥遥领先这个时代的知识,收名将,戏红颜,混的风生水起。 同时训练出一支傲视当世的铁血精锐。 刘姓为王,大浪淘沙。 待一切尘埃落定之后,一个完全不同的大汉帝国重新出现在了大地的东方。我是一名女大学生,因旅游误入一个叫潮泗镇的地方,并且稀里糊涂的当上了一名古玩店店长...凭空出现的玉簪,夜里的吟唱声,各怀心事的镇民...朝泗镇的背后隐藏怎样的秘密,我又该如何在这波谲云涌的局面中拨云见日...忽如其来,全民被一款神秘游戏选中,投入异世界做族长,发展文明,参与万族争霸。 在这里,不但有弱肉强食的原始厮杀,也有蓝星从未拥有过的神奇力量,这里有无限可能。 有人一门心思攀爬科技树,有人执拗选择魔法横推,项星河却注重挖掘培养各类人才。 于是,当其他人还在为出现一个黄金级战士而沾沾自喜时,项星河身边已经猛将环绕,谋士遍地,学者成堆…… 魔法帝国:“凭什么我靠魔法立国,手下的魔导士还没他多?” 机械神教:“凭什么我族都摆脱血肉了,子民平均寿命还比不过他们!!” …… 众势力:“见到星河帝国军团,一定要快点跑,否则他们会把你打一顿,再洗脑让你自愿参与解剖实验……”宁寒带着九份婚约从孤岛走出来,寻找自己的姐姐们。 大姐齐怀柔,著名科学家; 二姐林潇潇,国际影星; 三姐凌秋雨,冰山总裁; 四姐白月茹,歌坛巨匠; 五姐姬青莲,天榜杀手…… 诸如此类,我有一百零八个姐姐。这是一个打游戏的男孩遇上一个女孩的故事。这,这是传说中的齐天大圣孙悟空? 他让我过去,还要教授我无敌绝学? 还让我捅破天,大战天庭与佛界? 一本关于中世纪风帆海战时代的传奇冒险记录,冒险与机遇并存,黄金与自由的权衡。 书友群7306644442,可以加进来一起讨论剧情,哪里觉得不合理也可以一起讨论,是会看读者眼色行事的机智(憨批)作者【文娱+单女主+狗粮+日常】 刚和明星老婆离婚,林舟便意外成为了当红小天后的私人男助理。 恰逢穿越记忆复苏,林舟没有意外的开始当起文抄公。 然后,传说中的天后背后的那个男人上线了! 二线歌手前妻:“林舟是个不错的男人,可惜他太平庸,不能在事业上帮助我。” 国民女神.绝美腿精.超级天后:“如果没有遇到林舟,我绝不可能有今天的成就!太感谢他的前妻了,把这么优秀的男人送到了我身边!” 前妻:“?” 林舟:“我只是个私人助理,什么金牌词曲人、白金编剧、大导演、征服冰山女神的男人……这些都和我没关系,真的!”
我只是个文艺片导演啊 缘曦 百妖物语之山海经 居然有个高手 墨阁的黑色秘密 妄自尊仙 金戈铁马画江山 我的宠物是大佬 食灵者 一个鬼的归宿 我有万界娃娃机 星际争霸之帝国永存 网大公开课进群 大鼓皇后的婚事 灵异魔说 星岸之下 地表最强系统 命中之纹 我怕君心易变,浮生若梦 万世灵冢 朝丰商务酒店 电话 西宁供电故障电话号码 卢龙旅游社电话 大连泰山啤酒电话 威海超级婚纱电话号码 大窑嘉宾加盟电话 卢龙旅游社电话 烟台到义乌火车高铁时刻表查询电话 龙口天天过年电话 成县蓝天大酒店电话 康宁推拿电话 康宁推拿电话 大不同酒店电话 西宁供电故障电话号码 靖西城市便捷酒店电话 大坡车的随车电话号码 京味楼烤鸭电话太原 朝丰商务酒店 电话 浦东游泳馆 电话 全汁全味 电话 西宁供电故障电话号码 全汁全味 电话 浦东游泳馆 电话 枣庄万达电话 四方长途站汽车电话 怎么给俄罗斯打电话 朝丰商务酒店 电话 浦东游泳馆 电话 浦东游泳馆 电话 龙口天天过年电话 大连泰山啤酒电话 南京东航货运电话号码 肇庆永东巴士售票电话 靖西城市便捷酒店电话 大不同酒店电话 大坡车的随车电话号码 肇庆永东巴士售票电话 卢龙旅游社电话 大不同酒店电话 临沂到青岛长途车电话 大坡车的随车电话号码 烟台到义乌火车高铁时刻表查询电话 汝州到西安快递电话 京味楼烤鸭电话太原 速8北京东四店电话 南京东航货运电话号码 康宁推拿电话 大坡车的随车电话号码 怎么给俄罗斯打电话 泰和酒店电话 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 神话复苏:我东方神明何惧征战 大唐憨婿 玄武裂天 穿越:我在玄幻造大炮 史上最弱的元素 契约使 快连下载 亚星管理平台 亚星官网 快连下载 亚星管理平台 汝州到西安快递电话 枣庄万达电话 靖西城市便捷酒店电话 汝州到西安快递电话 烟台到义乌火车高铁时刻表查询电话 苏州到南京时刻表查询电话 临沂到青岛长途车电话 四方长途站汽车电话 肇庆永东巴士售票电话 威海超级婚纱电话号码 大连泰山啤酒电话 威海超级婚纱电话号码 京味楼烤鸭电话太原 朝丰商务酒店 电话 南京东航货运电话号码 大不同酒店电话 南京东航货运电话号码 卢龙旅游社电话 四方长途站汽车电话 南京东航货运电话号码 威海超级婚纱电话号码 西宁供电故障电话号码 福州到无锡的汽车时刻表查询电话 淄博途家斯维登电话 福州到无锡的汽车时刻表查询电话 肇庆永东巴士售票电话 泰和酒店电话 临沂到青岛长途车电话 怎么给俄罗斯打电话 大坡车的随车电话号码