How to fix Oceanwp theme for mobile and tablet.

Just add below code in the funtions.php of the child theme.

function no_meta_viewport() {
	return false;
add_filter( 'ocean_meta_viewport', 'no_meta_viewport' );

Google wants a viewport added to your web site.   Go into your themes folder and open header.php.  After clear your web site cache.   It will allow your web site to work on phones and tablets.

* The Header for our theme.
* @package OceanWP WordPress theme

<!DOCTYPE html>
<html class=”<?php echo esc_attr( oceanwp_html_classes() ); ?>” <?php language_attributes(); ?>>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>

Here are some of my methods to hardening down my Fortinet firewall and WordPress servers.  I moved the wp-config.php file and added an include into the one on each web site for the new location.  Configured added the security keys and salts to the moved wp-config.php file for all the web sites and all the SQL passwords for each site.  Then changed the .htacess to stop browsing.  Included some plugins for brute force login attacks.   

After that I removed the webalizer servers, logs, and other etc files from the servers.   Also removed other directories and files that are no longer need and could pose and issue to security.  Configured all files to chmod 644.   Directories are 755.   Keeping all the LAMP components up to date and check weekly. I keep the WordPress components up to date like themes, plugins, etc.  The Fortinet firewall has web filter blocks for wp-admin and other private directories.

 I have two .htaccess files:  In the web site base folder and one in wp-admin to stop access to it. 

base folder :  You can add Options – Indexes to stop browsing.

WP-Admin folder: I add

Require ip for both ipv4 and ipv6.   I add my workstation, server that hosts the web site, external addresses that I might use.   You also add these into /etc/hosts or your Windows hosts file.  

Both WordPress servers have been duplicated and moved to Ubuntu 22.04.1 and latest components..

Installing phpMyAdmin’s latest version after installing the base product in Ubuntu.   phpMyAdmin is a quick way to create the WordPress databases and user for each web site.   I have pages dediicated for each of these.    You can read The Hacker News bug reports on all the components I use.  It is best to stay on the latest components for WordPress.  I added notes to Apache2 configuration page.