<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for aeomer</title><link>http://disqus.com/people/aeomer/</link><description></description><language>en</language><lastBuildDate>Fri, 13 Feb 2009 16:24:58 -0000</lastBuildDate><item><title>Re: Please give me a 404 Page!</title><link>http://joomla-seo-blog.disqus.com/please_give_me_a_404_page/#comment-6248068</link><description>Gee that does sound easy.  Especially if you want to implement it across dozens of sites.  Much easier than just incorporating a simple fix into the Core Code don't you think?  The point of this post is Joomla needs to FIX they way they handle 404 error pages and offer a simple solution to the masses like Wordpress does.  Joomla also needs commenting at the core and the ability to assign an article to multiple categories.  Wordpress is NOT perfect, but Joomla is a pain in the A..</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Internet Marketing IQ</dc:creator><pubDate>Fri, 13 Feb 2009 16:24:58 -0000</pubDate></item><item><title>Re: Please give me a 404 Page!</title><link>http://joomla-seo-blog.disqus.com/please_give_me_a_404_page/#comment-4395609</link><description>Just make a php page with:&lt;br&gt;&amp;lt;?php&lt;br&gt;header( 'Location: &lt;a href="http://www.yoursite.com/error_page.html%27" rel="nofollow"&gt;http://www.yoursite.com/error_page.html'&lt;/a&gt; ) ;&lt;br&gt;?&amp;gt;&lt;br&gt;&lt;br&gt;and place it in the templates/system folder and replace the error.php file&lt;br&gt;&lt;br&gt;I just redirect to home page and leave no 404 page info</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spencer</dc:creator><pubDate>Sun, 14 Dec 2008 03:06:07 -0000</pubDate></item><item><title>Re: Please give me a 404 Page!</title><link>http://joomla-seo-blog.disqus.com/please_give_me_a_404_page/#comment-510313</link><description>Interesting answer, but it refers to several points that it would be nice to develop to make it useful :&lt;br&gt;1°) Which version of Joomla ? 1.0, 1.5 Legacy or 1.5 ?&lt;br&gt;2°) How and where can i "Change the System SEF to point to that file"&lt;br&gt;3°) Do you have an example for "the tricky bit. Explode the URL separating the url path and get_vars, check if this is something you want to handle or something you want a 404 page for."&lt;br&gt;4°) I suppose "then ensure you put on the PHP statement header("HTTP/1.1 200 OK"); " is at the beginning of the template's index.php&lt;br&gt;5°) header("HTTP/1.0 404 Not Found"); // is not written this way, i suppose, but wiht Location: ??? and how does it refer to myerrordochandler.php&lt;br&gt;6°) How to "ob_start() and ob_end_flush() to buffer your output until after the header is sent if you are so inclined"&lt;br&gt;&lt;br&gt;Thanks for the input but I don't have your skill ans a working example would help very much !</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chalk</dc:creator><pubDate>Thu, 22 May 2008 11:01:47 -0000</pubDate></item><item><title>Re: Please give me a 404 Page!</title><link>http://joomla-seo-blog.disqus.com/please_give_me_a_404_page/#comment-461612</link><description>Easy to do! Create a 404 page for yourself using PHP - call it what you want depending its use e.g myerrordochandler.php. Change the System SEF to point to that file. Now the tricky bit. Explode the URL separating the url path and get_vars, check if this is something you want to handle or something you want a 404 page for.&lt;br&gt;&lt;br&gt;If you want to handle the page with actual content then ensure you put on the PHP statement  header("HTTP/1.1 200 OK"); BEFORE ANY OTHER OUTPUT TO THE BROWSER!!! If anything has gone to the browser already you will get a 'headers already sent' notice&lt;br&gt;&lt;br&gt;If you want to send a real '404 page' to stop missing pages being indexed then put a header("HTTP/1.0 404 Not Found"); statement in your PHP. Same rule applies - no output before the header statement.  You can ob_start() and ob_end_flush() to buffer your output until after the header is sent if you are so inclined.&lt;br&gt;&lt;br&gt;BTW if you have 404 redirection on a site  you coded yourself  (not Joomla etc) you can use .htaccess or httpd.conf settings to redirect to your ErrorDocument 404 handler (PHP or whatever your personal poison) and then use the header() function to tell the browser it is a real page not a 404 page! A very cool and completely standard way to create SEF - not like the Joomla junk way.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aeomer</dc:creator><pubDate>Wed, 14 May 2008 09:07:11 -0000</pubDate></item></channel></rss>