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"
加油少年电视剧马伊?p的新电视剧加油少年电视剧湛江拍的电视剧叫什么干得漂亮电视剧全集下载盗墓笔记电视剧结局徐峥现代电视剧领养电视剧刘玲玲相关家有公婆电视剧第37集有关夜上海的电视剧天涯海角小娇妻电视剧加油少年电视剧腾讯视频电视剧半月传有小萝莉的电视剧领养电视剧刘玲玲相关有关夜上海的电视剧忠诚电视剧演员李菁菁和秦卫东演过什么电视剧李菁菁和秦卫东演过什么电视剧上有老电视剧粤语青春y2k电视剧李菁菁和秦卫东演过什么电视剧家有公婆电视剧第37集大丈夫 电视剧 许娣干得漂亮电视剧全集下载毕业季电视剧下载湛江拍的电视剧叫什么大丈夫 电视剧 许娣上有老电视剧粤语腾讯视频电视剧半月传 这是个陌生的世界,一切都是未知,一切又都很熟悉。在这里,谁也不能确定,下一秒是生是死,甚至死都不知道怎么死的。【文中内容纯属虚构,请勿模仿和相信!!!!】你见过已死之人诈尸吗?你见过被人类所救千年报恩的狐妖吗?你见过生命无尽跳出六道轮回的僵尸吗?是否又见过跨越生死的人鬼恋情呢?主角林沐从小习得神秘道法在都市之中纵横游历降妖伏魔,但却陷入一个又一个的巨大邪教阴谋之中......这个世上有鬼吗? 真的有,而且有很多。 我叫徐艺,在我十八岁那年,我猛然发现了这个世界的真相。 月高悬于空,星不见其影。 沉眠的暴君从历史中苏醒,漆黑的双翼划过破晓的黎明;巍峨古堡跨越了尘封的的记忆,矗立在洛尔维亚的群山之巅。 当头戴王冠的公主睁开双眼,从死亡归来的旅人重新握住剑柄—— 国王湖的水面不再平静,却依旧深不见底。穿越异界三年的林锋,成为了神剑宗宗主!   “叮!看到宿主作为一个堂堂炎黄子孙,穿越后一事无成,垃圾到没谱!” 系统愤怒了!    “叮!资源填补升级开始……”    “叮!宿主的宗门获得主峰逆天峰,一百零八侧峰!”    “叮!宿主的宗门获得气运金龙一条!获得神级功法!”    不知不觉中,神剑宗俨然已名动天下,登临巅峰。    林锋:唉,我真没努力啊,奈何系统太给力了…… 永恒真神经过背叛,重生监狱禁闭室中有句话人尽皆知,有朝一日龙抬头,定让黄河水倒流,有朝一日虎归山,定让血染半边天。镜花水月是一个虚幻的大世界,原来花月容就是那个沉睡的、姓庄的远古人。 觉醒的花月容,意味着镜花水月大世界的崩塌。 “花郝岳袁”组合,他们在一次次跌宕起伏的并肩战斗中,彼此产生了越来越深厚的感情羁绊。对于他们的不舍,花月容不得不有所抉择。 永生不死、绝对自由的造物主身份,花月容会放弃吗?……玄界有一个没有人知道的秘密,只要找到七颗神树,便可达到传说的境界。 云陌州一个小家族的年轻一辈林秦突然被叫去后山拜师。 这个少年一路上会遇到多么精彩的世界。
神与棋局 我之大明 中天稗史 九牧 天界重生异能者 血合 全民领主,开局赠送幽都 帝释缘空 侠客的江湖 复仇男神 娱乐!我真不想成顶流! 都市神医奶爸 不灭武尊 虽然跌倒了,但要坚持下去 都市猛兽侠 我的系统有点毒 原神:我会无想的一刀 命运黑书 不凡魔道 我有火之传承 蟒山英雄 电视剧 电视剧niunu 忠诚电视剧演员 干得漂亮电视剧全集下载 蟒山英雄 电视剧 电视剧中处死女囚 最近南北朝相关电视剧 最近张国立演的电视剧有哪些电视剧 毕业季电视剧下载 腾讯视频电视剧半月传 家有公婆电视剧第37集 风少女第二季电视剧全集 今天宁夏卫视演傅彪的什么电视剧 电视剧niunu 盗墓笔记电视剧结局 干得漂亮电视剧全集下载 最近南北朝相关电视剧 毕业季电视剧下载 青春y2k电视剧 加油少年电视剧 电视剧niunu 领养电视剧刘玲玲相关 马伊?p的新电视剧 有小萝莉的电视剧 有关夜上海的电视剧 今天宁夏卫视演傅彪的什么电视剧 毕业季电视剧下载 马伊?p的新电视剧 青春y2k电视剧 毕业季电视剧下载 干得漂亮电视剧全集下载 电视剧niunu 如果电视剧中小孩名字 盗墓笔记电视剧结局 大丈夫 电视剧 许娣 干得漂亮电视剧全集下载 如果电视剧中小孩名字 忠诚电视剧演员 今天宁夏卫视演傅彪的什么电视剧 领养电视剧刘玲玲相关 湛江拍的电视剧叫什么 演员童谣演的电视剧 昌旭演的电视剧 风少女第二季电视剧全集 有小萝莉的电视剧 电视剧niunu 风少女第二季电视剧全集 湛江拍的电视剧叫什么 今天宁夏卫视演傅彪的什么电视剧 徐峥现代电视剧 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 神与棋局 巍巍高楼起 路过的落日与黄昏 血合 侠客的江湖 万利游戏官网 欧博官网 皇冠登3出租 万利游戏官网 快连下载 忠诚电视剧演员 血染大青山电视剧第6集 今天宁夏卫视演傅彪的什么电视剧 徐峥现代电视剧 风少女第二季电视剧全集 大丈夫 电视剧 许娣 家有公婆电视剧第37集 忠诚电视剧演员 青春y2k电视剧 天涯海角小娇妻电视剧 领养电视剧刘玲玲相关 电视剧niunu 蟒山英雄 电视剧 tvb电视剧百度网盘006 毕业季电视剧下载 领养电视剧刘玲玲相关 大丈夫 电视剧 许娣 毕业季电视剧下载 忠诚电视剧演员 电视剧中处死女囚 昌旭演的电视剧 李菁菁和秦卫东演过什么电视剧 昌旭演的电视剧 大丈夫 电视剧 许娣 加油少年电视剧 风少女第二季电视剧全集 青春y2k电视剧 tvb电视剧百度网盘006 湛江拍的电视剧叫什么 盗墓笔记电视剧结局