<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged 404</title>
<link>https://www.question2answer.org/qa/tag/404</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to change 404 Not Found response to 410 Gone?</title>
<link>https://www.question2answer.org/qa/116828/how-to-change-404-not-found-response-to-410-gone</link>
<description>

&lt;p data-start=&quot;254&quot; data-end=&quot;266&quot;&gt;Hi everyone,&lt;/p&gt;

&lt;p data-start=&quot;268&quot; data-end=&quot;395&quot;&gt;I'm trying to change the default &lt;code data-start=&quot;301&quot; data-end=&quot;316&quot;&gt;404 Not Found&lt;/code&gt; response in Question2Answer to &lt;code data-start=&quot;348&quot; data-end=&quot;358&quot;&gt;410 Gone&lt;/code&gt;, for some permanently removed pages.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p data-start=&quot;397&quot; data-end=&quot;423&quot;&gt;I modified this core file:
&lt;br&gt;qa-include/pages/qa-page-not-found.php
&lt;br&gt;
&lt;br&gt;I replaced this line:
&lt;br&gt;header('HTTP/1.0 404 Not Found');
&lt;br&gt;
&lt;br&gt;with:
&lt;br&gt;header($_SERVER['SERVER_PROTOCOL'] . ' 410 Gone');
&lt;br&gt;
&lt;br&gt;However, when I test the page in the browser, I get a &lt;code data-start=&quot;730&quot; data-end=&quot;738&quot;&gt;200 OK&lt;/code&gt; response instead 410 Gone.
&lt;br&gt;
&lt;br&gt;How can I properly make Q2A respond with a 410 Gone status code instead 404 Not Found?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/116828/how-to-change-404-not-found-response-to-410-gone</guid>
<pubDate>Sun, 13 Apr 2025 20:15:44 +0000</pubDate>
</item>
<item>
<title>Redirecting Lost 404 Pages to the Homepage</title>
<link>https://www.question2answer.org/qa/116719/redirecting-lost-404-pages-to-the-homepage</link>
<description>I had a category on my website that contained around 100 pages. I moved these pages from that category to &amp;quot;Uncategorized,&amp;quot; which resulted in 404 Not Found pages.&lt;br /&gt;
&lt;br /&gt;
I want to redirect all these lost pages to the homepage.&lt;br /&gt;
&lt;br /&gt;
Example URL: &lt;a href=&quot;https://www.xxxx.com/questions/سؤال-وجواب?start=81&quot; rel=&quot;nofollow&quot;&gt;https://www.xxxx.com/questions/سؤال-وجواب?start=81&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Server Type: LiteSpeed&lt;br /&gt;
&lt;br /&gt;
Version: 1.8.8</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/116719/redirecting-lost-404-pages-to-the-homepage</guid>
<pubDate>Thu, 03 Apr 2025 20:44:20 +0000</pubDate>
</item>
<item>
<title>My website had hacked Request for Assistance with Website Security and 404 Errors</title>
<link>https://www.question2answer.org/qa/114289/website-hacked-request-assistance-website-security-errors</link>
<description>

&lt;p&gt;Request for Assistance with Website Security and 404 Errors
&lt;br&gt;
&lt;br&gt;My website was hacked, and I have deleted suspicious files, changed the password, and removed fake users. However, I am still unsure if the threat is completely gone. Additionally, the number of 404 errors has increased to over 5350 pages.
&lt;br&gt;&amp;nbsp;&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;I need your assistance with:&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;
&lt;br&gt;1. Ensuring the complete security of the website.
&lt;br&gt;2. Handling the large number of 404 errors.
&lt;br&gt;3. Improving the site's re-indexing and performance in search engines.
&lt;br&gt;
&lt;br&gt;I appreciate your guidance and advice on these matters.
&lt;br&gt;
&lt;br&gt;Thank you for your help.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/114289/website-hacked-request-assistance-website-security-errors</guid>
<pubDate>Wed, 24 Jul 2024 21:13:36 +0000</pubDate>
</item>
<item>
<title>Tag doesn't find any question though one question has this tag</title>
<link>https://www.question2answer.org/qa/95110/tag-doesnt-find-any-question-though-one-question-has-this-tag</link>
<description>

