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"
石狮未来天气预报15天湖北孝感闵集天气预报石狮未来天气预报15天河北省夏垫镇天气夏垫天气大厂县夏垫镇天气预报佛宝森林天气石狮未来一个月天气预报山西高平天气预报10月7日未来三个月广州天气霍尔果斯两个月天气石狮未来天气预报15天蕉岭县天气观测站德州天气两个月的天气石狮未来一个月天气预报未来三个月广州天气游泳天气夏垫镇天气夏垫镇天气越南高平市天气高平市8月份天气夏垫镇天气山西高平天气预报10月7日渥太华4月份天气夏垫天气清远九龙小镇天气河北省夏垫镇天气渥太华4月份天气越南高平市天气蕉岭县天气观测站在人生鼎盛,人来人往的街道上,影子拖沓的交杂着,一道道影子观看着人类,这时一旁的工人起了一瓶啤酒,少年婉拒回答到,村里不让饮酒。子受穿越为殷商纣王。 系统发布的第一个任务竟然让他找个女人表白,任务失败回到原世界? 子受表示:当nm的暴君,老子要回去! 为了回到原世界,作死表白了女娲。 却没想到阴差阳错地成功了! 子受:女娲是我女朋友怎么办?急,在线等! Ps:此书又名《我的女朋友是女娲》、《女娲好感度爆满了怎么办?急,在线等!》 “姑娘,可否给小生二文铜钱?” “我乃大永王朝户部侍郎之子,岂会骗你?” “忒!你个臭乞丐,倒是学的有模有样。” “姑娘,别走啊!我还有一事相求。” 灵气复苏?各路妖魔邪神都出现了,小说剧情在现实上演,是末日还是进化?人类应该怎样生存,扮演的又是什么角色?大自然赋予了人类火焰,由此开启人类文明,这次还会有火种吗?又会是何种火焰,又将会迸发怎样的焰火。东华生上一世醒来就已经是高手了,在太虚幻境内经过一场大战后,他莫名其妙的转世重生到了六界中的人界,他努力的修炼,想要搞清楚一切,可是越是了解他就越是觉得自己身陷局中。异族压迫,人族式微,危急时刻,星宇大帝力挽狂澜,阻异族于银河战线,异族均不敢越雷池半步。 星宇大帝开创先河,将古武融入科技,彻底逆转了人类羸弱的局面。而后,他又突然消失!异族喘息之后再次大军逼近…… …… 苏星河,一名普通的中学生,以梦境为起点,亦步亦趋,最终带领人类横推异族……五代十国,神州血雨腥风,百姓在死亡线上挣扎着,望天悲问:大乱何时休?!国家何时大治?21岁意外身亡的的赵匡匡,睁开眼发现自己成了赵匡胤,但他开局就惹出事端,为外出避难,他辞别父母和妻子,离家闯荡,受尽磨难。所谓乱世出英雄,他先投奔郭威,因高平之战的出色表现,成为禁军的高级将领。之后逐渐在禁军中形成自己的势力,结“义社十兄弟“。柴荣病死,他发动陈桥兵变,黄袍加身。称帝后,赵匡胤先击溃后周残余势力,又采取“先南后北”的策略,攻灭了割据政权,加强了对北方的防御。随后他兵不血刃 “杯酒释兵权”。坚持“重文抑武”的国策,开创了大宋的辉煌盛世。星辰79年,姬辰子意外卷入另一个世界,魔教此时卷土重来,势力不断扩大一个恐怖的都市悬疑故事上一世的他,整日沉醉在纸醉金迷中,直到妻女从高楼跃下的那一刻,他才幡然醒悟。 本想自杀的他却被高人所救,带到修仙世界,一路修炼,他成了世界上最年轻的仙帝! 在最后突破成仙之时,天劫降临,却让他回到妻女自杀之前。 重活一世,他发誓,自己余生必定好好珍惜妻子和女儿! 若有人胆敢伤害分毫,上九天,下黄泉,我必灭之!
葛仙观传奇 海岛生存游戏 梦宰沧溟 九转还阳剑 万世灵冢 特警:特殊的警察 神之旅I:天命箭祖 许你一世偏宠 我只是喜欢钱 藏剑:通天修为 天榆大陆 苍天有眼,命数天定 神仙学院:被迫和校花组队 玄幻:北玄之下再无剑帝 无限重置 夺舍反派,开局被主角讨伐 唯我独永恒 史上最弱的元素 契约使 我带着面板在诸天轮回 禹行录 闵集天气 天气质量插件 游泳天气 夏垫镇天气 闵集天气 加拿大渥太华天气查询 贵阳市10月份天气情况 河源市东源县以往天气查询 清远九龙小镇天气 蕉岭县天气观测站 山西高平天气预报10月7日 福建石狮5月4日天气 渥太华4月天气 未来三个月广州天气 大厂县夏垫镇天气预报 夏垫天气 贵阳市10月份天气情况 清远九龙小镇天气 高平市8月份天气 石狮未来天气预报15天 天气质量插件 石狮未来一个月天气预报 湖北孝感闵集天气预报 德州天气两个月的天气 未来三个月广州天气 渥太华4月天气 清远九龙小镇天气 湖北孝感闵集天气预报 高平市8月份天气 清远九龙小镇天气 夏垫天气 天气质量插件 石狮未来一周天气预报15天 石狮未来天气预报15天 渥太华4月份天气 夏垫天气 石狮未来一周天气预报15天 游泳天气 渥太华4月天气 石狮未来一个月天气预报 河北省夏垫镇天气 河源年天气 大厂夏垫镇天气 福建石狮5月4日天气 德州天气两个月的天气 天气质量插件 福建石狮5月4日天气 河北省夏垫镇天气 越南高平市天气 佛宝森林天气 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 神秘深渊 风之子于归 肉身横推!你管这叫亡灵法师? 王者梦庄周 朝阳记 AG真人 欧博官网 皇冠登3出租 万利游戏官网 快连下载 夏垫镇天气 佛宝森林天气 霍尔果斯两个月天气 夏垫镇天气 高平市7月份天气 霍尔果斯两个月天气 河源市东源县以往天气查询 山西高平天气预报10月7日 河源市东源县以往天气查询 石狮未来天气预报15天 龙川县佗城镇天气 石狮未来天气预报15天 加拿大渥太华天气查询 石狮未来一个月天气预报 游泳天气 夏垫天气 贵阳市10月份天气情况 加拿大渥太华天气查询 山西高平天气预报10月7日 贵阳市10月份天气情况 大厂县夏垫镇天气预报 福建石狮5月4日天气 高平市8月份天气 大厂夏垫镇天气 湖北孝感闵集天气预报 河源市东源县以往天气查询 清远九龙小镇天气 河源市东源县以往天气查询 夏垫天气 河源年天气