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大头火车火车票平时是怎么放票的中星历1716年,太白和奥莉伴随天地间九彩虹光诞生,同时也惊动了大批高手甚至是仙神的注意,而无数势力的强者中竟然有很多人认识他们的前世,甚至为此等待了他们万年之久…… 前世的他们,光催耀目,几乎以自己的力量创造了当今世界的格局,面对这个复杂的世界,他们的转世重修能否击破命运的牢笼,成就无上的存在呢?首席长官探地府,储君王子访东洲。 修堂建舍传道业,唯有梁柱最难求。 自古帝王有神助,从来名将须抛头。 滚滚河水断恩义,凛凛雄威鬼神愁…… 【元宇宙 爽文 快节奏 老作者 稳定更新】 精灵世界即将以游戏的形式降临世界,震惊全球! 而在游戏上线的一周前,顶级玩家云晓重生归来,通过系统获得提前登录游戏的资格! 前世的遗憾、遭遇的背叛...他都将在这一世全部改写! (都市+系统+搞笑+腹黑) 摩天轮上无数情侣正在恩爱。 张北哼着小曲,按下了红色的按钮。 身处于百米高空的摩天轮突然停住。 随后竟然横了过来。 无数坐在椅子上的情侣被弹射到了半空,仅有一个绳子连接。 几秒种后,整个摩天轮就像一个飞速旋转的盘子。 无数情侣在半空中玩起了温馨和谐的游戏。 跳楼机上,九十米高空的人体悠悠球。 碰碰车上,充满僵尸鬼怪的地下逃亡。 医生看着刚刚从过山车上下来的游客,将一颗速效救心丸塞进了壮汉的嘴中。 眼神中充满了幽怨。 “老板,这么下去会死人的!” “不会,你看他们多开心!”一个重度抑郁症患者在40分钟内构筑出来的世界。连续几个网站都因为内容阴暗受到了制裁,希望能够在这里得到新生。宋帝都临安府爱国人士:吴俊振,与用时光机穿越过来的现代大学生:马维,两人一起被龙卷风漩涡黑洞带着,穿越到了明崇祯十六年公元1643年兴都留守司显陵卫境内,在机缘巧合之下他们俩主动应征入伍参军,从此开启一段帮助大明帝国收复失地的旅程,本文群号799968110每个生灵都有劫体,谁能为极仪一战?最终是否成为纯极仪的世界呢?一喉二歌,为一些历史人物正名石小方是个很方正死板的人,说了不能妥协就是不能,说了不能少泡一个就是不能,一直以自己所能想到的各种无耻借口做着方正而死板的自己。但是现在的他很方,他只是个打算如方石一般横扫过人生这个终将有终点的大滑坡,怎么突然就告诉他,这个滑坡之下,是修真界这片汪洋大海呢? 俗世百年,我的钱呢?我的妞呢?我的七情六欲,你一片海就要我全丢了,去做你的定海神石?想得美呢吧老头子们!天外天,这个叶玄梦寐以求到达的地方,而叶玄并不知道的是,在这背后还有一个更加庞大的世界,一个无法理解的世界!
宇宙的星纪元 暗室:异度空间 我怎么混成了最强? 天心策 人间游乐园 御祈师 那些不堪回忆的高中生活 地球坠落 逆苍玄 浩瀚的校园 黑日之下 开向绿野春风 未来竟是无法舍弃的过往 傲策 魔法少女的成长日记 鬼阿鬼 元宇宙之自由 玉星传说 英雄联盟:王者之路 振国神将 购买往返火车票如何退换票 沈阳至扬州火车票 乐山夹江到成都的火车票 济南到苏州的火车经过站点 购买往返火车票如何退换票 8月6日大连到长春火车票 东海县火车时刻表查询 从兰州西宁的火车票 芜湖 宿州火车 火车票平时是怎么放票的 恩施南阳的火车 景泰到青铜峡火车查询 济宁通哈尔滨火车 芜湖到宁波火车票卧铺 成都去广东省清远市的火车 昆明到曲阜火车 东海县火车时刻表查询 芜湖 宿州火车 石林通火车时刻表 齐市到红彦的火车 沈阳至扬州火车票 胶州一烟台火车 新乡-大连火车 亳州到平顶山火车票 芜湖到宁波火车票卧铺 济宁通哈尔滨火车 芜湖 宿州火车 新乡-大连火车 石林通火车时刻表 芜湖 宿州火车 昆明到曲阜火车 沈阳至扬州火车票 阜新站到沈阳北站的火车 齐市到红彦的火车 菏泽至长治火车 昆明到曲阜火车 阜新站到沈阳北站的火车 东海县火车时刻表查询 济宁通哈尔滨火车 阜新站到沈阳北站的火车 昆明到曲阜火车 火车票能同时取2张 石家庄到广西钦州火车 景泰到青铜峡火车查询 亳州到平顶山火车票 沈阳至扬州火车票 恩施南阳的火车 重庆市至郑州市火车 北京到大庆z大头火车 柳州至衡水火车 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 风之律者 王殿 新回家的诱惑 山道弯弯下 城市中央的水族馆 万利官网 欧博官网 皇冠登3出租 万利官网 快连下载 胶州一烟台火车 济宁通哈尔滨火车 北京到大庆z大头火车 购买往返火车票如何退换票 8月6日大连到长春火车票 石林通火车时刻表 齐市到红彦的火车 济南到苏州的火车经过站点 东海县火车时刻表查询 购买往返火车票如何退换票 火车票能同时取2张 恩施南阳的火车 沈阳至扬州火车票 芜湖 宿州火车 乐山夹江到成都的火车票 胶州一烟台火车 胶州一烟台火车 景泰到青铜峡火车查询 恩施南阳的火车 耒阳到肇庆市火车是多少 芜湖 宿州火车 淮安到贵州火车有几站 成都去广东省清远市的火车 济宁通哈尔滨火车 乐山夹江到成都的火车票 新乡-大连火车 重庆市至郑州市火车 景泰到青铜峡火车查询 齐市到红彦的火车 乐山夹江到成都的火车票