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"
横店天气网果松镇天气湖父天气黄河源天气夹山寺天气横店天气网高唐市天气湖父天气巩纳斯天气扶风天气报江镜天气湖父天气盖尔若天气江镜天气花庄镇天气扶风天气报?{州天气焦岱镇天气夹山寺天气汉宾区天气古港镇天气焦岱镇天气巩纳斯天气海洋天气图黄冕天气海复镇天气黄冕天气海骡沟天气汉宾区天气岗乌天气人类纪元会因一个平凡者的穿越而改变吗?未来和现在又有什么联系?他的来去是被什么力量所操控?从原始一步一步开始奋斗,能不能最终解开谜题?赵阳意外绑定可以往返现代与明末的传送门。 穿过传送门,对面是气势汹汹,向着他冲刺而来的八旗骑兵。 数次尝试都铩羽而归,赵阳直接上交传送门,与官方合作。 当官方看到赵阳展示的另一个世界后,整个大夏都为之轰动。 一个星球的资源,一个全新的未开发世界! 大夏官方第一时间下定决心,制定绝密计划,设置最高权限。 终于,再次踏入明末大地的赵阳。 身后,是一条蓄势待发的庞然巨龙……叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!在厄祖大陆上,有一群被遗忘的人类,他们痛苦,绝望,麻木的生存着,浑然不知真正的危险将要降临。 九大家族,十二个登天梯,迷宫密藏,荒地上的诡异雕像…… 这一切神秘的背后究竟隐藏了什么秘密? 一位“机缘巧合”之下进入荒地的少年从此走上一条一往无前的探秘之旅。 而他,一眼破阴阳,一剑碎苍穹,功法秘籍、武器丹药无师自通,珉卦看相、寻龙点穴更是信手拈来。 且看他如何一步一步破解迷局,独霸天下。天地玄黄,宇宙鸿荒……一个老大的人干嘛还读这个?啥?我小叔叔是个盗墓的?本人,小说迷,看着世界许多小说,我也手馋想些一本,留于时间。不喜勿喷,谢谢。修仙?修得无情无心,修得孤寡一人。 无情,无义,无感,无心,无怒,无哀之人还算是人吗? 它,手握乾坤,掌世间之人生死。 它,随心所欲,万物皆为蝼蚁。 直到有一天,它,也流出了血,它,也会受伤。 拔剑!弑神!易钊意外穿越到了一个人与鬼怪生存的世界,在这里人和鬼怪对立, 而易钊却意外获得了阎王送赠的物理驱鬼系统,从此成为了这个世界的王者。“何为姝丽?”“肆意,嚣张,能屈能伸。” “可否具体?”“异世重生,称霸大陆。” “可否再具体?”“身世高贵,得一良婿。” “可否更具体?”“艳绝千秋、出类拔萃。” “仍是不解”“钟琉玥”一名学生,经历商业洗礼 一个传奇,历练终成奇迹 到底如何,且看商业风云
天轮回道回忆录 今宵杯中映明月 心之所向,素履以往 开局女主要回去相亲 弑人悲 开局一座城 行走在理想尽头的旅者 名为 异能者 的少年 大明:满朝奸臣,你让我登基称帝? 不再正常的世界 轮回典之六道传说 三话注 剑封域 西游灵明鸦 诸子证道 东虞山下小酒馆 天灵星际 铠甲勇士:我只想活下去! 灵魂公司 玄幻:我,天命大主角 哈那斯天气 近两天天气 ?{州天气 夹山寺天气 果松镇天气 海骡沟天气 ?{州天气 阜康镇天气 海复镇天气 盖尔若天气 古林镇天气 古林镇天气 邯郸天气h 近两天天气 横店天气网 夹山寺天气 高崖天气 哈那斯天气 官舟天气 湖父天气 近两天天气 湖父天气 官舟天气 焦岱镇天气 扶风天气报 邯郸天气h 哈那斯天气 果松镇天气 官舟天气 海复镇天气 夹山寺天气 胶莱镇天气 黄河源天气 横店天气网 海洋天气图 黄冕天气 黄河源天气 ?{州天气 海洋天气图 花庄镇天气 黄冕天气 阜康镇天气 汉宾区天气 高崖天气 江镜天气 胶莱镇天气 古林镇天气 黄冕天气 邯郸天气h 扶新镇天气 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 我在末世,我叫刘意 何以通天 我在异界当兽医 我在人间斩妖除魔 系统大战老爷爷 快连下载 亚星管理平台 亚星官网 快连下载 亚星管理平台 官舟天气 邯郸天气h 古林镇天气 黄河源天气 海复镇天气 扶风天气报 扶风天气报 邯郸天气h 邯郸天气h 哈那斯天气 花庄镇天气 汉宾区天气 近两天天气 高唐市天气 海骡沟天气 横店天气网 盖尔若天气 海洋天气图 高崖天气 海复镇天气 哈那斯天气 近两天天气 近两天天气 海洋天气图 邯郸天气h 果松镇天气 哈那斯天气 汉宾区天气 横店天气网 夹山寺天气