lokisatyn
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] X-Robots-Tag Header Preventing RSS From Being IndexedSame issue.
I use a widget to display an RSS feed of comments, so Yoast SEO decided to add noindex in between <head></head>. Since even the code added to function.php did not roll back the problem, my only fix was to disable Yoast SEO and move on to another plug-in.
- This reply was modified 6 years, 2 months ago by lokisatyn.
Forum: Plugins
In reply to: [Disqus Latest Comments Addon] Separate feeds according to urlHello,
Thank you for your answer! But please forgive me but I am not very code literate and I did not understand what to do with your reply.
What I did:
– updated Disqus Latest Comments Addon
– copy-pasted your code in functions.php to try it out, just replaced https://www.sitename.com/fr/ with my url
What happened:
– the website stopped working until I reverted functions.phpAlso, is there a way to skip threads that do start with $query?
The aim would be to display the English thread only by eliminating the French thread (English is just https://www.sitename.com without /en/ or /fr/ in the end, so I am afraid that using https://www.sitename.com as $query would still display both languages).Something else I am not sure to understand, is if I had activated your code then the plugin Disqus Latest Comments would only display the filtered thread on the whole site? Because as I mentioned earlier, this is not a multisite with two separate installations of WordPress. Both English and French exist on the same site. What I am trying to do is:
– Widget on English pages to show English Disqus thread/latest comments.
– Widget on French pages to show French Disqus thread/latest comments.Polylang lets me choose if a Widget is seen on the French pages or the English pages.
I hope this clarifies what I am looking for, and once again I apologize if I missed something obvious in your reply or screwed up the application.
Forum: Plugins
In reply to: [Disqus Latest Comments Addon] Separate feeds according to urlNot a multi-site, just different urls at the end -> sitename.com/en/ and sitename.com/fr/
(Except that /en/ does not need to be added since it’s the default language)I tried registering a new Disqus site with sitename.com/fr/, but Disqus only wants to register the domain sitename.com, thus the same for both my languages.