&lt;p&gt;&lt;em&gt;&lt;u&gt;In a nutshell:&lt;/u&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;On my q2a instance I have a question (at &lt;a rel=&quot;nofollow&quot; href=&quot;https://mesquestionszerodechet.fr/87/peut-proposer-construction-nouvel-incin%C3%A9rateur-d%C3%A9charge?show=87#q87&quot;&gt;this url&lt;/a&gt;) which has, among other words, the tags &quot;&lt;em&gt;incinérateur&lt;/em&gt;&quot; and &quot;&lt;em&gt;décharge&lt;/em&gt;&quot;. However when I look for one of those tags [1] it says that no question is found (and the http code is 404).&lt;/p&gt;

&lt;p&gt;Is this a bug or a behavior that I misunderstand?&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;em&gt;My details:&lt;/em&gt;&lt;/u&gt;&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;I've also observed that when we look for other tags that are on this question, it works fine. For instance &lt;a rel=&quot;nofollow&quot; href=&quot;https://mesquestionszerodechet.fr/tag/administration&quot;&gt;looking for the tag &lt;em&gt;administration&lt;/em&gt;&lt;/a&gt; finds this question as expected&lt;/li&gt;

&lt;li&gt;I've wondered if this behavior could be related to the tags with non ascii characters, but when I look for other tags with non ascii characters (example &lt;a rel=&quot;nofollow&quot; href=&quot;https://mesquestionszerodechet.fr/tag/st%C3%A9rilet&quot;&gt;here&lt;/a&gt;) it correctly finds the associated questions&lt;/li&gt;

&lt;li&gt;I'm using q2a version 1.8.5&lt;/li&gt;

&lt;li&gt;Here the enabled plugin I have (not sure if it's relevant though):

&lt;ul&gt;

&lt;li&gt;Akismet Spam Filter&lt;/li&gt;

&lt;li&gt;badges&lt;/li&gt;

&lt;li&gt;Category Description&lt;/li&gt;

&lt;li&gt;Event Logger&lt;/li&gt;

&lt;li&gt;Faq Page&lt;/li&gt;

&lt;li&gt;Logarithmic Tag Cloud Widget (nb: this is the only plugin related to tag that I'm using)&lt;/li&gt;

&lt;li&gt;Mouseover Layer&lt;/li&gt;

&lt;li&gt;Recent Events Widget&lt;/li&gt;

&lt;li&gt;WYSIWYG Editor&lt;/li&gt;

&lt;li&gt;XML Sitemap&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;[1]: ie: when we go to either the &lt;a rel=&quot;nofollow&quot; href=&quot;https://mesquestionszerodechet.fr/tag/incin%C3%A9rateur&quot;&gt;url for tag &lt;em&gt;incinérateur&lt;/em&gt;&lt;/a&gt; or the &lt;a rel=&quot;nofollow&quot; href=&quot;https://mesquestionszerodechet.fr/tag/d%C3%A9charge&quot;&gt;url for the tag &lt;em&gt;décharge&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/95110/tag-doesnt-find-any-question-though-one-question-has-this-tag</guid>
<pubDate>Sun, 01 Aug 2021 18:53:32 +0000</pubDate>
</item>
<item>
<title>Newly installed website giving 404 error</title>
<link>https://www.question2answer.org/qa/73736/newly-installed-website-giving-404-error</link>
<description>Hi I just installed question2answer in my server and link of website(&lt;a href=&quot;https://tradersgossip.com/&quot; rel=&quot;nofollow&quot;&gt;https://tradersgossip.com/&lt;/a&gt;) but apart from the home page,all other link are giving 404 not found exception.&lt;br /&gt;
&lt;br /&gt;
Can someone please help me regarding this,what and where things went wrong?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/73736/newly-installed-website-giving-404-error</guid>
<pubDate>Thu, 28 Mar 2019 10:54:07 +0000</pubDate>
</item>
<item>
<title>I deleted some fake users  from QA but Google webmaster showing mw 404 error ? How to solved it ?</title>
<link>https://www.question2answer.org/qa/71211/deleted-some-fake-users-google-webmaster-showing-error-solved</link>
<description>

&lt;p&gt;I removed all fake users but they were indexed in Google search result?&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Now google&amp;nbsp;shown me the message -&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:Verdana,Geneva,sans-serif&quot;&gt;&lt;span style=&quot;color:#000000&quot;&gt;Googlebot for smartphones identified a significant increase in the number of URLs on&lt;/span&gt;&lt;span style=&quot;color:#000000&quot;&gt;&amp;nbsp;that return a 404 (not found) error. If these pages exist on your desktop site, showing an error for mobile users can be &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color:#000000; font-family:Arial,sans-serif; font-size:13px&quot;&gt;&lt;span style=&quot;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:Verdana,Geneva,sans-serif&quot;&gt;a bad&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:Verdana,Geneva,sans-serif&quot;&gt;&lt;span style=&quot;color:#000000&quot;&gt; user experience. This misconfiguration can also prevent Google from showing the correct page in mobile search results. If these URLs don't exist, no action is necessary.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:16px&quot;&gt;&lt;span style=&quot;font-family:Verdana,Geneva,sans-serif&quot;&gt;&lt;span style=&quot;color:#000000&quot;&gt;How to resolve it ?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/71211/deleted-some-fake-users-google-webmaster-showing-error-solved</guid>
<pubDate>Fri, 28 Dec 2018 17:05:19 +0000</pubDate>
</item>
<item>
<title>404 Page Not Found throughout Q&amp;A Forum</title>
<link>https://www.question2answer.org/qa/51317/404-page-not-found-throughout-q%26a-forum</link>
<description>I have migrated the Q&amp;amp;A forum to a new server to launch a new website. &amp;nbsp;I installed Question2Answer, and copied the DB over. &amp;nbsp;It's there, and visible but when I try to login, or click any links, I get an 404 Page Not Found error. &amp;nbsp;I think it has something to do with SEO friendly URLs, but I don't know where to go from here. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://new.commercev3.com.php56-33.ord1-1.websitetestlink.com/answers/&quot; rel=&quot;nofollow&quot;&gt;http://new.commercev3.com.php56-33.ord1-1.websitetestlink.com/answers/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Any help would be appreciated.&lt;br /&gt;
&lt;br /&gt;
Thanks! &lt;br /&gt;
&lt;br /&gt;
John</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/51317/404-page-not-found-throughout-q%26a-forum</guid>
<pubDate>Wed, 13 Apr 2016 17:59:05 +0000</pubDate>
</item>
<item>
<title>q2a dosen't start</title>
<link>https://www.question2answer.org/qa/45781/q2a-dosent-start</link>
<description>

&lt;pre&gt;Hello I am new on q2a. I am a student and I have a project for school. I want run q2a on webserver on virtualbox . I install ubuntu server on virtualbox as guest and install LAMP on it.i can ping from host to guest or guest to host. When I enter ip address guest machine in firefox broswer on hast machine everything is ok apache is ok.i make a database on mysql with blowe information:

database name “QandA”
user of database “ali”
password for QandA database “dddd”

I download q2a 1٫7 and go step by step on this guide:


	1. Create a MySQL database.
	2. Create a MySQL user with full permissions for that database.
	3. Rename this file to qa-config.php.
	4. Set the above four definitions and save.
	5. Place all the Question2Answer files on your server.
	6. Open the appropriate URL, and follow the instructions.

My content  qa-config.php file:

======================================================================
	  THE 4 DEFINITIONS BELOW ARE REQUIRED AND MUST BE SET BEFORE USING!
	======================================================================

	For QA_MYSQL_HOSTNAME, try '127.0.0.1' or 'localhost' if MySQL is on the same server.

	For persistent connections, set the QA_PERSISTENT_CONN_DB at the bottom of this file; do NOT
	prepend the hostname with 'p:'.
*/

	define('QA_MYSQL_HOSTNAME', '192.168.93.103');
	define('QA_MYSQL_USERNAME', 'ali')th;
	define('QA_MYSQL_PASSWORD', 'dddd');
	define('QA_MYSQL_DATABASE', 'QandA');

I transfer content question2answer-1.7 directory to this path on my webserver on guest machine 
/var/www/html
now I enter ip address guest machine in firefox host machine exaclly like this
http://192.168.93.103/question2answer
 but dosen't happening . Q2a doesnt work.q2a give me error on firefox
&lt;/pre&gt;

&lt;h1&gt;Not Found&lt;/h1&gt;

&lt;p&gt;The requested URL /question2answer was not found on this server.&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;Apache/2.4.7 (Ubuntu) Server at 192.168.93.103 Port 80&lt;/p&gt;

&lt;pre&gt;
&amp;nbsp;&lt;/pre&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/45781/q2a-dosent-start</guid>
<pubDate>Thu, 11 Jun 2015 06:51:10 +0000</pubDate>
</item>
<item>
<title>An error when I logout my site,404</title>
<link>https://www.question2answer.org/qa/41120/an-error-when-i-logout-my-site-404</link>
<description>

&lt;p&gt;
	When I click the logout button，there was an error：&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=4280503396852989625&quot; style=&quot;width: 528px; height: 174px;&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/41120/an-error-when-i-logout-my-site-404</guid>
<pubDate>Wed, 12 Nov 2014 09:50:54 +0000</pubDate>
</item>
<item>
<title>[New Plugin] Customize Q2A 404 page message - FREE!</title>
<link>https://www.question2answer.org/qa/36372/new-plugin-customize-q2a-404-page-message-free</link>
<description>

&lt;p&gt;
	Here is simple plugin to customize 404 page on your Q2A site. Its &lt;span style=&quot;color:#ff0000;&quot;&gt;FREE&lt;/span&gt;!&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;Admin interface&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=14327000343274035344&quot; style=&quot;width: 600px; height: 248px;&quot;&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;Download&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;https://github.com/ProThoughts/q2a-custom-404-page&quot; rel=&quot;nofollow&quot;&gt;https://github.com/ProThoughts/q2a-custom-404-page&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;Demo&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;http://q2a-dev.prothoughts.com/abcde&quot; rel=&quot;nofollow&quot;&gt;http://q2a-dev.prothoughts.com/abcde&lt;/a&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/36372/new-plugin-customize-q2a-404-page-message-free</guid>
<pubDate>Sat, 26 Jul 2014 15:00:15 +0000</pubDate>
</item>
<item>
<title>How can I costumize page not found?</title>
<link>https://www.question2answer.org/qa/35833/how-can-i-costumize-page-not-found</link>
<description>Hi there! Where can I costumize the page not found?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/35833/how-can-i-costumize-page-not-found</guid>
<pubDate>Fri, 11 Jul 2014 14:44:57 +0000</pubDate>
</item>
<item>
<title>404 message of Q2A core</title>
<link>https://www.question2answer.org/qa/34283/404-message-of-q2a-core</link>
<description>

&lt;p&gt;
	In Q2A, page reading and several operation are limited by login state and user type (permission).&amp;nbsp;Q2A may become user friendly by improving 404 message.&lt;/p&gt;


&lt;p&gt;
	Example of qa-lang-main.php(141):
&lt;br&gt;
	
&lt;br&gt;
	Before: &quot;Page not found&quot;
&lt;br&gt;
	After: &quot;Page not found. You may be able to access by &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.question2answer.org/qa/login&quot;&gt;login&lt;/a&gt; or &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.question2answer.org/qa/register&quot;&gt;register&lt;/a&gt;.&quot;&lt;/p&gt;


&lt;p&gt;
	I thank nizar who gave hint to me.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/34283/404-message-of-q2a-core</guid>
<pubDate>Thu, 08 May 2014 05:48:39 +0000</pubDate>
</item>
<item>
<title>where is &quot;404 page not found&quot; template located?</title>
<link>https://www.question2answer.org/qa/19124/where-is-404-page-not-found-template-located</link>
<description>i want to redirect visitors from broken/old urls to homepage. how to do it?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/19124/where-is-404-page-not-found-template-located</guid>
<pubDate>Tue, 13 Nov 2012 11:45:34 +0000</pubDate>
</item>
<item>
<title>qa_register_plugin_module('page', 'qa-xml-sitemap.php', 'qa_xml_sitemap', 'XML Sitemap');</title>
<link>https://www.question2answer.org/qa/18535/qa_register_plugin_module-sitemap-qa_xml_sitemap-sitemap</link>
<description>The registration of page dont work for any plugin. i have 404 error.&lt;br /&gt;
&lt;br /&gt;
Why this not work &amp;nbsp;&amp;nbsp;qa_register_plugin_module('page', 'qa-xml-sitemap.php', 'qa_xml_sitemap', 'XML Sitemap');&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Can you please tell me how can i know why 404 for plugin using 'page'</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/18535/qa_register_plugin_module-sitemap-qa_xml_sitemap-sitemap</guid>
<pubDate>Sun, 21 Oct 2012 21:44:51 +0000</pubDate>
</item>
<item>
<title>Internal Server Error- how to solve</title>
<link>https://www.question2answer.org/qa/13012/internal-server-error-how-to-solve</link>
<description>

&lt;p&gt;
	I am getting a strange error. The data is getting stored, but when i try to retrieve any save queries. I get the following error. Can you please let me know how to solve it.&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;h1 style=&quot;color: rgb(0, 0, 0); font-family: 'Times New Roman';&quot;&gt;
	error details&lt;/h1&gt;


&lt;p&gt;
	====================&lt;/p&gt;


&lt;h1 style=&quot;color: rgb(0, 0, 0); font-family: 'Times New Roman';&quot;&gt;
	Internal Server Error&lt;/h1&gt;


&lt;p style=&quot;color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium;&quot;&gt;
	The server encountered an internal error or misconfiguration and was unable to complete your request.&lt;/p&gt;


&lt;p style=&quot;color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium;&quot;&gt;
	Please contact the server administrator, webmaster@xxxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.&lt;/p&gt;


&lt;p style=&quot;color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium;&quot;&gt;
	More information about this error may be available in the server error log.&lt;/p&gt;


&lt;p style=&quot;color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium;&quot;&gt;
	Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/13012/internal-server-error-how-to-solve</guid>
<pubDate>Sun, 26 Feb 2012 09:47:57 +0000</pubDate>
</item>
<item>
<title>Can we implement a custom 404?</title>
<link>https://www.question2answer.org/qa/11216/can-we-implement-a-custom-404</link>
<description>Has someone played around to implement custom Not Found 404 page? Could you point me to where to look to do that?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/11216/can-we-implement-a-custom-404</guid>
<pubDate>Fri, 16 Dec 2011 03:39:59 +0000</pubDate>
</item>
<item>
<title>Insalled the system on my wordpress site, now I can't even login</title>
<link>https://www.question2answer.org/qa/6493/insalled-the-system-on-my-wordpress-site-now-cant-even-login</link>
<description>

&lt;p&gt;
	I'm inside the system and every button I push it just shows me:&lt;/p&gt;


&lt;h2 class=&quot;center&quot;&gt;
	Error 404 - Not Found&lt;/h2&gt;


&lt;p&gt;
	I can't even login to see the admin options, any suggestions?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/6493/insalled-the-system-on-my-wordpress-site-now-cant-even-login</guid>
<pubDate>Mon, 16 May 2011 11:08:57 +0000</pubDate>
</item>
<item>
<title>404 problem with custom page</title>
<link>https://www.question2answer.org/qa/2226/404-problem-with-custom-page</link>
<description>I am looking at creating a custom page (with PHP code) based on the related answer.&lt;br /&gt;
&lt;br /&gt;
But there is a problem - because you're calling a page that Q2A doesn't think exists, it returns a 404 error (although the page displays fine).&lt;br /&gt;
&lt;br /&gt;
Do we need to add something to the core to overcome this, or can we cancel the 404 header in the &amp;quot;main()&amp;quot; function?&lt;br /&gt;
&lt;br /&gt;
EDIT: another issue: I'm following some code posted in other questions to obtain the current user. I have:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$qa_login_user = qa_get_logged_in_user($qa_db);&lt;br /&gt;
&lt;br /&gt;
But I just get &amp;quot;Fatal error: &amp;nbsp;Call to undefined function qa_get_logged_in_user() ...&amp;quot;&lt;br /&gt;
I added an include for 'qa-app-user.php' at the top of the script but I still get the same error. Full code:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;require_once 'qa-include/qa-app-users.php';&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;global $qa_db;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$qa_login_user = qa_get_logged_in_user($qa_db);</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/2226/404-problem-with-custom-page</guid>
<pubDate>Sat, 31 Jul 2010 13:33:51 +0000</pubDate>
</item>
<item>
<title>Server headers (404 error)</title>
<link>https://www.question2answer.org/qa/2012/server-headers-404-error</link>
<description>Hello. When I open unexisted page, I get 4040 error, but server gets 200 status. Is it possible to return 404 when I open unexisted page?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/2012/server-headers-404-error</guid>
<pubDate>Thu, 22 Jul 2010 11:44:12 +0000</pubDate>
</item>
</channel>
</rss>