Some more information.
This line of code creates duplicates with SimpleBlogSEO installed.
A solution to this problem consists in making sure that the parameters given when calling the FindString() method are the same in the (deprecated) SearchBlog() method (special_search.php) and in the BlogSearch() method (Search.php).
This is currently not the case for the third parameter (slug).
This line of code in the SearchBlog() method (line 404 of the special_search.php file):
$this->FindString($content, $title, $slug, '?cmd=post&id='.$id);
should be replaced by this one:
$this->FindString($content, $title, 'Special_Blog', '?cmd=post&id='.$id);
Additionally, we can also remove the question mark (?) in front of the query string (fourth parameter).
Hope this helps ;-)
$this->SearchBlog(); was left in the code so that blog searching would work for someone who updates gpEasy but doesn't update the SimpleBlog plugin. The duplicates are removed in the ShowResults() method of special_search.php based on the url. Do you think this is something that can be worked around in SimpleBlogSEO?
I just updated the FindString() methods to the following:
FindString($content, $title, 'Special_Blog', 'cmd=post&id='.$id);
Sorry for the slow response
I just updated the FindString() methods to the following
Thanks a lot Josh! This does the trick.
Do you think this is something that can be worked around in SimpleBlogSEO?
Yes. I managed to solve this problem within the GetUrl() method.
I will keep this fix to have this problem solved in v3.5 as well.
The fix will be available in the next release v1.1.
Find out more about our Provider Spotlight