shev72
Forum Replies Created
-
HEllo, many thanks , yes with your guidance I Was able to find the issue issue was in the call to pll_rel_hreflang_attributes setting up the filter, which was not returning the array in some cases.
Regards
- This reply was modified 2 years, 3 months ago by shev72.
Forum: Plugins
In reply to: [W3 Total Cache] error message: directories could not be createdhello yes thanks for the support updating the file permissions fixed the issue!
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] canonical url not in sitemapI investigated in much more detail, I see a comment in the my calendar code:
/**
- Customize canonical URL for My Calendar custom links
*/
function mc_custom_canonical() {
if ( mc_is_single_event() ) {
add_action( ‘wp_head’, ‘mc_canonical’ );
remove_action( ‘wp_head’, ‘rel_canonical’ );
add_filter( ‘wpseo_canonical’, ‘mc_disable_yoast_canonical’ );
}
}
/**
- When Yoast is enabled with canonical URLs, it returns an invalid URL for single events. Disable on single events.
* - @return boolean
*/
function mc_disable_yoast_canonical() {
return false;
}
I am not really sure about this. Both the yoast and myCalendar canonical seem to returning the ?mc_id, this is incorrect. It is easy for me to filter this, but the yoast filter is disabled, is there another hook I can use?
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] canonical url not in sitemapsorry ignore this question, in fact I see that I have some customizations which are adding the query string, I will add a filter in Yost to remove it generate the correct canonical without the query.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] canonical url not in sitemapjust a quick follow up, I see that when the event list are generated, the links in the event also have the query ?mc_id=xxx , so infact they point to the page which is not in the sitemap. when I manually remove the ?mc_id=xx it works. So is it possible to generate the links without the query?
Forum: Plugins
In reply to: [WP Store Locator] wpslCallback is not a functionyes same issue for m the autoptmize js fix above has fixed it.
Forum: Reviews
In reply to: [Broken Link Checker] If you sign up to the Hub, prepare to get a lot of spamagree with this review concerning SPAM! so many emails
Please make your unsubscribe link bigger, I need a microscope to read it, it is the only useful information in the email!
sorry, I figured out the issue, seems like I needed to modify the priority because I had another filter working on the head section.
I have this warning as well, it is appearing on my home page, really need a fix for this.
Forum: Plugins
In reply to: [Smart Slider 3] custom delay for a specific slide with autoplayyes it works perfectly thanks!
Forum: Plugins
In reply to: [Max Mega Menu] Language Switcher not working for PolyLangHello again, seems like I have to set the language individually for all pages. The answer for my question is here:
https://polylang.pro/doc/assign-a-language-to-an-existing-content/I close this topic. Perhaps the above link can be added to your FAQ to cover cases such as mine where polylang is added to a site which already has many pages.
Forum: Plugins
In reply to: [Max Mega Menu] Language Switcher not working for PolyLangthanks for your follow-up: I disabled the caching plugin (autoptimize) but result is the same.
I also disabled MaxMegaMenu and result is also the same. When you say menu may be incorrectly configured, can your provide more detail? I am not sure what to try, I followed and checked the instructions on the FAQ.
I can also post a support request to PolyLang.
thanks again¨!thanks again, actually I think I found the culprit elsewhere.
M y themese has a call to wp_head()
and I needed to remove the canonical being generated there as suggested on stackoverflow:https://stackoverflow.com/questions/35685141/wordpress-wp-head-how-to-remove-link-canonical-and-api
thanks for your follow-up, I am beginning to suspect there may be another plugn interfering.
definitely the behavior is reproducible.
One sample page is sample page
sample page 2
the canonical link on desktop shows the complete link including the parameters, but on mobile I get online the base link without the parameters.I will try disabling other plugins which may be interfering.