JohnnyScience
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How to hide Shop name?Ok thanks, yeah I guess that second set of brackets wasn’t in the 1st piece of code suggested.
I’ve add it and while I didn’t notice any difference in the appearance, as you suggested, that is the full and proper code.
Thank you!
Forum: Plugins
In reply to: [WooCommerce] How to hide Shop name?Anyone know what this piece of code was supposed to do and why it didn’t seem to do anything when I added it?
@media only screen and (min-width: 768px)
Forum: Plugins
In reply to: [W3 Total Cache] Error over fancy permalinks not being detected?Hmm nevermind, this problem has seemed to fix itself.
Ok so I contacted hostgator and got some help from them too.
They suggested I upgrade my PHP 7.0 to PHP 7.2 & PHP-FPM
To increase website loading speeds.
When I went to add on the Options -Indexes to the .htaccess file, I think it broke the website and I was getting a 500 Internal Server Error
I had to contact Hostgator again to get help on restoring things and they said that I don’t need to add Options -Indexes since I already have an SSL installed through them.
They also said I didn’t need to have the Really Simple SSL code in the .htaccess file either:
# BEGIN rlrssslReallySimpleSSL rsssl_version[3.2.6]So they removed that bit of code and advised me to not add the Options -Indexes back in either.
They also had this to say:
“But your site has SSL already: https://www.sslshopper.com/ssl-checker.html#hostname=ohiocannabis.com
So adding script like that might be conflicting on your site. Or if you want, you can check for other versions, might not be fit anymore since you updated to 7.2 PHP”They did add something on their end to increase the loading speed of my website, which seems to be noticeable.
What are your thoughts on this?
Is Options -Indexes not really needed for me then?
I deactivated the Really Simple SSL and will keep it disabled to see if I get a bunch of new Google Search Console errors in regards to HTTPS errors
I know this has been a deep discussion and kind of all over the page and hard to follow at times, but I think we’re working through these errors and clearing them all up with everyone’s help – which is GREATLY appreciated!!
Thoughts?
Forum: Plugins
In reply to: [Modern Events Calendar Lite] Disable FieldsOk I’ve had hundreds of Google Search Console errors in regards to this same issue!
So my Schema was in fact Enabled and I just disabled it and started new Validation on all of these errors in Google Search Console
What exactly is this Schema and what does it do for MEC?
What extra plugins are needed if we disable Schema?
I figured I would make the .htaccess a new post.
So here is my current .htaccess file:
# BEGIN rlrssslReallySimpleSSL rsssl_version[3.2.6] <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTPS} !=on [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> # END rlrssslReallySimpleSSL # BEGIN WordPress # The directives (lines) between <code>BEGIN WordPress</code> and <code>END WordPress</code> are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # BEGIN ShortPixelWebp # The directives (lines) between <code>BEGIN ShortPixelWebp</code> and <code>END ShortPixelWebp</code> are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END ShortPixelWebp # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php71” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php71 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not editSo EXACTLY where/what line would I want to input the piece of code:
Options -Indexes?
Thank you!
- This reply was modified 6 years, 6 months ago by JohnnyScience.
Ok, I found in the Yoast SEO Plugin Advanced section where to toggle the page to “NO” for “Allow Search Engines to Show this page in results”
I did that for the 3 Woocommerce pages that apparently need this: Cart, Checkout & My Account.
But do I also want to change “Should Search Engines Follow Links On this Page” from Yes to No as well?
As I was reading your links, someone also suggested that once you set these pages to “NoIndex” you should then “Unhook” the Woocommerce Function that adds robots tags with:
remove_action( 'wp_head', 'wc_page_noindex' );Or by using a second solution using Yoast Hook to exclude these pages from the sitemap & leave Woocommerce code to handle noindex:
wpseo_exclude_from_sitemap_by_post_idsShould I also do one of those?
It was also said that:
“Because WooCommerce has function wc_page_noindex which adds the robots META tags, there will be same tag twice in HEAD section (you can see HTML source). It’s possible to unhook this WooCommerce action:”
remove_action( 'wp_head', 'wc_page_noindex' );So do you agree that’s a good idea for me to do then?
Soft 404 & Taxonomies:
Why are these Taxonomies & Tags even showing up as problems with a soft 404 to begin with? They should be attached to actual events or posts that have passed, so I’m confused why they’re even a problem.
Wouldn’t I prefer to have these also indexed by Google for better SEO?
Or at the very least, if not the MEC-Categories, then perhaps I would still want the normal “Tags” to still be searchable and I should clear these soft 404s another way through the wordpress dashboard? Perhaps I need to fix or do something to them within the WP dashboard Category & Tags sections?
I did see the “Categories (mec_category)” option under the “Taxonomies” tab and set it from Yes to No. So that should clear up all of those soft 404s.
The MEC-CATEGORY was the one that was causing the most soft 404s, but there is also a few normal “Tags” that are also showing up as soft 404.
So would I set to these normal “Tags (post_tag)” to Not be searchable as well?
Or is there another proper way to clear these couple that are coming back as errors up?
Thank you for the help, I really appreciate it and were close to getting all of these errors cleared up!
Forum: Themes and Templates
In reply to: [Twenty Twenty] How to create “Sections” on my home page?Ok thanks, I’ve never tried it like that before.
I have just been using the Elementor Plugin to build a home page with sections and it seems to be working fine.
Would using this Nested Blocks option be a better solution that using Elementor?
Thanks for the info!
Forum: Plugins
In reply to: [WooCommerce] How to center a single product populated by shortcode?Awesome, that worked great!
Thank you!
Forum: Themes and Templates
In reply to: [Twenty Twenty] How to create “Sections” on my home page?I think I figured it out by using the Elementor Plugin.
But I still can’t get my website to go absolute edge to edge like BullCityGreens does:
https://www.ohiocitymicrogreens.com/
How can I get everything to span edge to edge?
I have my Home page template set to “Full Width Template”
But I’m still getting that border around everything?
Ok, will I need to upgrade to Premium for both websites?
Or does Premium cover more than 1 website?
Ok great, thank you for those plugin suggestions!
Forum: Plugins
In reply to: [WooCommerce] How to center the product “Select Now” button on the Shop page?This worked great, thank you!
Forum: Plugins
In reply to: [WooCommerce] How to hide Shop name?Sorry, I didn’t get a chance to reply.
So I added that code and
.woocommerce-products-header__title.page-title { display: none; }Worked just fine
But this piece of code didn’t seem to do anything and I actually had to remove it in order to get the other piece of code to work properly:
@media only screen and (min-width: 768px)Ok I’ve really been trying to wrap my head around all of this, but it really is well beyond my skillset.
I’m not sure what applies to what, but I updated my robots.txt to just the following:
User-agent: *
I was advised this was the best option for me.
Do you agree?
I also used the Google Search Console Removal Tool to help clear out an old, in-active URL that was coming back as a 5xx error. I also requested Removal of the two pages/URLs from woocommerce (Cart & Checkout) that were coming back with this NoIndex error.
Is that what I should have done?
Should I also then edit the .htaccess file and add this to the bottom:
Options -Indexes
?
This is the .htaccess file within my Public_HTML folder correct? Is there another one that resides elsewhere in the theme or something?
Thank you and I’m sorry I’m requiring extra attention on this. This is really complicated.
The only Google Search Console errors left are:
14 errors of “Submitted URL seems to be a Soft 404”
[ Many links deleted ]
A lot of them seem to be related to the Modern Events Calendar (MEC) and my site tags and categories.
Any idea on how I should clear up these last few errors?
We’ve made some serious headway these last couple weeks, we original started out at hundreds of CSC errors, so we’re getting close thanks to everyone’s help!
Thank you!
- This reply was modified 6 years, 7 months ago by Jan Dembowski.