.st0{fill:#FFFFFF;}

WordPress Jetpack Error “Server unable to connect with my site http 404” 

 August 24, 2017

By  NickLitten

Tinkering with one of my wordpress sites I noticed that Jetpack was unable to connect. The WordPress Jetpack Error says “Server unable to connect with my site http 404” which is nicely vague. Luckily, the excellent support guys over at ICDSOFT quickly gave me the solution:

1: Log into the control panel

obviously your control panel might look different but you basically want to find the FILE MANAGER option:

Wordpress Jetpack Error "Server unable to connect with my site http 404" 1

 

2 – Now check the .HTACCESS file

So launch the FILE MANAGER from the Control panel and edit the file:

Wordpress Jetpack Error "Server unable to connect with my site http 404" 2

Make sure you add these lines to the file:

 # BEGIN WordPress JetPack
  <IfModule security2_module>
    SecRuleRemoveById 114
  </IfModule>
 # END WordPress JetPack

and while you are at it – If you are running your website on a secure HTTPS (SSL) and you should be right? Why not add the SSL directive (to make sure you use the HTTPS rather than HTTP) as well the use correct PORT forwarding

# Start Force SSL directives
 RewriteEngine On
 RewriteCond %{HTTPS} !on
 RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
# End Force SSL directives

# Begin Force website to correct port
 <IfModule mod_rewrite.c>
  RewriteEngine On 
  RewriteCond %{SERVER_PORT} 80 
  RewriteRule "(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
 </IfModule>
# END Force website to correct port

So it should look something like this:

Wordpress Jetpack Error "Server unable to connect with my site http 404" 3

And thats it – *BOOM* you should be able to disconnect and reconnet to Jetpack.

As well as the added bonus of using a secure SSL encrypted website (obviously if you have not installed a free certificate then ignore the SSL stuff)!

If you are running WORDPRESS or DRUPAL remember to update the master link in the website to using httpS://www.yoursite.com

NickLitten


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Trekkie, Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.

Nick Litten

related posts:




{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"cff50":{"name":"Main Accent","parent":-1},"a344d":{"name":"Accent Transparent","parent":"cff50"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"cff50":{"val":"var(--tcb-skin-color-0)"},"a344d":{"val":"rgba(46, 138, 229, 0.85)","hsl_parent_dependency":{"h":210,"l":0.54,"s":0.78}}},"gradients":[]},"original":{"colors":{"cff50":{"val":"rgb(0, 178, 255)","hsl":{"h":198,"s":1,"l":0.5}},"a344d":{"val":"rgba(0, 178, 255, 0.85)","hsl_parent_dependency":{"h":198,"s":1,"l":0.5}}},"gradients":[]}}]}__CONFIG_colors_palette__

Get In Touch

I’m always looking for awesome input, feedback and critique!

>