Forum Replies Created

Viewing 12 replies - 46 through 57 (of 57 total)
  • Hello, Jeremy

    Thanks for your reply, again!

    So maybe it’s somehow related to the network activated WP Super Cache I have? I have tried clearing the specific site’s cache and the sitemap wasn’t re-regenerated yesterday. I only saw a new sitemap published today. Anyway, I can now confirm the code snippet you wrote works! Thanks for it ??

    I have also realized the frequency is not too important at all. And for the AIO SEO versus Jetpack, this is because I have some sites on the Network using AIO SEO and it overrides Jetpack sitemap’s – actually, I read it on Jetpack’s Sitemap page yesterday (and I want some flexibility – use Jetpack Sitemap, while AIO SEO is enabled). The main reasons for me to use Jetpack’s Sitemap module rather than AIO SEO’s one are:

    1. AIO SEO Sitemap module do publish all custom post types and taxonomies by default, including the media library attachments (and I prefer those not to be listed, so not having to go there and customize the AIO SEO options saves time).
    2. AIO SEO Sitemap module is not ‘human visitor proof’ when browsed using Chrome, only using Firefox, and some of my subsites are managed from non tech savvy people which will probably go nuts by seeing just a blank page on sitemap.xml

    However, I noticed after publishing my previous message, that both on Jetpack and AIO SEO, the sitemap generation feature are optional (I knew it is optional on Jetpack, but I wasn’t aware about AIO SEO – one of the other site admins setup AIO SEO for me – now I see it’s an optional module there too, like on Jetpack!), so I can enable AIO SEO and keep Jetpack’s Sitemap module enabled, and AIO SEO won’t override it, unless I enable the Sitemap module on it.

    TL;DR I’m all set. Many thanks again for your time!

    Hello, Jeremy

    Thanks for your reply!

    It seems the sitemaps are generated only when the cron runs – or somehow, scheduled – and after leaving the code there since yesterday, the sitemaps are now updated ??

    Now I just need to find out how to control the update frequency – and how to make Jetpack Sitemaps to have priority over AIO SEO plugin sitemap (a possibility I saw is setting AIO SEO to user a name other than “sitemap” for it’s sitemap, but I will look for other alternatives).

    Anybody had success with the code above? I have tried:

    function jeherve_add_cpt_sitemaps( $post_types ) {
    	$post_types[] = 'product';
    	return $post_types;
    }
    add_filter( 'jetpack_sitemap_post_types', 'jeherve_add_cpt_sitemaps' );

    and my WooCommerce products are not included in the sitemap. ??

    Use this instead:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www\.)?everythingwellness.com
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://everythingwellness.com/$1 [R,L]
    </IfModule>

    It will perform the HTTPS redirection only for the main domain and the mapped one should work as expected.

    Most webhosts will redirect all HTTPS requests to the public_html (or the docroot of the website you installed the SSL first) by default.

    It seems you’re using a custom redirection rule to force HTTPS. So your scenario is a bit complicated. But basically, you need to improve the ssl redirection rule you use, to avoid it happening on nolazydays.com domain.

    If you have difficulties with that, let me know how you’re doing the redirection (copy the rule here).

    Hello, Marco

    This is where “allow only on post edit pages” option helps ??

    Will depends on what you have set for WooCommerce Settings > Inventory > Reserve stock options.

    Stock is by default reserved for 60 minutes after a customer submitting checkout form.

    If you clear that field (remove the ’60’ making it empty and save the options form), the stock will only be deducted after the payment is processed and authorized by PayPal.

    Thread Starter renatofrota

    (@renatofrota)

    Hello Ipstenu,

    Previously I had renamed wp-content/plugins directory and tried adding a Site (the form was already opened in a browser tab) and it has failed. I’

    I’ve tried it again, visiting the Plugins screen after renaming the directory (then WP correctly disabled all plugins) and the Site creation worked flawlessly.

    After further investigation, I’m almost convinced this is a problem on Pro Sites by WPMU DEV. I’m checking this with them.

    I will come back and add more information after completely resolved but since I’m sure this is not a problem with MultiSite itself, I’m marking resolved.

    Thank you for the time you spent with me! ??

    Thread Starter renatofrota

    (@renatofrota)

    Yes, new install (4.0, updated to 4.0.1 and now 4.1).

    I have not tried adding websites on 4.0 and 4.0.1. Tried on 4.1 only. Never worked.

    There’s no ‘mu-plugins’ directory on my installation.

    I will install a fresh 4.1 and try to replicate the problem.

    Thanks

    Thread Starter renatofrota

    (@renatofrota)

    Hello Ipstenu.

    Thanks for your suggestion. Same error, though ??

    Strangely, nothing is registered on debug.log.

    Happy holidays!

    Thread Starter renatofrota

    (@renatofrota)

    I have tried disabling all plugins and reverting to English language and the same error occurs.

    You can also use some browser extensions like Wappalyzer. It is able to correctly identify if an website is using WooCommerce, Magento or other platforms.

Viewing 12 replies - 46 through 57 (of 57 total)