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"
大沥联昊通快递电话大安区天天快递电话大沥平地韵达快递电话大连百世快递官网电话查询大连普兰店顺丰电话大沥联昊通快递电话滁州市邮政快递服务电话大沥平地韵达快递电话达埔国通快递电话大庆大同区中通快递电话大虎山圆通快递电话号大沥平地韵达快递电话池州市迎宾花园快递站电话大虎山圆通快递电话号大连百世快递官网电话大庆大同区中通快递电话楚州顺丰查询电话大连市凌水邮政快递电话大连市凌水邮政快递电话大理中通快递经开区电话达州百世快递北外分布电话大连市凌水邮政快递电话达埔国通快递电话大东区顺丰快递电话号码大连百世快递沙河口区电话大城县邮政电话大连百世快递沙河口区电话大东区顺丰快递电话号码大理中通快递经开区电话池州市迎宾花园快递站电话万年前,某通天者一剑斩神阶,断后世人族成神路。 万年后,灵气枯竭,异族突起,人类面临灭族之危。 外域少年陈一因憧憬,入九州,破秘境,杀神魔,证仙道,解万古之谜。 然登顶神阶,回首白骨累累及昔日师友,不得不叹,修世无双。宋帝都临安府爱国人士:吴俊振,与用时光机穿越过来的现代大学生:马维,两人一起被龙卷风漩涡黑洞带着,穿越到了明崇祯十六年公元1643年兴都留守司显陵卫境内,在机缘巧合之下他们俩主动应征入伍参军,从此开启一段帮助大明帝国收复失地的旅程,本文群号799968110主人公慕成二十五年平凡人生的沉淀与积累。 且看他拥有异能后,怎样的处事风格,怎样造就了辉煌的一生,又是怎样一步步发现灵魂的秘密。 面对强大的守护神帕丁,慕成是如何战胜的,他又将创造怎样的理想世界? 那年阳光正好,少年笑面如花,那年微风不燥,青春飞扬。 那年书海遨游。 那年,玩的没心没肺,也没有做不完的工作。 嗯…那年没谈恋爱… 诸君,且行且珍惜。一个少年的恋爱故事[不喜勿喷]一部日常啰嗦水文。我写文是随心,而不是随意。现代人庄周在梦中成为了三国末世蜀国皇帝刘禅,人人尽知的刘阿斗每日寝宫梦中变成了二十一世纪的都市屌丝庄周。一个有领先千年的现代历史知识的人能借助皇帝的权势改变历史吗?一个夜夜帝王梦的现代屌丝能立志改变命运吗?【千术】+【悬疑】+【腹黑】 我出生千门,千门分八将,上八将和下八将,上八将才是千门正统,手法高明,多方配合,讲究‘术法’,下八将最为让人不齿,没有高明手段,只能坑蒙拐骗,坏事做尽。 我的叔叔是正统的千门正将,我和他学了很多手段,但十赌九亡,在我而立之年,因为千术而进去了,整日唱铁窗泪,现在我弃暗投明,想给大家讲讲我曾经的故事,起到一些警示作用……以张小山的高中生活为主题,写了高中的各种事,反应青春 刘昊穿越到了大唐,大明,魏蜀吴三国并存的世界。 还成了实力吊车尾的蜀汉后主刘禅 吊车尾怎么了,蜀汉国运衰落又怎么了? 刘昊直接到大唐当起说书人,将赵云长坂坡救主的故事变成自己带着赵云杀穿长坂坡。 什么饮马瀚海,封狼居胥,直接扣在自己头上。 靠着历朝各代载入史册的事迹,直接在大唐封神。 什么独步天下李元芳,神探狄仁杰,应梦贤臣薛仁贵,纷纷收入麾下。
红楼:开局便娶秦可卿 转生异界百兽岛之史莱姆篇 九域劫主 国运:妖魔算个屁! 逆境修天 最后一个端公 我与道士的那些事 穿越后无敌的奇葩幻想 我的灵宠怎么都是美少女 成魔证道 大明:满朝奸臣,你让我登基称帝? 黑客撞上黑道 第九行动小组 剑,逍遥 心中锄头手中刀 都市修仙:顶峰相见 浪荡人生 凌枫传 七月之火 四具棺材 元宇宙之自由 大坝一路百世快递电话 大岭镇圆通快递电话 楚州顺丰查询电话 大连普兰店顺丰电话 大坝一路百世快递电话 大东区顺丰电话 楚州顺丰查询电话 大庆东湖地区快递电话 大城县邮政电话 程村圆通快递电话 崔桥镇圆通快递电话 崔桥镇圆通快递电话 滁州经开区顺丰中转站电话 大岭镇圆通快递电话 大沥联昊通快递电话 大连普兰店顺丰电话 崔黄口汇通电话 大城县邮政电话 达州西外申通快递网点电话 大沥平地韵达快递电话 大岭镇圆通快递电话 大连百世快递官网电话 达州西外申通快递网点电话 大虎山圆通快递电话号 大庆大同区中通快递电话 滁州经开区顺丰中转站电话 大城县邮政电话 大安区天天快递电话 达州西外申通快递网点电话 大城县邮政电话 大连普兰店顺丰电话 大岭山杨屋百世汇通电话号码 大连百世快递官网电话查询 大沥联昊通快递电话 大东区顺丰快递电话号码 大连普兰店顺丰电话 大连百世快递官网电话查询 楚州顺丰查询电话 滁州经开区顺丰中转站电话 大连百世快递官网电话 大连百世快递沙河口区电话 程村圆通快递电话 大理中通快递经开区电话号码 崔黄口汇通电话 大虎山圆通快递电话号 大岭山杨屋百世汇通电话号码 崔桥镇圆通快递电话 大连百世快递沙河口区电话 滁州经开区顺丰中转站电话 滁州市邮政快递服务电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 大古剑仙 我师兄是天道之子 请别对鬼下手 只为再见你一次 魔蛋传说之拳王大赛 欧博官网 亚星游戏官网 万利游戏官网 欧博官网 澳门葡京游戏官网 大连普兰店顺丰电话 大连百世快递官网电话查询 楚州顺丰查询电话 大连百世快递沙河口区电话 大虎山圆通快递电话号 滁州市邮政快递服务电话 大岭山杨屋百世汇通电话号码 滁州经开区顺丰中转站电话 大庆大同区中通快递电话 滁州经开区顺丰中转站电话 达州西外申通快递网点电话 大理中通快递经开区电话 程村圆通快递电话 大沥平地韵达快递电话 池州市迎宾花园快递站电话 达州西外申通快递网点电话 滁州市邮政快递服务电话 池州市迎宾花园快递站电话 滁州经开区顺丰中转站电话 滁州市百世快递电话号码 崔桥镇圆通快递电话 大东区顺丰电话 崔桥镇圆通快递电话 滁州市邮政快递服务电话 达州百世快递北外分布电话 大虎山圆通快递电话号 大连百世快递官网电话 大岭镇圆通快递电话 大坝一路百世快递电话 达埔国通快递电话