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"
东台去盐城的火车票多少钱一张兰州到武威有几种火车福州到山东日照火车票多少钱新疆火车服务电话岳阳东到武汉火车时刻表查询东台去盐城的火车票多少钱一张金华到桂林的火车时间表福州到山东日照火车票多少钱梅河至图们火车时刻表温州十了南站火车时刻表长春丹东2号火车票几点福州到山东日照火车票多少钱山西临沂到重庆坐火车怎么走最近长春丹东2号火车票几点从北京到济南到青岛的火车票温州十了南站火车时刻表葫芦岛到锡林浩特的火车嘉善到达州的火车票查询岳阳东到武汉火车时刻表查询重庆到许昌的火车票5号北京到来源的火车票嘉善到达州的火车票查询梅河至图们火车时刻表长沙到山东威海有火车吗火车k706的行车路线图火车压牙齿火车k706的行车路线图分段买火车重庆到许昌的火车票5号南京到广西巴马火车票从古至今多少奇闻异事,巡山求宝,盗墓发冢,千年奇冤。 张子真本不想和这些东西扯上关系,无奈这些奇怪的事老是被自己给碰上破碎的竹简,修改历史。接续的断玉,破茧重生。华夏大地的历史一次又一次的变幻,究竟哪些是真哪些是假。穿越各大王朝,一个终极的秘密即将揭开。两个组织的碰撞,守护华夏历史的责任。待我将这一切缓缓道来。 这是一个近似未来地球的异世界。 名为“黑石”的神秘矿物能将人的情绪与欲望收割转化,为这个世界提供了近乎无穷无尽的能源。 普通人就是被无尽收割的活能源,如同“工具”和“零件”生存。 财团,高官,各种特权者们争权夺利。 而他将颠覆这个世界的规则。做人总得有梦想。我的梦想就是我的榜1。叶晓天,一个23岁的大学毕业生;《破晓》一款称作“第二世界”的游戏,第一世界的咸鱼在第二世界会是怎样的呢?时空无限,宇宙无穷……诸天万界,存乎一心!释道仙魔本是道,阴阳九转论高低?!作为最后一人的宿命随着穿越时空一起到来到这个少年的身上,想要孤独的活下去,还是将这一切都终结,找到未来和现在都能够活下去的路!前世表白遭受拒绝的林萧河备受打击 今生又回到表白的那一天 已知结果的他选择慢慢放下开始新的生活 内心多愁伤感的江苏雪与重生过来的林萧河有将面临什么 重生过来的他蝴蝶效应是否会对这个世界有所改变不如意事常八九,可与语人无二三 第一人称讲述三十一岁大龄男青年的感情,职场,朋友等等生活琐事。 也希望你们能和我一起见证爱恨情仇 书中姓名皆为化名,书中故事真真假假周辰穿越平行时空成为落魄歌手,机缘巧合获得《烈日灼心》中反派老大的试镜,觉醒影帝系统。 “叮!恭喜宿主,获得反派专业户天赋!当你饰演反派时,获得一千倍演技加成!” “叮!无论宿主饰演何种角色,在影视作品首映之后,宿主都能够抽取该角色身上的某种能力!” 获得影帝系统,周辰强势崛起。 他是《烈日灼心》中,平静淡漠,令人胆寒的反派老大! 他是《大人物》中,肆意妄为,到处买单的赵公子! 他是《电锯惊魂》中,精通机关,考验人性的竖锯! 他是《汉尼拔》中,沉默冷静,渗透癫狂的医生!
再见亚西兰 洪荒:赠送九转金丹,返还百亿功德 都市修仙,你们练武的也配 高三的我回到小学 大明第一纨绔 羽毛球无敌的我只能穿越了 坑坑世界 鬼灭之刃:无限城改编 古道迷情 毅游沧海 人类图传奇 全球轮回之我通晓所有剧情 你,想要封神吗 在魔法世界里还需要科学吗 配音演员的奋斗 超级僵尸先生 龙盅风云 诫殇录 暗处的人 马嘴不对牛头 帮朋友买火车票身份证待 昆明到北京火车坐多久时间 葫芦岛到锡林浩特的火车 岳阳东到武汉火车时刻表查询 兰州到武威有几种火车 分段买火车 葫芦岛到锡林浩特的火车 深圳到延安怎么火车票 火车压牙齿 山西临沂到重庆坐火车怎么走最近 上海西站出发的火车站 上海西站出发的火车站 石家庄到张家口有几次火车 昆明到北京火车坐多久时间 东台去盐城的火车票多少钱一张 岳阳东到武汉火车时刻表查询 龙口到芝罘火车 帮朋友买火车票身份证待 石家庄到玉溪火车时刻表 福州到山东日照火车票多少钱 昆明到北京火车坐多久时间 福州到山东日照火车票多少钱 石家庄到玉溪火车时刻表 嘉善到达州的火车票查询 温州十了南站火车时刻表 石家庄到张家口有几次火车 帮朋友买火车票身份证待 石家庄到玉溪火车时刻表 石家庄到玉溪火车时刻表 火车压牙齿 岳阳东到武汉火车时刻表查询 赣州火车站电话查询 新疆火车服务电话 东台去盐城的火车票多少钱一张 长沙到山东威海有火车吗 火车k706的行车路线图 新疆火车服务电话 葫芦岛到锡林浩特的火车 长沙到山东威海有火车吗 从北京到济南到青岛的火车票 火车k706的行车路线图 深圳到延安怎么火车票 重庆到许昌的火车票5号 龙口到芝罘火车 长春丹东2号火车票几点 赣州火车站电话查询 上海西站出发的火车站 火车k706的行车路线图 石家庄到张家口有几次火车 彭水到云南曲靖的火车票查询 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 一剑飞雪任平生 系统爆炸,我被冰封了百年 丧尸来袭开局先囤物资 荒村游记 全民震惊,你管这叫贫困户? 快连下载 亚星管理平台 亚星官网 快连下载 亚星管理平台 彭水到云南曲靖的火车票查询 赣州火车站电话查询 嘉善到达州的火车票查询 北京到来源的火车票 赣州火车站电话查询 深圳到延安怎么火车票 上海西站出发的火车站 深圳到延安怎么火车票 福州到山东日照火车票多少钱 山西临沂到重庆坐火车怎么走最近 新乡到兰考的火车时刻表 帮朋友买火车票身份证待 东台去盐城的火车票多少钱一张 金华到桂林的火车时间表 新疆火车服务电话 彭水到云南曲靖的火车票查询 帮朋友买火车票身份证待 龙口到芝罘火车 彭水到云南曲靖的火车票查询 重庆到许昌的火车票5号 葫芦岛到锡林浩特的火车 梅河至图们火车时刻表 石家庄到张家口有几次火车 北京到来源的火车票 龙口到芝罘火车 兰州到武威有几种火车 昆明到北京火车坐多久时间 新疆火车服务电话 温州十了南站火车时刻表 火车压牙齿