<?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>protect your wordpress Archives - CNERIS</title>
	<atom:link href="https://cneris.com/en/tag/protect-your-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://cneris.com/en/tag/protect-your-wordpress/</link>
	<description></description>
	<lastBuildDate>Sun, 18 May 2025 16:34:28 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>How can we protect wp-login without any plugins?</title>
		<link>https://cneris.com/en/how-can-we-protect-wp-login-without-any-plugins/</link>
					<comments>https://cneris.com/en/how-can-we-protect-wp-login-without-any-plugins/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 18 May 2025 16:34:28 +0000</pubDate>
				<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[protect your wordpress]]></category>
		<category><![CDATA[wp-login]]></category>
		<guid isPermaLink="false">https://cneris.com/?p=2750</guid>

					<description><![CDATA[<p>Protect with .htaccess and .htpasswd: Create a .htpasswd file:Use an online htpasswd generator to create a user and encrypted password.Save it outside the public directory (e.g., /home/username/.htpasswd). Edit your .htaccess file:Open the .htaccess file in the root of your WordPress site, or create one in the same directory as wp-login.php: &lt;Files wp-login.php&gt; AuthType Basic AuthName [...]</p>
<p>The post <a href="https://cneris.com/en/how-can-we-protect-wp-login-without-any-plugins/">How can we protect wp-login without any plugins?</a> appeared first on <a href="https://cneris.com/en">CNERIS</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="" data-start="1172" data-end="1213"><strong data-start="1172" data-end="1213">Protect with .htaccess and .htpasswd:</strong></p>
<ol data-start="1215" data-end="2026">
<li class="" data-start="1215" data-end="1458">
<p class="" data-start="1218" data-end="1458"><strong data-start="1218" data-end="1248">Create a <code data-start="1229" data-end="1240">.htpasswd</code> file:</strong><br data-start="1248" data-end="1251" />Use an <a class="cursor-pointer" target="_new" rel="noopener" data-start="1261" data-end="1339">online htpasswd generator</a> to create a user and encrypted password.<br data-start="1380" data-end="1383" />Save it outside the public directory (e.g., <code data-start="1430" data-end="1456">/home/username/.htpasswd</code>).</p>
</li>
<li class="" data-start="1460" data-end="1889">
<p class="" data-start="1463" data-end="1616"><strong data-start="1463" data-end="1494">Edit your <code data-start="1475" data-end="1486">.htaccess</code> file:</strong><br data-start="1494" data-end="1497" />Open the <code data-start="1509" data-end="1520">.htaccess</code> file in the root of your WordPress site, or create one in the same directory as <code data-start="1601" data-end="1615">wp-login.php</code>:</p>
<div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
<div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre! language-apache">&lt;Files wp-login.php&gt;<br />
AuthType Basic<br />
AuthName "Restricted Access"<br />
AuthUserFile /full/path/to/.htpasswd<br />
Require valid-user<br />
&lt;/Files&gt;<br />
</code></div>
</div>
<p class="" data-start="1806" data-end="1889">&#x26a0;&#xfe0f; Replace <code data-start="1817" data-end="1842">/full/path/to/.htpasswd</code> with the actual path to your <code data-start="1872" data-end="1883">.htpasswd</code> file.</p>
</li>
<li class="" data-start="1891" data-end="2026">
<p class="" data-start="1894" data-end="2026"><strong data-start="1894" data-end="1912">Save and test:</strong><br data-start="1912" data-end="1915" />When you visit <code data-start="1933" data-end="1947">wp-login.php</code>, it will now prompt for a username and password before showing the login page.</p>
</li>
</ol>
<p>The post <a href="https://cneris.com/en/how-can-we-protect-wp-login-without-any-plugins/">How can we protect wp-login without any plugins?</a> appeared first on <a href="https://cneris.com/en">CNERIS</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cneris.com/en/how-can-we-protect-wp-login-without-any-plugins/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
