<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>wordpress Archives - The Story of David Kaspar</title>
	<atom:link href="https://blog.davidkaspar.com/archives/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.davidkaspar.com/archives/tag/wordpress</link>
	<description>Online journal and ponderings about the Internet, gadgets and photography.</description>
	<lastBuildDate>Tue, 30 Jun 2020 10:37:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://blog.davidkaspar.com/wp-content/uploads/2020/05/chubby.gif</url>
	<title>wordpress Archives - The Story of David Kaspar</title>
	<link>https://blog.davidkaspar.com/archives/tag/wordpress</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>404 errors from admin-ajax.php in WordPress</title>
		<link>https://blog.davidkaspar.com/archives/2020/03/404-errors-from-admin-ajax-php-in-wordpress.php</link>
					<comments>https://blog.davidkaspar.com/archives/2020/03/404-errors-from-admin-ajax-php-in-wordpress.php#respond</comments>
		
		<dc:creator><![CDATA[David Kaspar]]></dc:creator>
		<pubDate>Fri, 06 Mar 2020 13:11:00 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://blog.davidkaspar.com/?p=418</guid>

					<description><![CDATA[<p>I am developing a dynamic website and when I stress some of the dynamic functionality I am getting occasional 404 errors from admin-ajax.php.</p>
<p>The post <a href="https://blog.davidkaspar.com/archives/2020/03/404-errors-from-admin-ajax-php-in-wordpress.php">404 errors from admin-ajax.php in WordPress</a> appeared first on <a href="https://blog.davidkaspar.com">The Story of David Kaspar</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I am currently developing a minor dynamic website. Towards the end of the development I was stress-testing some of the dynamic functionality.</p>



<p>Unfortunately I am getting occasional 404 errors from admin-ajax.php.</p>



<p>The request seems to be sent and processed because on refresh of the page I can see the updates. However it is a bad user experience because the user&#8217;s page just stalls.</p>



<p>After a little troubleshooting, mainly with crude debug statements from admin-ajax.php into HTTP headers, I have noticed that admin-ajax.php is not even entered.</p>



<p>At the moment I am not sure whether the error is related to one of the WordPress plugins I am using or whether it is due to my webhost.</p>



<p>There are no visible errors in weblogs nor in error_log.</p>



<p>One thing I noticed that a new incognito browser window resolved the issue.</p>



<p>This made me suspicious of cookie issues. I manage to narrow it down to the PHPSESSID cookie. Clearing it resolved the issue. The 404 error from admin-ajax.php is gone&#8230; for a while at least.</p>



<p>I recommend using the excellent <a href="https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg" target="_blank" rel="noreferrer noopener" aria-label="Eat This Cookie extension (opens in a new tab)">Eat This Cookie extension</a> If you are using Chrome or Brave browser.</p>



<p>The search continues&#8230;</p>
<p>The post <a href="https://blog.davidkaspar.com/archives/2020/03/404-errors-from-admin-ajax-php-in-wordpress.php">404 errors from admin-ajax.php in WordPress</a> appeared first on <a href="https://blog.davidkaspar.com">The Story of David Kaspar</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.davidkaspar.com/archives/2020/03/404-errors-from-admin-ajax-php-in-wordpress.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
