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石景山八角店电话郑州恒辉大厦电话南京到半塔汽车电话普定汽车站电话威尼斯水汇预约电话东莞东城168酒店电话号码速8石景山八角店电话淄博义乌火车站电话号码是多少钱东莞东城168酒店电话号码南京到半塔汽车电话上王附近的温泉酒店电话号码是多少郴州到深圳汽车电话号码辣嘴鸭通辽加盟电话徂徕山温泉酒店电话抱石公园游泳馆电话知心 电话辣嘴鸭通辽加盟电话普定汽车站电话龙海办护照的电话泸州柏香林 电话碧海国际电话泸州柏香林 电话南平市塔前派出所电话抱石公园游泳馆电话青海交通广播电台电话 宋祁,作为一个有点背的男大学生 一次吃烧烤时的见义勇为 竟让他被勾错了魂 见到了统领九千万万世界的神 神说:不好意思啊,大兄弟,原来的世界你是回不去了,这剩下的八千九百九十九万九千九百九十九个世界,你随便选一个呗。“有我琅琊在,齐国境内,谁敢妄自称王!” 天地第九次重启,科技文明失效的同时,个人伟力崛起。 当秩序和认知被洗牌,家国众生又该何去何从。 力量的本质,是守护。 开局一座城,凭手中长枪,再开人间四月天!大梁内忧外患,民族已经到了生死存亡之际。 陈杉穿越,一个读博的在校生,来到古代,带着前世的记忆,在古代拖家带口的搞发明。 这书没有系统。 陈衫将在这里遇见很多美女,以及在古代生活的点点滴滴,一步步把大梁带到世界之巅。 我不是神,但是我有创造神迹的能力。 你们自认为很强大,在我眼里不过只是一帮石器时代的野蛮人罢了。 不要挑战我的权威,因为我也不知道你会变成什么样。 燧发枪:烟雾太大,阻挡视线。 后装弹:需要的东西比较多,但也不是做不出来。 大炮:实心弹、散弹、?榴弹,供客户多种选择。 热气球:天降正义了解一下? 机枪:转轮的做不出来,抱歉,只能用这个来阻挡你们的冲锋。 战略舰:口径意味着真理。 装甲列车:修路修到你家门口,这个不过分吧。 双翼飞机:喷气做不出来,在你头上扔垃圾还是能做到的。 你相信吗,每一个让你内心悸动过的她/他,都会在你心里埋下一粒种子,种子可能不会接着开花,也不会渐渐结果,但它确确实实就埋在那儿,它是存在着的,在等待着缘份重新来过的时候,破土而生,熠熠生辉。 大千世界修真界,封神大战天门关,只因大地被破碎,大法祖师炼乾坤,结界之内难修仙,飞升天劫降,破界离去难复返。慕子溪原本是个刚高考完的学生,谁曾想到一场车祸让他穿越到了龙渊大陆,还得到了一个叫“正经”的系统,让他必须飞升成神,只是谁能告诉他,为什么他的系统不对劲?慕子溪从此便开始了不对劲的修仙之路……少年紫宸用一命认清兄弟,机缘遇雷元复生,得炼体法诀,踏上强者之路。 雷电淬圣体,造化铸天途!以坚韧之心,踏雷武巅峰! 新书《万道神帝》已经上传。 钟离墨原本是一个省队的主力队员,有望进入NBA的男人。 可是却因为一个拉杆,穿越到了另一个平行世界的自己身上。 哪知刚穿越一会儿,就遇到了一个小鲜肉男团!一户人家二百年的风风雨雨一个奋斗的小青年
剑踏九洲 我真不想当大侠 云海苍穹 凡人修仙风云 梦回1998 女友宅的无气家主 网游之青龙无敌 长城一号 重生之巨变 一本医书闯天下 随记空想 上门猛婿 洪荒:我为纣王,苟到无敌 万古第一佛 异世界气味图书馆 存活录 外星有我八个妻 天源仙农 邪道圣人 南宋,纵横天下的杨幺 碧海国际电话 上王附近的温泉酒店电话号码是多少 神木快餐电话 徂徕山温泉酒店电话 邢台到广宗汽车电话 南平市塔前派出所电话 神木快餐电话 哈尔滨555电话开头是 淮南12路电话是多少 淄博义乌火车站电话号码是多少钱 马可电话号码是多少 马可电话号码是多少 龙海办护照的电话 上王附近的温泉酒店电话号码是多少 速8石景山八角店电话 泸州柏香林 电话 丹东到盘锦的虎跃电话 碧海国际电话 宜昌至万州物流电话是多少 南京到半塔汽车电话 上王附近的温泉酒店电话号码是多少 南京到半塔汽车电话 宜昌至万州物流电话是多少 辣嘴鸭通辽加盟电话 威尼斯水汇预约电话 莲宝路麦当劳电话 碧海国际电话 宜昌至万州物流电话是多少 宜昌至万州物流电话是多少 淮南12路电话是多少 徂徕山温泉酒店电话 杭州交通安全教育学校电话 延安黄鹤楼酒店电话 速8石景山八角店电话 龙海办护照的电话 泸州柏香林 电话 延安黄鹤楼酒店电话 神木快餐电话 龙海办护照的电话 东平到菏泽郓城的汽车站电话 泸州柏香林 电话 哈尔滨555电话开头是 抱石公园游泳馆电话 丹东到盘锦的虎跃电话 东莞东城168酒店电话号码 杭州交通安全教育学校电话 马可电话号码是多少 泸州柏香林 电话 莲宝路麦当劳电话 郴州到深圳汽车电话号码 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 末日中的审判者 浮生剑语 我的网文日记 凤鸣之声 我平A就是大招 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 丹东到盘锦的虎跃电话 上王附近的温泉酒店电话号码是多少 南平市塔前派出所电话 南平市塔前派出所电话 哈尔滨555电话开头是 淄博义乌火车站电话号码是多少钱 东莞东城168酒店电话号码 丹东到盘锦的虎跃电话 青海交通广播电台电话 碧海国际电话 抱石公园游泳馆电话 上王附近的温泉酒店电话号码是多少 郴州到深圳汽车电话号码 莲宝路麦当劳电话 哈尔滨555电话开头是 南京到半塔汽车电话 上王附近的温泉酒店电话号码是多少 杭州交通安全教育学校电话 淮南12路电话是多少 淮南12路电话是多少 哈尔滨555电话开头是 哈尔滨555电话开头是 东莞东城168酒店电话号码 杭州交通安全教育学校电话 淄博义乌火车站电话号码是多少钱 郴州到深圳汽车电话号码 知心 电话 速8石景山八角店电话 辣嘴鸭通辽加盟电话 龙海办护照的电话