<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Isarbella</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Isarbella"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Isarbella"/>
	<updated>2026-05-14T13:48:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Archived:Creating_a_Custom_404_Error/de&amp;diff=635387</id>
		<title>Archived:Creating a Custom 404 Error/de</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Archived:Creating_a_Custom_404_Error/de&amp;diff=635387"/>
		<updated>2019-10-19T08:34:52Z</updated>

		<summary type="html">&lt;p&gt;Isarbella: Created page with &amp;quot;==Vier Schritte zur Erstellung einer persönlichen 404-Fehlerseite==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dieses Tutorial zeigt dir, wie du eine deiner Joomla-Website angepasste 404-Fehlerseite erstellst.&lt;br /&gt;
&#039;&#039;&#039;Please note, that the approach below sends 200 HTTP code to browser instead of expected 404 (since it finally renders a regular joomla article). The approach tells search engine not to index the page by disallowing it in robots.txt. This doesn&#039;t seem to be the best solution.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Vier Schritte zur Erstellung einer persönlichen 404-Fehlerseite==&lt;br /&gt;
# &#039;&#039;&#039;Create an Uncategorized &#039;404&#039; Article&#039;&#039;&#039;&lt;br /&gt;
#: Create an &#039;uncategorized&#039; article in Joomla! to serve as your 404 Page.  Include some text such as &#039;&#039;Sorry, we could not find the page you were looking for...&#039;&#039; and if necessary, also any useful navigational links.  For example, you may wish to add a link back to your site&#039;s home page.&lt;br /&gt;
# &#039;&#039;&#039;Create and copy a link to that new 404 Article.&#039;&#039;&#039;&lt;br /&gt;
#: Create a menu item which links to the new 404 Article and &#039;apply&#039; your changes.  Then copy the URL information (index.php?optio...), set the menu item as &#039;unpublished&#039; and close out of the menu editing page.  You may want to paste the copied URL into Notepad or somewhere accessible for the time-being.&lt;br /&gt;
# &#039;&#039;&#039;Copy error.php to your Template&#039;s Directory&#039;&#039;&#039;&lt;br /&gt;
#: In your Joomla! installation copy the file error.php from the templates/system directory, to your Template directory.  For example, if I was using a template named &#039;Cleancloud&#039; I would copy the error.php file to the templates/cleancloud directory.&lt;br /&gt;
# &#039;&#039;&#039;Modify error.php to Redirect 404 Errors to your 404 Article   &#039;&#039;&#039; &lt;br /&gt;
#: Edit the error.php file as follows, adding the code below immediately under the &#039;restricted access&#039; line:&lt;br /&gt;
If you are using Joomla 1.6, 1.7, 2.5, or 3.x please use this detection code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if (($this-&amp;gt;error-&amp;gt;getCode()) == &#039;404&#039;) {&lt;br /&gt;
header(&#039;Location: /index.php?option=com_content&amp;amp;view=article&amp;amp;id=75&#039;);&lt;br /&gt;
exit;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace the location information (index.php?option..) with the URL from the menu item you created.&lt;br /&gt;
&lt;br /&gt;
If you are using Joomla 1.5 and below please use this detection code instead:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if (($this-&amp;gt;error-&amp;gt;code) == &#039;404&#039;) {&lt;br /&gt;
header(&#039;Location: /index.php?option=com_content&amp;amp;view=article&amp;amp;id=75&#039;);&lt;br /&gt;
exit;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclude your Custom 404 Error Page from Search Engines==&lt;br /&gt;
* In Joomla 3.x: in Article Manager &amp;gt; Edit Article &amp;gt; [Publishing] &amp;gt; set &amp;quot;Robots&amp;quot; to &amp;quot;Noindex&amp;quot;.&lt;br /&gt;
* In Joomla 2.5: in Article Manager &amp;gt; Edit Article &amp;gt; [Metadata Options] &amp;gt; set &amp;quot;Robots&amp;quot; to &amp;quot;Noindex&amp;quot;.&lt;br /&gt;
* In other versions, add the following line to the [[S:MyLanguage/robots.txt file|robots.txt]] file located in the root directory of your Joomla! installation. Replace the (index.php?option..) location with your 404 Article URL.&lt;br /&gt;
*: &amp;lt;code&amp;gt;Disallow: /index.php?option=com_content&amp;amp;view=article&amp;amp;id=75&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Additional Steps Toward a Better Custom 404 Error Page ==&lt;br /&gt;
* Follow the Best-Practices described here:  http://www.alistapart.com/articles/perfect404/&lt;br /&gt;
* Be creative, add a [http://www.geekhaiku.com/tag/404/ 404 Haiku] or maybe an [http://www.smashingmagazine.com/2007/08/17/404-error-pages-reloaded Interesting Photo]&lt;br /&gt;
&lt;br /&gt;
== More Custom Error Page Information ==&lt;br /&gt;
* [[S:MyLanguage/Custom_error_pages|Custom Error Pages]]&lt;br /&gt;
* [[S:MyLanguage/System_error_pages|System Error Pages]]&lt;br /&gt;
* [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html HTTP/1.1 Status Code Definitions]&lt;br /&gt;
* [http://www.google.com/support/webmasters/bin/answer.py?answer=83040&amp;amp;topic=8474 Google Webmaster - Analyzing Crawl Errors]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials/de|Tutorial]]&lt;/div&gt;</summary>
		<author><name>Isarbella</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Archived:Creating_a_Custom_404_Error/2/de&amp;diff=635386</id>
		<title>Translations:Archived:Creating a Custom 404 Error/2/de</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Archived:Creating_a_Custom_404_Error/2/de&amp;diff=635386"/>
		<updated>2019-10-19T08:34:51Z</updated>

		<summary type="html">&lt;p&gt;Isarbella: Created page with &amp;quot;==Vier Schritte zur Erstellung einer persönlichen 404-Fehlerseite==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Vier Schritte zur Erstellung einer persönlichen 404-Fehlerseite==&lt;/div&gt;</summary>
		<author><name>Isarbella</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Archived:Creating_a_Custom_404_Error/de&amp;diff=635371</id>
		<title>Archived:Creating a Custom 404 Error/de</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Archived:Creating_a_Custom_404_Error/de&amp;diff=635371"/>
		<updated>2019-10-19T08:33:09Z</updated>

		<summary type="html">&lt;p&gt;Isarbella: Created page with &amp;quot;Dieses Tutorial zeigt dir, wie du eine deiner Joomla-Website angepasste 404-Fehlerseite erstellst.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dieses Tutorial zeigt dir, wie du eine deiner Joomla-Website angepasste 404-Fehlerseite erstellst.&lt;br /&gt;
&#039;&#039;&#039;Please note, that the approach below sends 200 HTTP code to browser instead of expected 404 (since it finally renders a regular joomla article). The approach tells search engine not to index the page by disallowing it in robots.txt. This doesn&#039;t seem to be the best solution.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Four Steps to Creating a Custom 404 Error Page ==&lt;br /&gt;
# &#039;&#039;&#039;Create an Uncategorized &#039;404&#039; Article&#039;&#039;&#039;&lt;br /&gt;
#: Create an &#039;uncategorized&#039; article in Joomla! to serve as your 404 Page.  Include some text such as &#039;&#039;Sorry, we could not find the page you were looking for...&#039;&#039; and if necessary, also any useful navigational links.  For example, you may wish to add a link back to your site&#039;s home page.&lt;br /&gt;
# &#039;&#039;&#039;Create and copy a link to that new 404 Article.&#039;&#039;&#039;&lt;br /&gt;
#: Create a menu item which links to the new 404 Article and &#039;apply&#039; your changes.  Then copy the URL information (index.php?optio...), set the menu item as &#039;unpublished&#039; and close out of the menu editing page.  You may want to paste the copied URL into Notepad or somewhere accessible for the time-being.&lt;br /&gt;
# &#039;&#039;&#039;Copy error.php to your Template&#039;s Directory&#039;&#039;&#039;&lt;br /&gt;
#: In your Joomla! installation copy the file error.php from the templates/system directory, to your Template directory.  For example, if I was using a template named &#039;Cleancloud&#039; I would copy the error.php file to the templates/cleancloud directory.&lt;br /&gt;
# &#039;&#039;&#039;Modify error.php to Redirect 404 Errors to your 404 Article   &#039;&#039;&#039; &lt;br /&gt;
#: Edit the error.php file as follows, adding the code below immediately under the &#039;restricted access&#039; line:&lt;br /&gt;
If you are using Joomla 1.6, 1.7, 2.5, or 3.x please use this detection code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if (($this-&amp;gt;error-&amp;gt;getCode()) == &#039;404&#039;) {&lt;br /&gt;
header(&#039;Location: /index.php?option=com_content&amp;amp;view=article&amp;amp;id=75&#039;);&lt;br /&gt;
exit;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace the location information (index.php?option..) with the URL from the menu item you created.&lt;br /&gt;
&lt;br /&gt;
If you are using Joomla 1.5 and below please use this detection code instead:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if (($this-&amp;gt;error-&amp;gt;code) == &#039;404&#039;) {&lt;br /&gt;
header(&#039;Location: /index.php?option=com_content&amp;amp;view=article&amp;amp;id=75&#039;);&lt;br /&gt;
exit;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclude your Custom 404 Error Page from Search Engines==&lt;br /&gt;
* In Joomla 3.x: in Article Manager &amp;gt; Edit Article &amp;gt; [Publishing] &amp;gt; set &amp;quot;Robots&amp;quot; to &amp;quot;Noindex&amp;quot;.&lt;br /&gt;
* In Joomla 2.5: in Article Manager &amp;gt; Edit Article &amp;gt; [Metadata Options] &amp;gt; set &amp;quot;Robots&amp;quot; to &amp;quot;Noindex&amp;quot;.&lt;br /&gt;
* In other versions, add the following line to the [[S:MyLanguage/robots.txt file|robots.txt]] file located in the root directory of your Joomla! installation. Replace the (index.php?option..) location with your 404 Article URL.&lt;br /&gt;
*: &amp;lt;code&amp;gt;Disallow: /index.php?option=com_content&amp;amp;view=article&amp;amp;id=75&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Additional Steps Toward a Better Custom 404 Error Page ==&lt;br /&gt;
* Follow the Best-Practices described here:  http://www.alistapart.com/articles/perfect404/&lt;br /&gt;
* Be creative, add a [http://www.geekhaiku.com/tag/404/ 404 Haiku] or maybe an [http://www.smashingmagazine.com/2007/08/17/404-error-pages-reloaded Interesting Photo]&lt;br /&gt;
&lt;br /&gt;
== More Custom Error Page Information ==&lt;br /&gt;
* [[S:MyLanguage/Custom_error_pages|Custom Error Pages]]&lt;br /&gt;
* [[S:MyLanguage/System_error_pages|System Error Pages]]&lt;br /&gt;
* [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html HTTP/1.1 Status Code Definitions]&lt;br /&gt;
* [http://www.google.com/support/webmasters/bin/answer.py?answer=83040&amp;amp;topic=8474 Google Webmaster - Analyzing Crawl Errors]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials/de|Tutorial]]&lt;/div&gt;</summary>
		<author><name>Isarbella</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:Archived:Creating_a_Custom_404_Error/1/de&amp;diff=635370</id>
		<title>Translations:Archived:Creating a Custom 404 Error/1/de</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:Archived:Creating_a_Custom_404_Error/1/de&amp;diff=635370"/>
		<updated>2019-10-19T08:33:09Z</updated>

		<summary type="html">&lt;p&gt;Isarbella: Created page with &amp;quot;Dieses Tutorial zeigt dir, wie du eine deiner Joomla-Website angepasste 404-Fehlerseite erstellst.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dieses Tutorial zeigt dir, wie du eine deiner Joomla-Website angepasste 404-Fehlerseite erstellst.&lt;/div&gt;</summary>
		<author><name>Isarbella</name></author>
	</entry>
</feed>