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"
凤县宝鸡火车时刻表河南到吕梁火车聊城到烟台火车各站站名济南市到庆阳市有火车吗蚌埠至南宁火车凤县宝鸡火车时刻表赣州一上海火车时刻表查询聊城到烟台火车各站站名火车票为何要抢票山西太原到大连火车时刻表南京至江西火车时刻表聊城到烟台火车各站站名温州至云南火车票多少钱南京至江西火车时刻表无锡 连云港 火车山西太原到大连火车时刻表南京南站到北京的火车站时刻表查火车延误查火车延误青岛火车北站到曹县的火车大连火车订票咨询电话查火车延误火车票为何要抢票库尔勒市火车票代购点淄博去济宁火车票查询电话合肥到佳木斯市火车淄博去济宁火车票查询电话库尔勒市火车票代购点青岛火车北站到曹县的火车温州至云南火车票多少钱三岁觉醒记忆,五岁入宗门踏入修行,在一次执行宗门任务中,一不小心暴露了宝器,导致被同门师兄惦记上,从此他踏上了流浪的旅途天界至宝天神之怒碎裂成两半,从此消失不见,天界由此陷入混乱。要想天界恢复秩序,必须寻回天神之怒。在天界遍寻无果之下,众天神不由束手无策。 法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。抑郁症患者的自救历程……柳一,吃的用的都是自认为最干净,包括女人。茫茫天地,亘古永存,所有生灵,不断轮回,无限延续。 忽有一日,天地变,三界崩,阴阳转,轮回断,从此世间再无轮回,直至天地毁灭.....秦小满穿越成了地主二代,本想当个败家子躺平,可总有人想夺他的粮、抢他的钱、要他的命。 “既然无法低调,那我就不装了。” 于是,大乾朝百官想巴结他、公主想嫁给他、皇帝想让贤给他,就连周边国家的王族都想跪下叫他“爸爸”求庇护。 可他真的只是想当一个闲散的败家子而已……灵气与天灾并存,未来与末日共生。 流浪少年与遗弃少女,在一副神秘石板指引之下,踏上只属于他们的序列之路。秦浊意外穿越,来到万道鼎立的世界,只想做个好人,却发现这个世界比前一世更加的肮脏。 于是,他便一边成帝,一边清理污浊李乘风悲催的被破了九世纯阳,誓要重回仙界,找到她弄个清楚明白,拥有万年感悟、帝尊心境,实力飞升如梭,李乘风不是天才,他只杀所谓的天才!
繁局 无限绝境 异世界,剑 万古第一圣人 光厘 爆笑Z班 重生:神级御兽师 书圣门 岁月元尊 绮梦仙游 我来修仙界打金 仙湮兮 王途末路 村光乡野 越穿次元副本 流不尽的血 镇国大帅 借寿 极道帝师 反派:魔帝听令,诛杀主角 南京至江西火车时刻表 茶陵到湘乡火车 凤县宝鸡火车时刻表 火车票为何要抢票 南京至江西火车时刻表 广州到南阳途径的火车站 凤县宝鸡火车时刻表 满洲里到北京有几趟火车票 淄博至澳门火车票价格表 库尔勒市火车票代购点 库尔勒市火车票代购点 库尔勒市火车票代购点 蚌埠至南宁火车 武夷山到江西婺源火车票多少钱 淄博至澳门火车票价格表 温州至云南火车票多少钱 满洲里到北京有几趟火车票 无锡 连云港 火车 青岛火车票几点开售 广州到南阳途径的火车站 武夷山到江西婺源火车票多少钱 山西太原到大连火车时刻表 凤县宝鸡火车时刻表 赣州一上海火车时刻表查询 湖北黄州火车时刻表 蚌埠至南宁火车 无锡 连云港 火车 凤县宝鸡火车时刻表 青岛火车票几点开售 无锡 连云港 火车 温州至云南火车票多少钱 南京南站到北京的火车站时刻表 温州到凯里的火车线 淄博至澳门火车票价格表 淄博去济宁火车票查询电话 温州至云南火车票多少钱 温州到凯里的火车线 合肥到佳木斯市火车 蚌埠至南宁火车 山西太原到大连火车时刻表 南临沂到亳州的火车 南临沂到亳州的火车 青岛火车票几点开售 武夷山到江西婺源火车票多少钱 南京至江西火车时刻表 广州到南阳途径的火车站 湖北黄州火车时刻表 淄博去济宁火车票查询电话 如何查询别人火车票购买记录 赣州一上海火车时刻表查询 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 西游开局天庭签到十万年 神中狂龙 龙凰乱世 创世天傲 我在人间斩妖的日子 葡京官网 欧博官网 亚星管理平台 亚星官网 葡京官网 南临沂到亳州的火车 在火车站取票用护照能取吗 火车票为何要抢票 凤县宝鸡火车时刻表 查火车延误 满洲里到北京有几趟火车票 无锡 连云港 火车 河南到吕梁火车 淄博至澳门火车票价格表 青岛火车票几点开售 赣州一上海火车时刻表查询 赣州一上海火车时刻表查询 广州到南阳途径的火车站 山西太原到大连火车时刻表 查火车延误 青岛火车票几点开售 满洲里到北京有几趟火车票 蚌埠至南宁火车 山西太原到大连火车时刻表 四平到本溪普快火车时刻表 如何查询别人火车票购买记录 广州到南阳途径的火车站 茶陵到湘乡火车 在火车站取票用护照能取吗 青岛火车票几点开售 大连火车订票咨询电话 查火车延误 温州到凯里的火车线 青岛火车北站到曹县的火车 青岛火车北站到曹县的火车