How to convert multisite subdomain from http to https

I like a simple, all-purpose htaccess to enable https on all site requests: RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] In addition, go into Network Admin, Sites, then Edit each site, then the Settings tab for each site. Change all occurences of http to https for your site. (Some plugins may have the … Read more

Unable to declare AOS library in functions

The function get_template_directory_uri() returns the path without trailing slash. So you need to write wp_register_script( ‘aosjs’, get_template_directory_uri() . ‘/js/aos.js’,…) Note the slash before “https://wordpress.stackexchange.com/questions/328563/js/aos.js”. What good for is this line, the script file should already be loaded: <script src=”https://wordpress.stackexchange.com/questions/328563/js/aos.js”></script>

Page 404 Error on Localhost

In some instances (tried everything counts) I’ve had to (be sure I had a current xml export of the content + ftp back up of the wp-content dir + copy paste your customized CSS and other code) wipe the site, fresh install WP install all the plugins, theme, etc then import the xml and/or copy … Read more

Assign Parent Page – Now 404 Error

PLUGIN 1: After looking into this site further, I noticed I have a plugin that has created a section in the sidebar called “Products”. Within the “Products” section is a category labeled “Locations”. This is creating the /locations/part of the URL. There are several pages like the example www.example/locations/city-state. This is for a filter based … Read more