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"
明星写影评宣传电影偷时差的电影明星写影评宣传电影西班牙 电影 爱情 2013魔镜之旅电影百度影音像闰年的电影电影奇迹年想开电影武打片93年上映电影qq空间电影在线直播网络水军 电影明星写影评宣传电影让女生哭的国产电影邪杀电影中女演员都有谁想开电影武打片qq空间电影在线直播施瓦辛格最新电影背水一战主题曲混混电影讯雷下载 迅雷下载混混电影讯雷下载 迅雷下载X战警3(背水一战) 电影偷时间 电影混混电影讯雷下载 迅雷下载93年上映电影一个小孩遥控太空飞船对抗的电影魔镜之旅电影百度影音知青 电影 女性西班牙 电影 爱情 2013一个小孩遥控太空飞船对抗的电影X战警3(背水一战) 电影让女生哭的国产电影我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。在海盐家雾城的两人,刘羽和柳青潇一直在调查小时候的灾难的实情,一次执行任务的途中,柳青潇失忆,智商也只是小孩的程度,却在找回记忆的途中发掘出了真相这是一个全民领主的世界,只要机缘足够,不死不灭不是传说。 周焱意外穿越到这个神奇的世界,觉醒金手指,竟然能够无限进化自己的领地。 普通【兵营】进化为【铜雀台】,开局就召唤会剑术的RRR级品质貂蝉! 普通【领主水晶】进化为【王者水晶】,防御力暴增十倍,怪物打都打不动! 普通【祭坛】进化为【神秘商店】,定时刷新各种宝物,开局就有一折打折卡,装备、建筑什么的,统统不是问题。 普通【茅草屋】进化为【灵气竹屋】,修炼成仙不是梦。 “你只是最低级的白色领主,为什么会有这么可怕的英雄!” “这真的只是一个低级领主,为什么这个领地防御这么可怕。” “我的巨龙还没有到城门就被屠了,麻蛋.....别吃啊!!” “呜呜呜,我的领地竟然被一个漂亮的妹子给毁了,她说叫貂蝉。” 周焱:“虽然我只是最低级的白色领主,但是我依然吊打全世界。从前有一座大陆,叫圣洛大陆。 大陆之上有一个域,叫南山域。 南山域有个宗门,叫仙痕剑宗。 仙痕剑宗之中有一位大师兄,叫君清尘,他似乎有亿点点强,而他的故事也是从此开始。穿越异界三年的林锋,成为了神剑宗宗主!   “叮!看到宿主作为一个堂堂炎黄子孙,穿越后一事无成,垃圾到没谱!” 系统愤怒了!    “叮!资源填补升级开始……”    “叮!宿主的宗门获得主峰逆天峰,一百零八侧峰!”    “叮!宿主的宗门获得气运金龙一条!获得神级功法!”    不知不觉中,神剑宗俨然已名动天下,登临巅峰。    林锋:唉,我真没努力啊,奈何系统太给力了…… 这个世界是无比的疯狂 沐川七,一个国家的皇子,一个捍卫太平的修士,和他的兄弟胡东,在这伸手不见五指的世界,开辟光明。2002年的某一天,陈雨后突然接到了一个任务,来自华夏官方的任务。终南山,烟雾萦绕间有一座寺庙 世界各地的名流高层,对这座小庙趋之若骛,只因这里坐着一位天之娇子。 但这位名叫张易的年轻人名满天下,但却无人识其长相。 如今,老爷子命其下山赴婚约,高手出山,天下将为之一变!李白三入长安,却发觉长安陷入了一场巨大的危机当中。为了长安城步步为营的他,逐渐发现事情正向着更深的一层发展。。。玄元大帝斗兽失败,列国入侵,判乱四起,群雄逐鹿,看国仇家狠,儿女情长,英雄热血,何去何从.....
诛暗 异常录 拳破魔域 系统:转生成狗也要当最强 明!日月 洪荒:整个洪荒都在演我 镇狱经 最强系统之我是主角 黑日之下 我秋刀鱼绝不当废物 无极剑道,天元轮回 我怎么混成了最强? 笔仙之勇往直前 大周年代 重生之剑神无形 都市修仙:顶峰相见 因爱生恨,短篇 仙剑无间道 考古野史 人世间之正道之光 电影云上什么来 伦理类电影 施瓦辛格最新电影背水一战主题曲 魔镜之旅电影百度影音 电影云上什么来 类似黄金时代的电影 陈朝电影 母老虎电影 知青 电影 女性 让女生哭的国产电影 93年上映电影 在哪里可以看最新电影 经典红色电影观后感 伦理类电影 像闰年的电影 魔镜之旅电影百度影音 陈朝电影 知青 电影 女性 偷时间 电影 明星写影评宣传电影 伦理类电影 想开电影武打片 偷时差的电影 邪杀电影中女演员都有谁 qq空间电影在线直播 经典红色电影观后感 知青 电影 女性 偷时差的电影 偷时间 电影 知青 电影 女性 魔镜之旅电影百度影音 伦理类电影 韩国电影考试院 像闰年的电影 一个小孩遥控太空飞船对抗的电影 魔镜之旅电影百度影音 韩国电影考试院 施瓦辛格最新电影背水一战主题曲 经典红色电影观后感 想开电影武打片 西班牙 电影 爱情 2013 伦理剧情电影 电影《筋疲力尽》 在哪里可以看最新电影 邪杀电影中女演员都有谁 伦理类电影 在哪里可以看最新电影 西班牙 电影 爱情 2013 经典红色电影观后感 电影奇迹年 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 晦暗师途 三界铺子 侠骨天娇 米月的刑事 都市帝仙 亚星官网 万利官网 欧博游戏官网 亚星官网 葡京官网 伦理剧情电影 知青 电影 女性 韩国电影考试院 混混电影讯雷下载 迅雷下载 魔镜之旅电影百度影音 经典红色电影观后感 施瓦辛格最新电影背水一战主题曲 哪里能看到免费电影 X战警3(背水一战) 电影 像闰年的电影 X战警3(背水一战) 电影 母老虎电影 电影《筋疲力尽》 想开电影武打片 qq空间电影在线直播 类似黄金时代的电影 偷时差的电影 魔镜之旅电影百度影音 两个小八路电影下载 迅雷下载 施瓦辛格最新电影背水一战主题曲 电影奇迹年 邪杀电影中女演员都有谁 一个小孩遥控太空飞船对抗的电影 像闰年的电影 施瓦辛格最新电影背水一战主题曲 qq空间电影在线直播 网络水军 电影 偷时间 电影 伦理类电影 伦理剧情电影