<?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>Askshank</title>
	<atom:link href="https://askshank.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.askshank.com/</link>
	<description>SEO, Wordpress,  Hosting, Reviews</description>
	<lastBuildDate>Sun, 19 Sep 2021 01:32:07 +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://askshank.com/wp-content/uploads/2021/03/cropped-android-chrome-512x512-1-32x32.png</url>
	<title>Askshank</title>
	<link>https://www.askshank.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>WordPress too Many Redirects</title>
		<link>https://askshank.com/wordpress-ssl-redirect/</link>
					<comments>https://askshank.com/wordpress-ssl-redirect/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 31 Jul 2021 04:07:55 +0000</pubDate>
				<category><![CDATA[Spotlight]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://askshank.com/?p=1204</guid>

					<description><![CDATA[<p>Running into Wordpress SSL redirect issues? Get it fixed fast, as it can impact your SEO!</p>
<p>The post <a href="https://askshank.com/wordpress-ssl-redirect/">WordPress too Many Redirects</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Running SSL is a requirement these days. From showing trust to your website visitors to helping with SEO, you would be frowned upon to run a site without SSL. It&#8217;s not too difficult to get SSL enabled, but the headaches come when you try to enable it, and issues arise. Here I will cover a few scenarios that I have run into in the past with WordPress too many redirects, and how I got around fixing them. These issues were mostly around SSL redirects.</p>



<h2 class="wp-block-heading" id="h-what-is-the-et-err_cert_invalid-error">What is the ET::ERR_CERT_INVALID Error?</h2>



<p>This happens often when you forget the www domain in the SSL request. For example, you setup SSL for https://askshank.com but your site is https://www.askshank.com. Another scenario is if your browser is not trusting or accepting of the domain authority. Lastly, and also very common &#8211; the certificate  expired.</p>



<h2 class="wp-block-heading">How Do You Handle the WordPress Too Many Redirects?</h2>



<p>For those running Cpanel, I have seen this type of issue from time to time. The site loads then stops and you get an error regarding too many  redirects.  The way this was fixed was enter two sets of codes. The first code is the following, in the wp-config.php file which is in the root directory of your WordPress install. If you don&#8217;t have direct access to the server, you can install a plugin such as a file manager.</p>



<pre class="wp-block-code"><code>define('FORCE_SSL_ADMIN', true);
</code></pre>



<p>If that alone does not work, then add the following code as well</p>



<pre class="wp-block-code"><code>if (strpos($_SERVER&#91;'HTTP_X_FORWARDED_PROTO'], 'https') !== false)
       $_SERVER&#91;'HTTPS']='on';</code></pre>



<p>These two code pieces combined helped the SSL redirect issue immediately.</p>



<h2 class="wp-block-heading">How Do You Redirect Everything in WordPress to SSL?</h2>



<p>Sometimes, enabling SSL alone is not enough. Certain images may be called via http vs https. Edit your .htaccess file with the following code below. If you feel like reading all about this file, <a href="https://httpd.apache.org/docs/current/howto/htaccess.html" target="_blank" rel="noreferrer noopener">Apache</a> has a good read.</p>



<pre class="wp-block-code"><code>RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} 
&#91;L,R=301]</code></pre>



<p>WordPress too many redirects can be painful. Issues like this could effect your <a href="https://askshank.com/what-is-search-engine-optimization/">SEO </a>as well. These 3 common fixes have helped me in many scenarios. If you don&#8217;t want to deal with the manual work and just get a plugin, try the Really Simple SSL plugin.</p>
<p>The post <a href="https://askshank.com/wordpress-ssl-redirect/">WordPress too Many Redirects</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://askshank.com/wordpress-ssl-redirect/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Search Engine Optimization?</title>
		<link>https://askshank.com/what-is-search-engine-optimization/</link>
					<comments>https://askshank.com/what-is-search-engine-optimization/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 26 Mar 2021 11:27:05 +0000</pubDate>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://askshank.com/?p=899</guid>

					<description><![CDATA[<p>What is SEO? Search Engine Optimization or SEO is the process of doing certain tactics, steps and changes involving your website to increase your visibility for what people are searching. The more you improve the visibility, the greater chance for visitors to find you. Note, this is all NON-PAID search engine results, meaning Google PPC [&#8230;]</p>
<p>The post <a href="https://askshank.com/what-is-search-engine-optimization/">What is Search Engine Optimization?</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading" id="h-what-is-seo">What is SEO?</h2>



<p><strong>S</strong>earch <strong>E</strong>ngine <strong>O</strong>ptimization or <strong>SEO </strong>is the process of doing certain tactics, steps and changes involving your website to increase your visibility for what people are searching. The more you improve the visibility, the greater chance for visitors to find you. Note, this is all NON-PAID search engine results, meaning Google PPC for example is not SEO. </p>



<p>So, is SEO important for your business?</p>



<p>YES&#8230;</p>



<p>Read no more, because asking if SEO important, you have your answer. But if you wanted details, read on&#8230;</p>



<p>Google and Bing are very popular search engines. I prefer Google, well, incase you cared. The search engines have bots that that go website to website, searching all the pages of each of the websites. The sites go into an index, where algorithms&nbsp; then use ranking factors to determine the order of pages in the search results. So if you have a bad result from the ranking factor, you are going to the bottom of the list.. like page 4&#8230;.7&#8230; or 100.</p>



<p>Search ranking factors include a secure and accessible site, keywords and mobile speed. There are a few major components of SEO. Technical SEO, On-page SEO and off-page SEO are the 3 categories. Each category has their own rank factors, and work for you&#8230; tactics to improve your quality for each.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="1024" height="682" src="https://askshank.com/wp-content/uploads/2021/03/seo-1024x682.jpg" alt="is seo important for your website" class="wp-image-1162" srcset="https://askshank.com/wp-content/uploads/2021/03/seo-1024x682.jpg 1024w, https://askshank.com/wp-content/uploads/2021/03/seo-300x200.jpg 300w, https://askshank.com/wp-content/uploads/2021/03/seo-768x512.jpg 768w, https://askshank.com/wp-content/uploads/2021/03/seo.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<h2 class="wp-block-heading" id="h-is-seo-important-i-mean-really">Is SEO Important? I mean really?</h2>



<p>WHY WOULD YOU EVEN ASK THAT?!</p>



<p>SEO is what let&#8217;s you reduce or eliminate Paid Ads. It&#8217;s bringing in traffic for you! If you are trending high with key words on google and are on the top 3 results, there really is no need to keep paying ads for those words. Theoretically. But some argue that keeping PPC while you rank on is still a smart move. SEO is important if you want to lower or eliminate specific ad spend.</p>



<p>Implementing Search Engine Optimization is a great long term strategy and it is cost-effective. </p>



<p>When you execute SEO, you are working in tactics to try and get your site on the top search results in google. By doing this, people will see your page. </p>



<h2 class="wp-block-heading" id="h-how-easy-is-seo">How Easy is SEO?</h2>



<p>I personally don&#8217;t think it is easy. Sure, certain aspects of SEO are, but many of the tactics require time, patience, and a lot of research and thinking as you look to execute them. Taking a step back, there are so many strategies that can be put in place. When you look at the types of SEO- on-page, technical, off-page, local &#8211; some you can start very quickly. </p>



<p>On-page deals with your content, the keywords the quality. It&#8217;s everything on your website page or post. Content is King. Technical covers your site speed, use of proper meta tags and descriptions and images optimized. Off-page is the most time consuming and difficult, with other sites referencing yours and linking back to you. Lastly, local SEO is tactics to get your business found locally, or nationally, on directories and places like Google My Business.</p>



<h2 class="wp-block-heading" id="h-how-to-get-started">How to Get Started?</h2>



<p>Do you know how well your site is performing today? Do you have an idea of how you are ranking? The first step is to get a <a href="https://askshank.com/free-seo-audit/">SEO audit</a>. This will tell you much about your site, and can be hood baseline to check back against as your work to improve your Search Engine Optimization by doing the tactics to support it.</p>
<p>The post <a href="https://askshank.com/what-is-search-engine-optimization/">What is Search Engine Optimization?</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://askshank.com/what-is-search-engine-optimization/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Websites Hacked? Critical 0-Day for the Plus Addons for Elementor</title>
		<link>https://askshank.com/websites-hacked-critical-0-day-for-the-plus-addons-for-elementor/</link>
					<comments>https://askshank.com/websites-hacked-critical-0-day-for-the-plus-addons-for-elementor/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 18 Mar 2021 04:29:31 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://askshank.com/?p=1138</guid>

					<description><![CDATA[<p>Are you running WordPress and Elementor? Did your website start redirecting people to spamming sites? On March 8, 2021, there was a 0 day cyber attack on The Plus Addons for Elementor. It was horrible. This is why I say, it is important to Backup your website daily. ALWAYS Keep your website patched. ALWAYS The [&#8230;]</p>
<p>The post <a href="https://askshank.com/websites-hacked-critical-0-day-for-the-plus-addons-for-elementor/">Websites Hacked? Critical 0-Day for the Plus Addons for Elementor</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Are you running WordPress and Elementor? Did your website start redirecting people to spamming sites? On March 8, 2021, there was a 0 day cyber attack on The Plus Addons for Elementor. It was horrible.</p>



<p>This is why I say, it is important to</p>



<ol class="wp-block-list"><li>Backup your website daily. ALWAYS</li><li>Keep your website patched. ALWAYS</li></ol>



<p>The Plus Add-ons for Elementor is fully patched in <strong>version 4.1.7</strong>. It looks like the vulnerability was against anyone running version 4.1.6 or earlier. How do you know if you have been hit? You will most likely see a new administrator user created in your WordPress. Then users were being directed to a different site.</p>



<p>The crazy thing? The FREE version of the Plus Addons for Elementor has no issues. Zip. The paid version has some logon addons, which fell vulnerable. </p>



<h3 class="wp-block-heading" id="h-i-have-been-hacked-now-what">I Have Been Hacked. Now What?</h3>



<p>Save yourself time and headache. Just restore. Restore your site to the backups dated before March 5th, 2021. Once the restore is complete, quickly upgrade the One Plus Addons for Elementor plugin. Or better yet, just delete it.</p>



<p>The manual way? Don&#8217;t have a backup? Then get a backup strategy in place pronto or use a hose like <a href="https://askshank.com/5-reasons-why-wpengine-is-the-best-wordpress-host/">Wpengine </a>who already includes it. But, yes.. you can manually restore. According to the <a href="https://theplusaddons.com/" rel="nofollow">developer</a> of the Plus Addons for Elementor,  you can do the following</p>



<pre class="wp-block-preformatted">1. Delete WP-Includes, Wp-Admin (This is same for all)

2. Delete All Files in Public Html Apart from Wp-Content and Wp-config.php .

3. So now you are left with Only Wp-Content and WP-Config.php &gt;
in Wp-content Only check this index.php and delete the suspicious lines.

4. In Wp-Content/Plugins Delete all the Sub-folders (We have to Reinstall once we get wp-admin access fresh)

5. In Wp-Content Delete all Themes. And Import the Zip of your Theme a Fresh one in this folder.
Eg. If you Use&nbsp;<a href="https://wordpress.org/themes/hello-elementor/" target="_blank" rel="noreferrer noopener">Hello Elementor</a>&nbsp;Extract the Zip and Paste it theme Folder.

6. Now Get a Fresh WordPress ZIP from&nbsp;<a href="https://wordpress.org/download/#download-install" target="_blank" rel="noreferrer noopener">Here</a>. Extract this in your directory and delete wp-config and wp-content folder and cuz have our Old Ones.

7. Access your PhpMyAdmin and open wp_Users and delete all the admins (common Emails:&nbsp;jaredaracccc@gmail.com,&nbsp;trainwordpressai@site.com)

8. In Wp_Post Search for "scripts" and delete them. [If you face difficulty here Please check the Video Link-( https://youtu.be/gViVT102m8w?t=195 )from the duration set for the next 5 Mins avoid the other Half because this 10-Step Guide will clean the FTP files easily for you ]

9. Make sure in Wp_Option In site URL and Home you have your Site URL
</pre>



<h3 class="wp-block-heading" id="h-back-up-and-running-now-what">Back up and Running, Now What?</h3>



<p>First and foremost, take a fresh backup of the system. Keep an eye on it, look for unusual traffic. Make sure the site is completely up to date with WordPress plugin and patches. </p>



<p>If you don&#8217;t have a backup system in place, that is daily, get it.</p>



<p>There are software firewalls that can be used to help mitigate these problems, such as Wordfence.</p>



<p>Lessons learned. Remember, keep your website up to date.</p>
<p>The post <a href="https://askshank.com/websites-hacked-critical-0-day-for-the-plus-addons-for-elementor/">Websites Hacked? Critical 0-Day for the Plus Addons for Elementor</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://askshank.com/websites-hacked-critical-0-day-for-the-plus-addons-for-elementor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Getting Error while executing a .sh file: /bin/bash^M: bad interpreter: No such file or directory</title>
		<link>https://askshank.com/getting-error-while-executing-a-sh-file-bin-bashm-bad-interpreter/</link>
					<comments>https://askshank.com/getting-error-while-executing-a-sh-file-bin-bashm-bad-interpreter/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 20 Feb 2021 18:39:24 +0000</pubDate>
				<category><![CDATA[Lessons Learned]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://askshank.com/?p=821</guid>

					<description><![CDATA[<p>Whether you are a first time linux user or a 15 year veteran, you have, or eventually will run into this issue. /bin/bash^M: bad interpreter. Trying to launch a shell script and this error happens. What is it? Why are you getting it? And of course, you must curse linux a few times. I came [&#8230;]</p>
<p>The post <a href="https://askshank.com/getting-error-while-executing-a-sh-file-bin-bashm-bad-interpreter/">Getting Error while executing a .sh file: /bin/bash^M: bad interpreter: No such file or directory</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Whether you are a first time linux user or a 15 year veteran, you have, or eventually will run into this issue. /bin/bash^M: bad interpreter. Trying to launch a shell script and this error happens. What is it? Why are you getting it? And of course, you must curse linux a few times.</p>



<pre class="wp-block-code"><code>Linux error: /bin/bash^M: bad interpreter: No such file or directory</code></pre>



<p>I came across this issue when I was working on a shell script for an Autoscaling EC2 setup using Amazon Web Services (AWS). In the script, I was to specify the startup parameters of the application server. I made the mistake by taking the file on a windows system, then copying it back to linux. The worse part? The file was working fine, until I brought it into Windows. But, my comfort was windows, and so I decided to go down that path.</p>



<p>Time to move on to a few things to try to fix this issue: /bin/bash^M: bad interpreter: No such file or directory</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="1024" height="395" src="https://askshank.com/wp-content/uploads/2021/02/quick-fix-linux-1-1024x395.jpg" alt="" class="wp-image-828" srcset="https://askshank.com/wp-content/uploads/2021/02/quick-fix-linux-1-1024x395.jpg 1024w, https://askshank.com/wp-content/uploads/2021/02/quick-fix-linux-1-300x116.jpg 300w, https://askshank.com/wp-content/uploads/2021/02/quick-fix-linux-1-768x296.jpg 768w, https://askshank.com/wp-content/uploads/2021/02/quick-fix-linux-1.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<h2 class="wp-block-heading" id="h-check-permissions">Check Permissions</h2>



<p>The first and foremost thing you can do, is to check the permissions of the file. So run your chmod 777 for now. Did it work? No? Of course not. You still get that darn error: /bin/bash^M: bad interpreter: No such file or directory</p>



<p></p>



<h2 class="wp-block-heading" id="h-let-s-look-at-that-error-again-in-detail">Let&#8217;s look at that error again in detail</h2>



<pre class="wp-block-code"><code>/bin/bash^M</code></pre>



<p>That ^M is actually a <a href="https://en.wikipedia.org/wiki/Carriage_return">carriage return character</a>. </p>



<h2 class="wp-block-heading" id="h-windows-to-linux-and-linux-to-windows">Windows to Linux and Linux to Windows</h2>



<p>What I learned is that this error is VERY common when you try to copy paste code from windows and linux. Or, even if you try to edit a linux file in windows.</p>



<p>Let&#8217;s move on to the fix</p>



<h2 class="wp-block-heading" id="h-the-sed-command">The sed Command</h2>



<pre class="wp-block-code"><code>sed -i -e 's/\r$//' FILE-NAME.sh</code></pre>



<p>The sed command can be used, and replace FILE-NAME with the name of your file. I had great success running this command when I took a file from linux to windows, made my changes in Notepad, then attempted to paste that back into the linux file.</p>



<p>Problem solved! no more /bin/bash^M: bad interpreter: No such file or directory</p>



<h2 class="wp-block-heading" id="h-other-fixes">Other Fixes</h2>



<p>There is a program called dos2unix that fixes shell scripts.</p>



<p>Install the program using this command</p>



<pre class="wp-block-code"><code>sudo apt-get install dos2unix</code></pre>



<p>Run the program using this command</p>



<pre class="wp-block-code"><code>dos2unix FILE-NAME.sh</code></pre>



<p>Running this program is also another option.</p>



<p>Lessons learned is switching from linux to windows sounds easy for editing files, but in reality can set you down a 1 hour delay in trying to find out what happened. I commonly take files from linux and modify them in windows, like the .htaccess, robots.txt or even straight php and html files. bash sh scripts just need a little more steps. Hopefully the issue with /bin/bash^M: bad interpreter: No such file or directory is finally solved for you.</p>
<p>The post <a href="https://askshank.com/getting-error-while-executing-a-sh-file-bin-bashm-bad-interpreter/">Getting Error while executing a .sh file: /bin/bash^M: bad interpreter: No such file or directory</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://askshank.com/getting-error-while-executing-a-sh-file-bin-bashm-bad-interpreter/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress Hanging When Saving Post</title>
		<link>https://askshank.com/wordpress-hanging-when-saving-post/</link>
					<comments>https://askshank.com/wordpress-hanging-when-saving-post/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 06 Mar 2020 15:12:00 +0000</pubDate>
				<category><![CDATA[Lessons Learned]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://askshank.com/?p=860</guid>

					<description><![CDATA[<p>It&#8217;s 2:30AM and you just finished writing an awesome blog post. You are ready to share it to the world and hammer social media with the great post. You hit the final save.. and it spins. WordPress is hanging. All you are trying to do is save your WordPress post. Saving&#8230; Your WordPress NOW WHAT? [&#8230;]</p>
<p>The post <a href="https://askshank.com/wordpress-hanging-when-saving-post/">WordPress Hanging When Saving Post</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>It&#8217;s 2:30AM and you just finished writing an awesome blog post. You are ready to share it to the world and hammer social media with the great post. You hit the final save.. and it spins. WordPress is hanging. All you are trying to do is save your WordPress post.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>Saving&#8230;</p><cite>Your WordPress</cite></blockquote>



<p></p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="368" height="43" src="https://askshank.com/wp-content/uploads/2021/03/wordpress-hang-on-post.png" alt="wordpress hang on post" class="wp-image-921" srcset="https://askshank.com/wp-content/uploads/2021/03/wordpress-hang-on-post.png 368w, https://askshank.com/wp-content/uploads/2021/03/wordpress-hang-on-post-300x35.png 300w" sizes="(max-width: 368px) 100vw, 368px" /></figure></div>



<p>NOW WHAT? With WordPress hanging, so much for posting after all that work! However, there is a fix. There always is a solution!</p>



<p></p>



<p>Here are a few other things you can consider checking. I say consider, because it did not help me.</p>



<ul class="wp-block-list"><li>Check your permissions on the server to ensure the proper ones are present.</li><li>Check the database for any issues</li><li>Turn off any caching plugins</li><li>Moreover, disable all of your plugins and see if there is a conflict with one of them</li><li>Above all, reboot your server (haha sorry had to)</li><li>Turn off the CDN, and go direct to the server. Did that stop wordpress from hanging?</li></ul>



<p>Similarly, it just so happened that I actually had this issue while working on the blog post about an <a href="https://askshank.com/getting-error-while-executing-a-sh-file-bin-bashm-bad-interpreter/">error while running a shell command</a>. In that particular post, I mention a code that I was having an issue with. This particular code was actually tripping the <a href="https://www.namecheap.com/support/knowledgebase/article.aspx/9542/22/what-is-modsecurity-and-why-do-we-need-it/">mod security</a> on the server.</p>



<p>The issue I wrote about on that post had an actual linux query, which mod security was looking as if it was an exploit. When WordPress tried to save, it blocked the save because of that shell command.</p>



<p>That being said, the actual issue for WordPress  hanging was that it was tripping REQUEST_URI.</p>



<pre class="wp-block-preformatted">ModSecurity: Access denied with code 403 (phase 2). 
Match of "rx (alt_mod_frameset.php|checkout_shipping.php|
^/components/com_zoom/etc/|/admin\\\\.swf\\\\?nick=
|/editor/filemanager/browser/default/browser\\\\.html\\\\?
(type=image&amp;)?Connector=\\\\.\\\\./\\\\.\\\\./connectors
|/phpthumb\\\\.php\\\\?((?:w|h)=[0-9]+&amp;)?((?:w|h)=[0-9]+&amp;)?src=&nbsp;
..." against "REQUEST_URI" 
required. [file "/etc/apache2/conf.d/modsec2/10_asl_rules.conf"]
 [line "219"] [id "340009"] [rev "61"] [msg "Atomicorp.com 
UNSUPPORTED DELAYED Rules: Protected Path Access denied
in URI/ARGS"] [data " /bin/"] [severity "CRITICAL"]
[hostname "askshank.com"] [uri "/wp-admin/post.php"]
 [unique_id "YDFcuL0OUDu73wmoT@1@-gAAAK8"],&nbsp;
referer: <a href="https://askshank.com/wp-admin/post.php?post=821&amp;action=edit">https://askshank.com/wp-admin/post.php?post=821&amp;action=edit</a></pre>



<p>To clarify, the fix stop stop WordPress hanging is to whitelist which you do in the file here /etc/apache2/conf.d/modsec2/whitelist.conf</p>



<pre class="wp-block-preformatted">&lt;LocationMatch "/wp-admin/post.php"&gt;
&nbsp; SecRuleRemoveById 340009
&lt;/LocationMatch&gt;</pre>



<p>Once this code was added, I was able to successfully save my WordPress post and publish my article. No more WordPress hanging on save.</p>



<h3 class="wp-block-heading" id="h-conclusion-to-wordpress-hanging">Conclusion to WordPress Hanging</h3>



<p>To sum up, sometimes the issues that you have cannot be solved with a simple code change or plugin. Its deeper than that, server level in this case. Ultimately I was able to solve the issue with WordPress  hanging fairly quickly. The right host will have a great support team that you can rely on to get the job done for you. But, the job done quick, and first time right requires the perfect host.</p>
<p>The post <a href="https://askshank.com/wordpress-hanging-when-saving-post/">WordPress Hanging When Saving Post</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://askshank.com/wordpress-hanging-when-saving-post/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>5 Reasons Why WPEngine Is The Best WordPress Host</title>
		<link>https://askshank.com/5-reasons-why-wpengine-is-the-best-wordpress-host/</link>
					<comments>https://askshank.com/5-reasons-why-wpengine-is-the-best-wordpress-host/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 20 Feb 2019 17:01:00 +0000</pubDate>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Spotlight]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://askshank.com/?p=22</guid>

					<description><![CDATA[<p>So many Wordpress hosts out there today, who to choose?</p>
<p>The post <a href="https://askshank.com/5-reasons-why-wpengine-is-the-best-wordpress-host/">5 Reasons Why WPEngine Is The Best WordPress Host</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>You have probably googled it 50 times. You may have even gone back in time to Askjeeves or Webcrawler. What is the WordPress host you were looking for? Who is the fastest web host for the best price? There are 25.7 million results, and you probably found yourself on page 34. Found your answer yet? Probably not&#8230;</p>



<p>I can tell you one thing: that I have worked with AWS, Godaddy, Hostgator, Liquidweb, Bluehost, WordPress.com and a few others that I don&#8217;t care to recall. Some of them started offering specialized hosting and managed hosting for WordPress. Others utilize your typical cpanel setup. Here, I am going to focus on <a class="thirstylink" title="Wpengine" href="https://askshank.com/recommends/wpengine/" data-shortcode="true">WPengine </a>and why I recommend <a class="thirstylink" title="Wpengine" href="https://askshank.com/recommends/wpengine/" data-shortcode="true">WPengine </a>to everyone I speak to as a great managed WordPress hosting provider.</p>



<p>So let&#8217;s see those top 5 reasons why <a class="thirstylink" title="Wpengine" href="https://askshank.com/recommends/wpengine/" data-shortcode="true">WPEngine </a>is the best WordPress host</p>



<h2 class="wp-block-heading" id="h-1-speed-fast-wow">1. Speed. Fast. Wow.</h2>



<p>Let&#8217;s not talk about WordPress optimization by compressing images, removing whitespace, preloading and caching that comes with optimizing a site. Instead, I will only focus on the SPEED alone. I have migrated over 20 sites in 2020 (Covid made everyone take a really hard look at their website), and every single site that was migrated off of an existing platform saw a substantial speed increase.</p>



<p>Half of the sites I run into are hosted on Hostgator or Godaddy. Sure, it&#8217;s easy to just go buy a domain and the one stop shop, one bill, one point of place. But, did you ever think about speed? Quality of service? The moment you migrate to WPEngine, you will see a night and day difference.</p>



<p>Say goodbye to overcrowded servers. There aren&#8217;t 100,000 sites on a single piece server. You are in a shared setup, yes, but not shared with an entire state.  Did I mention it&#8217;s great? You can do a speed test with Pingdom or GTMetrix at 2AM or 2PM, and it is fairly the same results.</p>



<p>Speed is important not just for <em>you</em> to be able to check the speed and smile, but also for the <em>users</em> and their interaction. Let&#8217;s not forget, SEO. This is one of the FIRST things I recommend you do when you look at your site. Make it fast. Google does not care for slow loading sites.</p>



<p>Are there other faster hosts? YES, BUT WHO CARES? Who cares if another host is .25 seconds faster at loading your site. Even if it was 2 seconds faster. Does it matter? Maybe. That&#8217;s for you to decide. I will tell you this, I am not going to move a site of mine for a 2 seconds savings, because that is probably going to result in a more costlier service with even costlier packages for increased traffic. Also, going from 8-15 seconds down to under 5 is already a huge accomplishment.</p>



<h2 class="wp-block-heading" id="h-2-support">2. Support</h2>



<p>Its 12:30AM on a Friday night and you are working on your site and need some support. You go to the chat support, you send a message and the bot responses with HEY BOB, SEND ME YOUR EMAIL ADDRESS AND WE WILL CONTACT YOU MONDAY MORNING. Not only will the tech reach out to you Monday evening because they are swamped with the entire weekend full of issues, but it&#8217;s too long, you can&#8217;t wait. Or, you get in the chat queue, and you have to wait&#8230; 84 minutes, with 34 people in front of you.</p>



<p>What&#8230;?</p>



<p>That&#8217;s not WPEngine.</p>



<p>With WPEngine you go into the support portal, which is the same as your WordPress management and click support. Then wait&#8230;.maybe 2 minutes. Lindsey answers and she&#8217;s helping you right away. How awesome is that? Barely a wait.</p>



<p>Even the best WordPress users need support once every so often. In the managed WordPress environment, there are certain things you cannot access. After all, it is a shared setup, and you have neighbors. I&#8217;ve used the support many times, sometimes because I am pure lazy, and I don&#8217;t like looking into something. But guess what, WPEngine support is so flipping responsive that by the time I do bring up Askjeeves, the staff already has a solution.</p>



<h2 class="wp-block-heading" id="h-3-your-neighbors-are-not-naughty">3. Your Neighbors Are Not Naughty</h2>



<p>This whole shared environment means you are on a server with multiple people and sites. Not 1000000s where you are fighting for resources, but, you have neighbors. They don&#8217;t have to be on the same server to be your neighbor. For example, maybe it is the same IP block but on another server.</p>



<p>So why is this important?</p>



<p>Naughty neighbors can take your site down. They can make Google look at you funny. Google could flag an ip or whole subnet of addresses as bad. Now Chrome is warning you when you try to load it. Your customers see that and say WTF no thanks.</p>



<p>But how?</p>



<p>Say the site is promoting a topic in question. There are providers that say ok no problem, pay and I&#8217;ll host it. There are other providers that will say nope, see ya. Now, by naughty, I don&#8217;t necessarily mean only porn, or sheeps and goats, but even things such as gambling may fall in this category. Don&#8217;t ask why, but I hope you get my point.  But other questionable sites are spam sites, or sites that may attempt to trick individuals.</p>



<p>These things can have a negative impact on your site and could even impact SEO, and worse, may prevent your site from being accessed or loaded.</p>



<p>WPEngine is selective on their neighbors. For all the sites supported,  and migrated to them, I have never once had a problem with bad neighbors.</p>



<p>That is not to say there may not have been a bad neighbor at any point of time. That&#8217;s WPengine catching those types of sites and quickly eliminating it from their platform.</p>



<h2 class="wp-block-heading" id="h-4-content-delivery-network">4. Content Delivery Network</h2>



<p>The base speedy service that WPEngine offers ALSO includes a content delivery network or CDN. WHAT. Not only do you get a great speed site but now they include a CDN for you. One stop shop. </p>



<p>At the time of this writing, they are using <a rel="noreferrer noopener" href="https://wpengine.com/support/how-does-a-cdn-work/" data-type="URL" data-id="https://wpengine.com/support/how-does-a-cdn-work/" target="_blank">MAXCDN</a>, who I use for many other sites, and love! What&#8217;s even better? You do not need to setup a separate record in your DNS settings. The same initial settings you use to setup direction of your site from domain to WPEngine, works for the CDN. Enabling the CDN is a click and a sneeze, and your site starts serving via the CDN in minutes.</p>



<p>For other hosts that do not offer a CDN, here&#8217;s how the setup looks. You have your site at the host, and now you want to enable the CDN. Googling gives you the CDN companies out there, like MAXCDN, Cloudflare, AWS Cloudfront, and determine which one you are going to use, again, after scouring 24 pages. You setup an account there, put in your credit card, and they send you over some DNS entries. Now you have to plan a night to do the DNS change.</p>



<p>Have a problem? My point 2 stands. Just go to the support, and they will help you. No need to go to another provider. Tell me, convinced that WPEngine is the best WordPress host yet?</p>



<h2 class="wp-block-heading" id="h-5-a-free-ssl-for-you-and-you-and-you">5. A FREE SSL for You and You and You</h2>



<p>SSL is important for every site, even if you aren&#8217;t dealing with credit cards. SSL stands for Secure Socket Layer, and is a security protocol for encrypting information between web server and your internet browser. This way, information is only viewable to the user. </p>



<p>You can buy SSL certificates, of varying types and for various uses and protection, from many online retailers including Godaddy, Namecheap, and Comodo. It&#8217;s a very tedious process, but required for many reasons.</p>



<p>Every year you have to renew your SSL certificate when you buy it manually and do it yourself. You can install Let&#8217;s Encrypt yourself but then there&#8217;s the headache if the cron job ran to auto renew it every few months.  The process of getting a certificate is multi stepped. This includes generating a certificate signing request, sending it to the place of purchase, authenticating yourself/domain by DNS or email, and then finally getting the private and public key.</p>



<p>Oh no, you&#8217;re not done. </p>



<p>You have to then take that key, and apply it to the server. Once applied, then the server will have SSL ready to rock. These steps can be cumbersome, and it is required, in my view. So how does WPEngine handle SSL certificates?</p>



<p>You have to pay them $299 and they will do it for you. What? Just Kidding (that&#8217;s like a year of great hosting)! </p>



<p>Say hello to <strong>free SSL, or included SSL </strong>with all WPEngine plans.</p>



<p>You are going to see me as a broken record, but I&#8217;ll say it again. Just like site speed, SSL is also important for SEO. If you aren&#8217;t using a ssl certificate on your site, don&#8217;t even bother thinking or trying to rank with google. Having a secure site is a must.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="728" height="90" src="https://askshank.com/wp-content/uploads/2021/02/wpengine728x90.png" alt="wpengine the best wordpress host" class="wp-image-792" srcset="https://askshank.com/wp-content/uploads/2021/02/wpengine728x90.png 728w, https://askshank.com/wp-content/uploads/2021/02/wpengine728x90-300x37.png 300w" sizes="(max-width: 728px) 100vw, 728px" /></figure></div>



<h2 class="wp-block-heading" id="h-try-the-best-wordpress-host-and-see-for-yourself">Try the Best WordPress Host and See For Yourself</h2>



<p>To conclude, there are 100s, errr, 1000s of hosting companies out there that help their clients with websites. Are you still wondering which is the best wordpress host available today? Many of them may have the same offerings as WPEngine, but do they do it as great as WPEngine?</p>



<p>Probably not, but after you get a headache from trying the other hosts, send me a message so we can both get a good laugh and high five for our sites on WPEngine.</p>
<p>The post <a href="https://askshank.com/5-reasons-why-wpengine-is-the-best-wordpress-host/">5 Reasons Why WPEngine Is The Best WordPress Host</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://askshank.com/5-reasons-why-wpengine-is-the-best-wordpress-host/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Dell PowerConnect 2724 and VLAN Trunk</title>
		<link>https://askshank.com/dell-powerconnect-2724-and-vlan-trunk/</link>
					<comments>https://askshank.com/dell-powerconnect-2724-and-vlan-trunk/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Jun 2014 16:42:00 +0000</pubDate>
				<category><![CDATA[Lessons Learned]]></category>
		<guid isPermaLink="false">https://askshank.com/?p=862</guid>

					<description><![CDATA[<p>The DELL PowerConnect 2724 is a decent web managed switch. What I was trying to accomplish was setting up VLANs on my main switch. Then I was going to pass this to the 2724 through a VLAN TRUNK. However, the Dell PowerConnect 2724 was not playing well. What is this trunk you speak of A [&#8230;]</p>
<p>The post <a href="https://askshank.com/dell-powerconnect-2724-and-vlan-trunk/">Dell PowerConnect 2724 and VLAN Trunk</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The DELL PowerConnect 2724 is a decent web managed switch. What I was trying to accomplish was setting up VLANs on my main switch. Then I was going to pass this to the 2724 through a VLAN TRUNK. However, the Dell PowerConnect 2724 was not playing well.</p>



<h2 class="wp-block-heading" id="h-what-is-this-trunk-you-speak-of">What is this trunk you speak of</h2>



<p>A trunk can make your life much easier. You don&#8217;t need to take network cable from one switch’s VLAN and running it to another switch.  For example, <mark>vlan 1 to vlan 1, vlan2 to vlan2, etc making you use up</mark> <mark>ports to connect different vlans. </mark>Let&#8217;s not forget long cable runs. A trunk will let you use one port to hold all the VLAN information. Without trunking, each VLAN between the switches would EACH need a cable running to the VLAN.</p>



<h2 class="wp-block-heading" id="h-dell-powerconnect-2724-and-vlans">Dell PowerConnect 2724 and VLANs</h2>



<p>VLAN1 is the default VLAN. You cannot receive TAGGED packets to VLAN1. Other VLANs you can receive tagged packets.&nbsp;I wanted to setup 3 VLANs.</p>



<p>VLAN 1 – Ports 1-8<br>VLAN 2 – Ports 9-17<br>and lastly&#8230;<br>VLAN 3 – Ports 18-24</p>



<p>First you go into your Dell management web gui and click on VLAN membership. Here you create VLAN 2 and VLAN 3. Next you UNTAG packets on the VLANS for the specific ports, so VLAN1 would have&nbsp; U by ports 1-8. I will be using PORT 1 as the trunk. For VLAN2 and VLAN3, make sure you specify port&nbsp;1 as the trunk. It will show&nbsp;a T which means tagged egress packets.&nbsp; VLAN1 cannot cannot receive tagged packets. You cannot make port1 on VLAN1 the T, it will remain U which means untag egress packets.</p>



<p>The switch that will be connected to the Dell Powerconnect 2724 is a HP ProCurve. The trunk port on this end is configured to send UNTAGGED packets to VLAN1. TAGGED packets are sent to VLAN2 and VLAN3. This is very important, or nothing will work.</p>



<p>Now this line of Dell switches are a little different. You created the VLAN you think and specified which ports are associated with which VLAN under the VLAN membership. For some reason, we are NOT done. Click on the VLAN port settings. Here you will need to AGAIN specify which VLAN each port is associated with. Enter in the VLAN # in the PVID.</p>



<h2 class="wp-block-heading" id="h-let-me-clarify">Let Me Clarify</h2>



<p>Few clarifications</p>



<p>To clarify, under the VLAN membership, you would select your VLAN ID on the drop down box. Then assuming we are using port 1 as the trunk, you would TAG port 1. So I did this for both VLAN 2 and VLAN 3. By showing a T there for port 1 on 2 VLANS. Not VLAN1 since you can only show a U untag packets because that is the default VLAN.</p>



<p>Is this my all time favorite device for <a href="https://ashokafutureforum.com/4-ways-voip-systems-facilitate-working-from-home/">VOIP</a>? No.</p>



<p>To conclude, the Dell PowerConnect 2624 is a great starter device, and has been used in small to medium size businesses. The VLAN can be finicky, but hopefully this guide helps you get this setup.</p>
<p>The post <a href="https://askshank.com/dell-powerconnect-2724-and-vlan-trunk/">Dell PowerConnect 2724 and VLAN Trunk</a> appeared first on <a href="https://askshank.com">Askshank</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://askshank.com/dell-powerconnect-2724-and-vlan-trunk/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
