<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Custom Error Page with .htaccess</title>
	<atom:link href="http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/feed" rel="self" type="application/rss+xml" />
	<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html</link>
	<description>Useful Tutorials, Scripts , Tips, and Resources for all PHP and Ajax beginners and experts .</description>
	<lastBuildDate>Mon, 07 May 2012 21:11:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: blackhawk</title>
		<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/comment-page-1#comment-5122</link>
		<dc:creator>blackhawk</dc:creator>
		<pubDate>Wed, 03 Feb 2010 06:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html#comment-5122</guid>
		<description>Neotropic, thanks for sharing....</description>
		<content:encoded><![CDATA[<p>Neotropic, thanks for sharing&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neotropic</title>
		<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/comment-page-1#comment-4706</link>
		<dc:creator>Neotropic</dc:creator>
		<pubDate>Mon, 19 Oct 2009 22:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html#comment-4706</guid>
		<description>Should clearify.
Actually using your own pages, not errors.php?code=404

if you have issues with it not working, put in your full URL.</description>
		<content:encoded><![CDATA[<p>Should clearify.<br />
Actually using your own pages, not errors.php?code=404</p>
<p>if you have issues with it not working, put in your full URL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neotropic</title>
		<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/comment-page-1#comment-4705</link>
		<dc:creator>Neotropic</dc:creator>
		<pubDate>Mon, 19 Oct 2009 21:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html#comment-4705</guid>
		<description>People above...
Using examples of my file
Change:
ErrorDocument 404 /errors.php?code=404

TO:
ErrorDocument 404 http://www.mysite.com/errors.php?code=404</description>
		<content:encoded><![CDATA[<p>People above&#8230;<br />
Using examples of my file<br />
Change:<br />
ErrorDocument 404 /errors.php?code=404</p>
<p>TO:<br />
ErrorDocument 404 <a href="http://www.mysite.com/errors.php?code=404" rel="nofollow">http://www.mysite.com/errors.php?code=404</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Mehran</title>
		<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/comment-page-1#comment-4344</link>
		<dc:creator>Muhammad Mehran</dc:creator>
		<pubDate>Tue, 11 Aug 2009 18:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html#comment-4344</guid>
		<description>nice sharing I have used it onhttp://www.pnpzila.net and http://www.sbdpk.com
thanks</description>
		<content:encoded><![CDATA[<p>nice sharing I have used it onhttp://www.pnpzila.net and <a href="http://www.sbdpk.com" rel="nofollow">http://www.sbdpk.com</a><br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jayu</title>
		<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/comment-page-1#comment-3704</link>
		<dc:creator>jayu</dc:creator>
		<pubDate>Wed, 25 Mar 2009 12:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html#comment-3704</guid>
		<description>Hello Roshan,
I try  your code 404 Error Redirection, But It doesn&#039;t work for me. Use LInux server and mod_rewrite is on but when try to redirect its not working 

write my .htacess file 

Options +FollowSymlinks
RewriteEngine on
ErrorDocument 404 /404.html
give me server error 

and if I write 
ErrorDocument 404 404.html
not working just show me 404.html
can y tell me where i am wrong?</description>
		<content:encoded><![CDATA[<p>Hello Roshan,<br />
I try  your code 404 Error Redirection, But It doesn&#8217;t work for me. Use LInux server and mod_rewrite is on but when try to redirect its not working </p>
<p>write my .htacess file </p>
<p>Options +FollowSymlinks<br />
RewriteEngine on<br />
ErrorDocument 404 /404.html<br />
give me server error </p>
<p>and if I write<br />
ErrorDocument 404 404.html<br />
not working just show me 404.html<br />
can y tell me where i am wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NWLink Dir</title>
		<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/comment-page-1#comment-3071</link>
		<dc:creator>NWLink Dir</dc:creator>
		<pubDate>Thu, 06 Nov 2008 12:33:08 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html#comment-3071</guid>
		<description>I have used this code but doesn&#039;t work for me....

i have file 404.php on my root folder and use the following code in my .htaccess file

**********************

RewriteEngine on
RewriteRule ^(.*)\.htm$ $1.php [NC]
ErrorDocument 404 /404.php

**********************

can you tell me what the problem?

regards,</description>
		<content:encoded><![CDATA[<p>I have used this code but doesn&#8217;t work for me&#8230;.</p>
<p>i have file 404.php on my root folder and use the following code in my .htaccess file</p>
<p>**********************</p>
<p>RewriteEngine on<br />
RewriteRule ^(.*)\.htm$ $1.php [NC]<br />
ErrorDocument 404 /404.php</p>
<p>**********************</p>
<p>can you tell me what the problem?</p>
<p>regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naseer ahmad mughal</title>
		<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/comment-page-1#comment-3069</link>
		<dc:creator>naseer ahmad mughal</dc:creator>
		<pubDate>Thu, 06 Nov 2008 12:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html#comment-3069</guid>
		<description>Hi roshan,

i have seen you site and found very helpful.

Can you plz help me in .htacess setup.

on my local machine i have setup one small news system and want to use user friendly urls like

www.example.com/news-heading.htm

remember here no id is shown here but when in coding i get this as &quot;index.php?id=1&quot;

how is this possible?

Secondly i have added the code for 404 error page and make 404.php file but not working?

regards,
Naseer</description>
		<content:encoded><![CDATA[<p>Hi roshan,</p>
<p>i have seen you site and found very helpful.</p>
<p>Can you plz help me in .htacess setup.</p>
<p>on my local machine i have setup one small news system and want to use user friendly urls like</p>
<p><a href="http://www.example.com/news-heading.htm" rel="nofollow">http://www.example.com/news-heading.htm</a></p>
<p>remember here no id is shown here but when in coding i get this as &#8220;index.php?id=1&#8243;</p>
<p>how is this possible?</p>
<p>Secondly i have added the code for 404 error page and make 404.php file but not working?</p>
<p>regards,<br />
Naseer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Coding School &#187; Blog Archive &#187; php tips [2008-02-21 07:42:38]</title>
		<link>http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html/comment-page-1#comment-376</link>
		<dc:creator>PHP Coding School &#187; Blog Archive &#187; php tips [2008-02-21 07:42:38]</dc:creator>
		<pubDate>Thu, 21 Feb 2008 07:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/02/custom-error-page-htaccess.html#comment-376</guid>
		<description>[...]  Custom Error Page with .htaccess and ErrorDocument  By Roshan  In my last post of Hiding .php file extension with .htaccess Michael has mentioned that you can create your own custom page for the the 404(not found) error in server. And alex wanted to know that tip as well. Well alex here is the post &#8230;   Roshan Bhattarai&#8217;s Blog - PHP&#8230; - http://roshanbh.com.np [...]</description>
		<content:encoded><![CDATA[<p>[...]  Custom Error Page with .htaccess and ErrorDocument  By Roshan  In my last post of Hiding .php file extension with .htaccess Michael has mentioned that you can create your own custom page for the the 404(not found) error in server. And alex wanted to know that tip as well. Well alex here is the post &#8230;   Roshan Bhattarai&#8217;s Blog &#8211; PHP&#8230; &#8211; <a href="http://roshanbh.com.np" rel="nofollow">http://roshanbh.com.np</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/12 queries in 0.744 seconds using disk: basic
Object Caching 303/303 objects using disk: basic

Served from: roshanbh.com.np @ 2012-05-17 05:59:54 -->
