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"
东莞南城有那些驾校甘肃西和驾校东莞南城有那些驾校东莞通圣驾校总部电话东莞同乐驾校地址东莞寮步通圣驾校甘肃靖远驾校东莞桥头通圣驾校电话甘肃平川驾校甘肃崇信驾校甘肃残疾人驾校在哪呢东莞南城有那些驾校甘肃会宁驾校报名费阿克苏驾校科目四考试东莞桥头通圣驾校电话甘肃崇信驾校甘肃康县驾校鄂州市荣华驾校电话鄂州市荣华驾校电话东河哪个驾校最好甘肃武都驾校鄂州市荣华驾校电话甘肃平川驾校东河昆仑驾校怎么样东莞同乐驾校地址东方时尚驾校 科目四东莞通圣驾校总部电话东河昆仑驾校怎么样东河哪个驾校最好甘肃会宁驾校报名费我叫李真,今天是我进入玄天道宗第三天,是的,我是天上第一仙他,是世界顶级组织kh的核心精英级特工,原本拥有优质的一切,然而有天,他厌倦了一成不变的生活,虽然条件优越,可必定受制于人,于是他决定,摒弃目前所拥有的一切,重新开始,重新书写他璀璨的一生上至神界,下落黄泉,我有一剑,屠神戮仙! 万界之中,种族无数,强者为尊,在帝劫中身殒的剑神苏平,转生成大夏青风城苏家弟子。阴谋诡计、魑魅魍魉,我以手中剑,斩尽眼中不平事!待我重临巅峰之日,但问一句:此剑锋利否?历史给人的唯一教训就是人们从未在历史中吸取过任何教训!!!都说时势造英雄,都说站在风口浪尖上的哪怕就是猪也可以起飞。 而如今,异界的幻想神格砸落王羽身上。 他将何去何从,平淡一生,荒骨枯坟还是俯瞰万界,遥指乾坤?大帝一怒风云起,乱世能人定乾坤。 封云本是一名无名杂役,却在十八岁通界灵上将魔神作为自己的护门界灵,自此炼佛魔骨,锻大自在树魂,御华龙,在这风云激荡的乱世,成就一方大帝。五十年后,奥里雷亚诺:“站在你面前的是,共和国的传奇上校,自由党的精神领袖,永不失败的战争之神,奥里雷亚诺!” 尤尼尔:“站在你面前的是,斗鸡兴起人,传奇神话,香蕉之父,弑神者,失眠大师......你最亲爱的叔叔,尤尼尔!” “还不过来挨打!” (纯土著视角,保证没看过《百年孤独》的同学也能放心食用)人?妖?神? 十万年来,混战不休,民不聊生,气运之争,成仙之路注定血腥! 神明高高在上,那我张空,可屠神否?一觉睡醒,竟成为大林皇帝! 看着满朝忠臣,本想成为千古一帝,却绑定了最强昏君系统! 林凡:“朕要暴征横敛,民不聊生。” 比干:“陛下,别增税了,国库装不下了!” 林凡:“朕要扩大疆土,发动战乱!” 岳飞:“世界已是我国疆土。” 林凡:“朕要兴修皇宫,醉生梦死!” 蔺相如:“陛下,八方来朝,皆是跪礼!” ...... 林凡大哭:“我真是昏君,你们快造反吧!”天才少年竟被嘲笑为废物,强大的元神无人认识,竟被当成毫无用处的垃圾。少年逆天而上,一路高歌踏上武道巅峰。看强大的圣魂如何藐视苍穹!曾经的少年如何高歌猛进成为九天十地人人敬畏崇拜的圣尊!
元宇宙:权力之眼 天下珍藏 米月的刑事 再无烦恼 仙魔屠戮场 乱宇古帝 奈何穿越爱上我 生活随笔之二 从疯人院副本走出来的戏精 秋与秋月 不思乐园 界碑,狸奴眼 灾变日记 异德 少年踏剑行 新世纪之何生 游山册 诸天无限:宿主请打卡 龙耀万界 逍遥小将军 东方时尚驾校 科4 甘肃成县驾校 甘肃康县驾校 鄂州市荣华驾校电话 东方时尚驾校 科4 东航驾校 甘肃陇南c2驾校 甘肃华亭驾校 东方时尚驾校 科目四 甘肃会宁驾校报名费 甘肃平川驾校 甘肃陇南残疾人驾校 东河哪个驾校快又便宜 甘肃成县驾校 东莞寮步通圣驾校 东莞同乐驾校地址 甘肃陇南c2驾校 东方时尚驾校 科目四 甘肃武都驾校 东莞南城有那些驾校 甘肃成县驾校 东莞桥头通圣驾校电话 甘肃西和驾校 阿克苏驾校科目四考试 甘肃崇信驾校 东河哪个驾校快又便宜 东方时尚驾校 科目四 甘肃西和驾校 甘肃武都驾校 东方时尚驾校 科目四 东莞同乐驾校地址 甘肃成县驾校 东莞上桥通圣驾校电话 东莞南城有那些驾校 东河昆仑驾校怎么样 东莞同乐驾校地址 东莞上桥通圣驾校电话 甘肃康县驾校 东河哪个驾校快又便宜 东莞桥头通圣驾校电话 东莞通圣驾校总部电话 甘肃会宁驾校 东莞恒圣驾校总店电话 甘肃陇南残疾人驾校 阿克苏驾校科目四考试 甘肃成县驾校 甘肃陇南残疾人驾校 东莞通圣驾校总部电话 东河哪个驾校快又便宜 甘肃靖远驾校 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 BLEACH:陨落星空 全民穿越:开局暴揍荒天帝 全民领主:我能看见武将进化路线 末世城下之钢铁洪流 大唐 因为一只鸟 AG真人 欧博官网 亚星管理平台 AG真人 百家乐官网 东莞桥头通圣驾校电话 甘肃平川驾校B2多少钱 东莞桥头通圣驾校电话 甘肃崇信驾校 东莞通圣驾校总部电话 东莞桥头通圣驾校电话 甘肃康县驾校 东莞上桥通圣驾校电话 阿克苏驾校科目四考试 甘肃会宁那个驾校好 阿克苏驾校科目四考试 东河哪个驾校快又便宜 甘肃成县驾校 东河昆仑驾校怎么样 甘肃武都驾校 东河哪个驾校最好 甘肃会宁驾校 东莞寮步通圣驾校 甘肃会宁驾校 甘肃武都驾校 甘肃会宁那个驾校好 甘肃会宁驾校 东河昆仑驾校怎么样 甘肃会宁那个驾校好 东莞通圣驾校总部电话 甘肃华亭驾校 东莞通圣驾校总部电话 东方时尚驾校 科目四 鄂州市荣华驾校电话 东方时尚驾校 科4