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"
定位他人安卓手机软件安卓软件 写小说阅读图书的软件infx 软件英文图片汉化软件杂志社订户统计软件哪个软件有h游戏阅读图书的软件妲己语音软件能语音和记笔记的软件录制网上mp3软件定位他人安卓手机软件腾讯视频软件apk联讯证券至尊版软件阅读图书的软件能语音和记笔记的软件家庭唱k歌软件手机版和记软件和记软件有没有记错题笔记的软件js-650写频软件和记软件妲己语音软件手机root后移动软件下载英文图片汉化软件枪林弹雨网页游戏刷枪软件infx 软件手机root后移动软件下载有没有记错题笔记的软件腾讯视频软件apk 社畜赵良阳刚通宵加完班就被某神秘大佬盯上召唤进了异世界。别人都是穿越到人的身体里成为主角拯救世界,而我只能魂穿到一杆枪上打打辅助。被迫在这个世界里跟着主角走上复仇之路。 主线全靠躺。 陆哥你进来,刚刚外面人多,我在这里给你跪下了 江南水乡,一俊俏女子在等待着自己心仪的男子 天下,朝廷,藩王,蛮夷之间的摩擦愈演愈热 江湖,即将到来的战争使江湖暗流涌动 少年。。。叶辰,原本是一名普普通通的大学生,在宿舍玩电脑的他意外触电穿越到了北宋靖康之难的时间,成为被金人押送回金国领地中数万宋人当中的一员,本以为生活无望,但却意外觉醒了神级抽奖系统,看你是如何从山寨一步步走向庞大帝国。天灾过后,就是人祸。 经历了大灾的人们在一片废墟之中重建新的制度。 可重建的路上布满了血腥和骸骨。 一位连自己身份都不知小的少年,原本只想在乱世之中苟活,却没有想到一步步走向了不可控的未来之中......作者是一名双相情感障碍患者,在休学期间写了这本书,不喜勿喷欢迎观看。叶鑫是一名普通高中生,某天发现自己被惊悚副本选中。   副本只有4.3%存活率。   凉凉!无助!   叶鑫绝望时觉醒了人鬼皇系统:他能看破鬼怪生前!他能看见好感度!他还能使用鬼怪的武器!   从此以后,骚鬼如风,常伴吾身。天下武林起纷争,江湖儿女几多情。 家仇国恨风云起,刀光剑影始无终。 双龙剑中觅宝藏,群雄逐鹿亦为功。 天一巫祝几时恨,恩怨消散转头空。   修仙界至尊医尊徐辰,重回到了地球当实习医生的日子,自此改变他的人生,再努力重返仙界。   他有医死人活白骨的医术本领,在都市生活里逍遥又快活。   富家女,青梅竹马,女记者,老师……   都成为了他的崇拜者。   我命由我不由天。   一剑指苍穹,快活人世间!   我笑这苍生都在我脚下,皆为我臣服!     樱花落在玫瑰园里,一场伺机而动的较量即将开始。这是神魔意志与人类精神的碰撞,这是斗气与魔法充斥的世界,在牧师的祈祷与召唤师的吟唱中,天才少年龙行云带领渺小的人类,决战诸天神魔。他是骑士?他是魔法师?他是学霸?他是冒险者?他是英勇的领主?他是伟大的统帅?他是无敌的战神?不他是人类的英雄。
神之天助 没想到,一场意外我火了 涅风剑影 阳归故里 大唐第一熊孩子 云凤九天 战国诛妖人 四灵战纪 斑驳之间 大燕第一世子 淦!我竟然这么猛! 超级人工智能 娱乐超级奶爸 离开了幽村,没人和我说话 Fate:DragonVeinWar 恐怖游戏:我是鬼屋NPC 蟑螂皇帝 契能巅峰 海上城堡 男人当为王 电脑下载什么软件听小说 制做电子文档的软件 家庭唱k歌软件手机版 和记软件 电脑下载什么软件听小说 lite软件 exe msi格式软件转换 英雄联盟20投软件 枪林弹雨网页游戏刷枪软件 腾讯视频软件apk 妲己语音软件 哪款抢购软件好 中考语文试卷软件 能语音和记笔记的软件 杂志社订户统计软件 英文图片汉化软件 exe msi格式软件转换 枪林弹雨网页游戏刷枪软件 js-650写频软件 定位他人安卓手机软件 制做电子文档的软件 阅读图书的软件 安卓软件 写小说 联讯证券至尊版软件 能语音和记笔记的软件 中考语文试卷软件 枪林弹雨网页游戏刷枪软件 安卓软件 写小说 js-650写频软件 枪林弹雨网页游戏刷枪软件 英文图片汉化软件 制做电子文档的软件 娱乐 多人视频聊天软件 定位他人安卓手机软件 手机root后移动软件下载 英文图片汉化软件 娱乐 多人视频聊天软件 家庭唱k歌软件手机版 中考语文试卷软件 阅读图书的软件 infx 软件 远程考试软件 律友软件单机 哪款抢购软件好 联讯证券至尊版软件 制做电子文档的软件 哪款抢购软件好 infx 软件 有没有记错题笔记的软件 哪个软件有h游戏 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 也就那点事儿了 武逆焚天 近战狂兵 沉楼 九段妖孽慕薄渊 欧博官网 亚星游戏官网 亚星官网 欧博官网 澳门葡京游戏官网 infx 软件 松下a4软件 中文版 松下a4软件 中文版 联讯证券至尊版软件 录制网上mp3软件 娱乐 多人视频聊天软件 英文图片汉化软件 制做电子文档的软件 英雄联盟20投软件 家庭唱k歌软件手机版 中考语文试卷软件 娱乐 多人视频聊天软件 安卓软件 写小说 律友软件单机 妲己语音软件 英文图片汉化软件 手机root后移动软件下载 远程考试软件 远程考试软件 和记软件 联讯证券至尊版软件 阅读图书的软件 infx 软件 杂志社订户统计软件 能语音和记笔记的软件 哪个软件有h游戏 手机root后移动软件下载 阅读图书的软件 安卓软件 写小说 有没有记错题笔记的软件