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"
新肇到镇江火车票廊坊衡水火车时刻表赤峰至鞍山火车晋江到珠海 火车北京西到河间西火车新肇到镇江火车票火车票已退的票能撤销退吗赤峰至鞍山火车上海火车站购票中心沈阳 扬州火车广州火车站汽车时间表新肇到镇江火车票查霸州到天津的火车票广州火车站汽车时间表赤峰至鞍山火车沈阳 扬州火车泰山到绍兴火车时刻表查询北京西到河间西火车北京西到河间西火车晋城到定边火车深圳北到宁波火车动车中国火车高铁线路图上海火车站购票中心甘谷发洛阳的火车时刻晋中到长沙火车时刻表东莞火车站到番禺客运晋江到珠海 火车明光至蚌埠市火车时刻表晋城到定边火车龙川火车运输的电话是什么一个倒霉的穿越者,获得盗圣传承,投个好胎,却卷入人妖之战…李天命做梦都要笑醒了。他家的宠物,竟然都是传说中的太古混沌巨兽! 他的家鸡,是以太阳为食的‘永恒炼狱凤凰’。 他的黑猫,是以雷霆炼化万界的‘太初混沌雷魔’。 连他家的小强,都是拥有万亿不死分身的‘万界永生兽’…… 从此,他驾驭十头太古混沌巨兽,化身万古第一混沌神灵,周游诸天万界,镇守无尽神域。万物魔灵,诸天邪魔,连爬带滚,哀呼颤抖! 当一个文明到了最后阶段会发生什么?死亡还是重生,要战争还是要和平。从银河中心的搜寻者带来的究竟是一个开端还是一个结束。子文明又如何尽快赶上对弈敌人的风口。“观察者先生,我们两个世界的发展,多谢有您”(这本书我尽量在讲主线的同时,会把基本和重要信息交代下,避免人物形象和情节不够完整)若天阻我,我就刺破这天, 若地拦我,我就踏碎这地!掌管异界与世界的混沌,千万年来都一直存在, 不管是人类或什至神跟魔族都畏惧着它过。 如果你对奇幻、异世界战斗类小说有兴趣, 那么这部综合各种战斗因素的小说将给你前所未有的新的体验。 与异界的混沌势力合作,深渊跟诸神跟魔王及人与人的斗争,还有古龙跟转生者。 一场场的战斗,一生只有李白的&amp;quot;纵死侠骨香,不惭世上英。 我以剑为道,斩尽诸邪万恶。 响往那太白所写的侠客之道&amp;quot;十步杀一人, 千里不留行,事了拂衣去,深藏功与名。 以及&amp;quot;纵死侠骨香,不惭世上英。 万物诸神皆可斩,不公不义不能服。 斩异端、斩群魔、斩外挂。然而我有个系统,却叫做聊天系统...武王府的低等下人,代号九五二七的方泽,立誓要抓住仙门招生的机会,脱离奴籍……救赎想要变强吗?想要成为不可一世之人吗?去吧!去读书吧!没错我把一切都放在了那里! 学渣资质的单良表示:问题不大,大也没用。升级干就完了,另外赌狗必死。李冀穿越妖魔横行、圣地林立的大宋皇朝, 因连夜教导妖媚公主书法,得罪豪门子弟, 状元功名被革除不说,还要送进宫当太监。 一怒之下, 李冀启用戮神系统(杀戮就能不断变强)反抗, 从此,一路惩奸除恶、斩妖屠魔、振兴人族。 若干年后, 李冀身穿皇袍,骑着神兽白虎, 带着百万修行者大军,包围了第一圣地, 发布天帝旨:“普天之下,莫非王土,把圣女给朕送出来!”身为没有任何社交的废柴大学生,在一天晚上打游戏的时候,意外猝死了,更意外的是,我带着前世的记忆重生了,在一个未知的世界,我会怎样度过我在异世界的第二个人生呢?
二十世纪零十一青春正好 娱乐第一天王 一气化神 小白是条狗 我的功法自带特效 这平凡的一生 飞剑成道 小李飞刀之鬼见愁 太阳的反面也温暖 穿书反派的我只想杀青,女主人设崩坏了 圣师无名 大魔王拯救世界? 崛起风云路 末世龙神归来 九阳医神 我在人间当道士 我出租了我的身体 天上掉下个颜小咩 我的身体是盖亚 界脉天 东莞火车站到番禺客运 沈阳 扬州火车 泰山到绍兴火车时刻表查询 北京西到河间西火车 廊坊衡水火车时刻表 明光至蚌埠市火车时刻表 金宝屯到瓦房店火车 嘉祥到北京站的火车票 太原到乌海直达火车时刻表 查霸州到天津的火车票 惠州西到东莞东的火车 惠州西到东莞东的火车 甘谷发洛阳的火车时刻 沈阳 扬州火车 新肇到镇江火车票 晋中到长沙火车时刻表 火车k1334硬座座位表 东莞火车站到番禺客运 辽中到北站火车时刻表 赤峰至鞍山火车 小河镇到西安市火车 赤峰至鞍山火车 辽中到北站火车时刻表 中国火车高铁线路图 扬州剂沈阳的火车 k111是火车吗 东莞火车站到番禺客运 辽中到北站火车时刻表 深圳北到宁波火车动车 东莞火车站到番禺客运 北京西到河间西火车 小河镇到西安市火车 晋江到珠海 火车 新肇到镇江火车票 甘谷发洛阳的火车时刻 晋中到长沙火车时刻表 晋江到珠海 火车 金宝屯到瓦房店火车 甘谷发洛阳的火车时刻 阜阳附近火车途径路线 晋中到长沙火车时刻表 嘉祥到北京站的火车票 晋城到定边火车 火车k1334硬座座位表 广州火车站汽车时间表 小河镇到西安市火车 惠州西到东莞东的火车 晋中到长沙火车时刻表 k111是火车吗 泰山到绍兴火车时刻表查询 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 麦叶圈里的时钟 复仇:极品学渣 混沌剑神 命线 孤 义 快连下载 亚星管理平台 亚星游戏官网 快连下载 百家乐官网 小河镇到西安市火车 深圳北到宁波火车动车 晋城到定边火车 廊坊衡水火车时刻表 深圳北到宁波火车动车 晋江到珠海 火车 辽中到北站火车时刻表 太原到乌海直达火车时刻表 阜阳附近火车途径路线 明光至蚌埠市火车时刻表 火车票已退的票能撤销退吗 k111是火车吗 火车票已退的票能撤销退吗 小河镇到西安市火车 泰山到绍兴火车时刻表查询 诸暨 萍乡的火车票 惠州西到东莞东的火车 新肇到镇江火车票 小河镇到西安市火车 阜阳附近火车途径路线 新肇到镇江火车票 火车票已退的票能撤销退吗 赤峰至鞍山火车 北京西到河间西火车 查霸州到天津的火车票 北京西到河间西火车 太原到乌海直达火车时刻表 广州火车站汽车时间表 太原到乌海直达火车时刻表 上海火车站购票中心