-
AuthorSearch Results
-
August 15, 2018 at 1:40 pm #185649
In reply to: How to NoIndex Search result pages?
AnonymousInactiveHey Trevor.
Thank you for your reply.
I do have Yoast SEO installed and while it does block search results from the built in search in my theme, it is not blocking search results for the S+F results. I am seeing 230+ urls when I use the “site:”insert-doman-name” inurl:”insert-part-of-custom-slug-in-power-search-URLs”” operator searching on google.
You can confirm that Yoast SEO does noindex S+F URLs when using the “As an archive” display method with a custom slug?
Thanks!
August 15, 2018 at 9:02 am #185624In reply to: How to NoIndex Search result pages?
TrevorParticipantThat is one way to do it. Another is to simply install Yoast SEO:
https://yoast.com/blocking-your-sites-search-results/
Which is what I do on my personal sites.
August 9, 2018 at 7:20 pm #185014In reply to: ETA on v 3 (SEO/Yoast conflict)
RossKeymasterHi Chheg
I’m hoping October at this rate.
You are correct with the yoast issue, when using the display method “archive”. This shouldn’t be an issue if you use any other display methods such as “post type archive” or “shortcode”.
In order to control your SEO, I would recommend to use the shortcode method on a page, so you can control the SEO of the page, and then customise the results following these instructions.
It will require some knowledge of PHP and (copying) WP templates, to get your results looking like your archive, but its entirely possible.
We will be retiring archive display method in v3, in favor of a system more like WP Blog archive, or WooCommerce shop page, whereby you create a page which is assigned as an archive type page – again, allowing full control of SEO.
I hope that helps.
Thanks
August 9, 2018 at 6:37 pm #185003Topic: ETA on v 3 (SEO/Yoast conflict)
in forum Search & Filter Pro
AnonymousInactiveExcellent plugin in many ways. However as mentioned in previews threads, the plugin messes up YOAST meta-data and displays the first search result as page title, canonical URL, breadcrumbs etc. I’m using the Search and Filter plugin (or that was the plan) on a page that has big SEO relevance for the site – so until this has been fixed – I’m not able to use the plugin. Which leads me to the question – do you have an ETA on v3 of the Search And Filter plugin – which I understand should solve the YOAST problem?
June 27, 2018 at 3:22 pm #181395
TrevorParticipantAre you using Yoast SEO on the site. Temporarily, does deactivating Yoast SEO fix the problem?
June 19, 2018 at 9:38 pm #180738
RossKeymasterHi Tanner
I know the issue you are talking about, and we’re fixing it in v3.. but there is a workaround.
Basically what yoast is doing is grabbing the
global $post, and and pulling the data from this (I’ve seen some themes have a similar issue),Because we use an archive style method of displaying, there should be an array of posts, so it will fail on this and it reverts to the first result if you like – the problem is, S&F results are not detected as true WP archive, because what you are seeing is not a post type archive, or taxonomy archive.
The simplest way to get over this, would be to duplicate your search template, and in that file, before
get_header(), manually set the value of$post:global $post; $seo_post = get_post(123); if($seo_post){ $post = $seo_post; }This will trick yoast into thinking the page with the ID
123is being loaded and it should output the relevant meta to do with that page (which actually means you can customise various SEO settings by editing the page in wp-admin)There is 1 caveat I’m yet to test with yoast though, in the header, it will generate a canonical URL for the page, so you may have to give the page you create the same slug as your search form (and if that doesn’t work) I’m pretty sure they have a filter to modify this variable, which you would have to hook into.
Hope that makes sense, let me know how you get on.
—-
As an added note, what we’re doing in V3 to solve all this is, when creating a S&F archive, you no longer enter a “slug”, you link it to page (much like WooCommerce does with its shop page) – this should negate all the above.
Thanks
March 3, 2018 at 5:36 pm #163443In reply to: Custom template help in showing results
RossKeymasterHi Hofit
This is getting a little out of scope of S&F but 2 things to note:
1) Did you disable YOAST SEO category base stuff?
2) Whenever you change anything with rewrites & taxonomies, you need to flush the rewrite cache – the fastest way is to gotosettings->permalinks->save / update– saving the page without changing settings flushes this cache.Hope that helps
January 28, 2018 at 7:53 pm #155423In reply to: Update search results page title
RossKeymasterClosing this ticket.
I can confirm that
add_filter('wpseo_title','search_form_title'); function search_form_title($title){ global $searchandfilter; if ( $searchandfilter->active_sfid() == 209) { return 'My Custom Title'; } else { return $title; } }Still works for modifying the page title where S&F is set to display as archive, with Yoast SEO.
Thanks
October 11, 2017 at 11:46 am #135862In reply to: Canonical tags on paginated pages – WPSEO
TrevorParticipantAs it is WP SEO adding these, you would need to use their filters to change what is output.
See these pages as an example:
https://gist.github.com/amboutwe/2aa7dcc9a38986e11fac68c7306cc091
https://kb.yoast.com/kb/is-the-plugin-compatible-with-paginated-content/
If you explained what you need on their help forums, I am sure you would get some better examples.
September 22, 2017 at 9:12 am #132462In reply to: Problem with metatag title after search
TrevorParticipantHi Kara
As I had said before, this is something done by your theme and/or Yoast SEO (if you are using it) and will be coded into the template that your results page is using. It is something you should ask your theme author I think.
-
AuthorSearch Results
-
Search Results
-
Excellent plugin in many ways. However as mentioned in previews threads, the plugin messes up YOAST meta-data and displays the first search result as page title, canonical URL, breadcrumbs etc. I’m using the Search and Filter plugin (or that was the plan) on a page that has big SEO relevance for the site – so until this has been fixed – I’m not able to use the plugin. Which leads me to the question – do you have an ETA on v3 of the Search And Filter plugin – which I understand should solve the YOAST problem?