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"
银川万家观景酒店电话连云港订奶电话宜春东站电话号码武昌宏基汽车站电话新郑航空机场客服电话银川万家观景酒店电话嘉陵区大通镇电话宜春东站电话号码薛家湾所有饭店电话邹城再回首订餐电话东营胜利大酒店电话银川万家观景酒店电话宜昌山山商务酒店电话是多少钱东营胜利大酒店电话宜春东站电话号码邹城再回首订餐电话西峡县火车站值班电话利辛到宁波的客车电话利辛到宁波的客车电话海阳老汽车站电话沂源县出入境电话宜兴行政服务中心电话常州车管所查询电话兰陵县政协电话号新郑航空机场客服电话郑州59路公交车公司查询电话武昌宏基汽车站电话荥阳汽车站附近的快递电话多少海阳老汽车站电话宜昌山山商务酒店电话是多少钱秦恒生?害人害己的家伙。   为什么上了年纪的人都喜欢坐在那儿发呆?他!也向往光明。黑暗的尽头那不存在的光明。倒霉蛋李悠然被陨石砸中,竟然被超高智能机械生命寄生,穿越到了陌生的异世界。在这个剑与魔法的世界,李悠然又是如何用机械科技走出一条康庄大道? 公元3020年,一艘外星飞船坠毁在了地球上,坠毁飞船泄露的物质造成了大面积的污染,地球安全联合组织将污染区域用10米高的水泥墙进行了封锁,该区域被外界称为第十特区,只有持相关证件的研究人员才能进入,但还是有不少探险者使用各种办法突破封锁,一窥封锁区的神秘面纱……【全网最火爆的玄幻小说】 说起天赋,不算妖孽级,可武技秘技,皆可自学成才。论背景,任凭你有万千大军,但定不敌我。我是谁?天下众生视我为溟渊,却不知,我以溟渊成邪神。 小说讲述了家族遭受打击,将后辈传回了15年前的七界星系,被视为最有潜力的七位少年,为了证明自己,夺回家族荣誉,而从一个幽暗的世界 最强宗门内门弟子成长为这片星系顶天立地的人物。  【迪化+种田+幕后+伪心声】   林天穿越洪荒,成为一名地仙。   只要每天写日记,就能获的相应的奖励。   从发牢骚至洪荒大事,都被林天写了进去。   【长耳定光仙是截教的叛徒】   【多宝是个反骨仔,后来成立佛教,化名如来】   【天道圣人,也是鸿钧的阴谋而已】   写日记,也获得了相应的奖励。   可林天不知道的是。   通天却能看他写的日记,于是怒斩定光仙,并自废圣位! 从一个最初叫兴隆山的地方开始,从最初的简单和萌芽的爱情理想出发,经历了许多事情,去过很多地方,遇见了很多人,看了许多风景,很多东西又最终和主人公的家乡联系在了一起,通过对于平凡生活,突然产生的感觉和感悟,这些珍贵的碎片最终联系在了一起,很多情节看似分离其实又联系在了一起。无论在远离兴隆山的地方,还是我们从远方到达那里。唯一不变的就是主人公最初的梦想和对于爱情友情的向往。爱情的路上没有对错,有的只是遇见与错过。。。秋天的飞鸟远飞而去,停留到圣洁的桐树之上,预示着可怖的黑暗即将到来,迷惘分散的灵魂们,在命运的牵引下聚集起来,不再分离,成为一体,踏上新的旅途,开始了新的生命。 即使那段过往已经不再记得,但是灵魂却还记得,无论是欠你的那一个拥抱,还是那一句对不起........我带着我的梦想,一直向前奔跑,守护着背后的大家,还有你。“你们怎么看不见我啊!说句话啊!!”“救命啊救命啊!!”“快跑”“这是什么?变身器吗?”“别吃我啊别吃我”……欢迎来到我的梦境,让我们开启一场噩梦旅途吧!我本是剑道门派一名不起眼的弟子,一次机缘巧合下得到了一根笛子,那一天一切都变了……
原初之力 全能小神农 诡异直播:我镇压一切恐怖 至尊之神武大陆 玄武裂天 南斗伏妖录 你好,时间 剑灭王朝 我的功法自带特效 武神法相 九神珠传 红衣旧事 将乡 第一次遇见神待少女 御祈师 穿越过去养萝莉 焦土幸存者 魂破之界 重生最强丹帝 异界元素 争霸 新华街俊宇科技电话 邹城再回首订餐电话 西峡县火车站值班电话 利辛到宁波的客车电话 新华街俊宇科技电话 宜昌七天优品酒店电话 重庆高铁失物招领电话 凉城路象山海鲜城电话 郑州59路公交车公司查询电话 宜昌山山商务酒店电话是多少钱 常州车管所查询电话 常州车管所查询电话 兰陵县政协电话号 邹城再回首订餐电话 齐河宾馆电话 新郑航空机场客服电话 临潼华清驾校电话 郑州59路公交车公司查询电话 沂源县出入境电话 银川万家观景酒店电话 邹城啤酒厂喜来登电话 宜春东站电话号码 连云港订奶电话 宜兴行政服务中心电话 凉城路象山海鲜城电话 兰陵县政协电话号 郑州59路公交车公司查询电话 连云港订奶电话 沂源县出入境电话 郑州59路公交车公司查询电话 利辛到宁波的客车电话 邹城啤酒厂喜来登电话 武昌宏基汽车站电话 银川万家观景酒店电话 兰陵县政协电话号 新郑航空机场客服电话 汕头跳水馆电话 重庆高铁失物招领电话 兰陵县政协电话号 汕头跳水馆电话 新郑航空机场客服电话 宜兴国际酒店电话 海阳老汽车站电话 临潼华清驾校电话 东营胜利大酒店电话 邹城啤酒厂喜来登电话 常州车管所查询电话 新郑航空机场客服电话 澧县三联维修电话 嘉陵区大通镇电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 龙御灵轮:龙神九鳞之首 我是诸天之王 死灵德鲁伊 磨世争雄 持剑天王 亚星游戏官网 亚星游戏官网 亚星官网 快连下载 亚星管理平台 齐河宾馆电话 澧县三联维修电话 凉城路象山海鲜城电话 海阳老汽车站电话 宜春东站电话号码 邹城再回首订餐电话 汕头跳水馆电话 连云港订奶电话 新郑航空机场客服电话 连云港订奶电话 西峡县火车站值班电话 新华街俊宇科技电话 宜兴行政服务中心电话 荥阳汽车站附近的快递电话多少 东营胜利大酒店电话 西峡县火车站值班电话 邹城再回首订餐电话 东营胜利大酒店电话 沂源县出入境电话 邹城啤酒厂喜来登电话 宜兴国际酒店电话 薛家湾所有饭店电话 宜昌山山商务酒店电话是多少钱 邹城再回首订餐电话 嘉陵区大通镇电话 宜春东站电话号码 兰陵县政协电话号 汕头跳水馆电话 临潼华清驾校电话 成都?净民宿电话