Metatext with Directorist

#21240
  • Resolved Lebenindenusa
    Rank Math free

    First, I like the plugin very much. I wrote in a view emails with Bhanu A., he was very helpfull. He said I should open here a ticket, because it seems that you have to take a closer look at my problem.

    So what is my problem? I have the dirictory plugin “directorist”. Directorist has two settings for seo, one for yoast and one for the directorist seo. The seo from directorist is horrible. So I have the yoast setting activatet and it shows in the rank math settings the directorist things, like single listing. I want google to take the standarddescription text like “%title% im Verzeichnis mit Deutschem in den Vereinigten Staaten von Amerika %sep% Leben in den USA” it works with the title but not with the text. A test with seobility showed all directory texts empty.

    Also a second problem, seobility says I have 0% Structur, this was before 82%, seems for me there is some kind of problem.

    As far I can tell all settings look right for me. I was going twice over it, but I am not a pro.

    I hope you can help me with this, the directory is a big part of my site and I think structure is important.

    • This topic was modified 4 years, 11 months ago by Lebenindenusa. Reason: changed pw
Viewing 15 replies - 1 through 15 (of 16 total)
  • Hello,

    Thank you for contacting Rank Math today.

    The credentials do not seem to work on my end. Could you please check this and supply some new ones?

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi there,

    Thanks for the follow up.

    1). I have been able to replicate the compatibility issue with the listing plugin. Could you please add the following code to your theme’s functions.php file since I do not have access to edit files:

    /**
     * Allow changing the meta description sentence from within the theme.
     *
     * @param string $description The description sentence.
     */
    add_filter( 'rank_math/frontend/description', function( $description ) {
    	if(is_singular('at_biz_dir')){
    		global $post;
    		$desc = RankMath\Helper::get_settings( "titles.pt_{$post->post_type}_description" );
    		$description = RankMath\Helper::replace_vars( $desc, $post );
    		return $description;
    	}
    	return $description;
    });

    2). I have performed a test on Seobility but the test says you site’s structure score is 100% as shown below:
    Screenshot

    Let me know if you are testing a specific page.

    Thank you very much.

    I put the code in, I only can check tomorrow on seobility, I have only the free version there.

    Thats realy crazy that you have 100% on structure, I double checked it and it showed still zero by me. Maybe it have to do with, that I only have the free version. But this is a good sign. than my site is not totaly wrong.

    Hi there,

    Thanks for the follow up.

    I am not sure what is causing the different results, I used the online analyzer on this page:
    https://www.seobility.net/en/seocheck/

    I can see that the descriptions are now working as expected, please let us know how the test goes tomorrow.

    Thank you.

    Hello again,
    I had to disable the code, because it coused a error when clicking in directroy map on a listing.

    Also I think now, the sebilitytest under https://www.seobility.net/en/seocheck/ is diffrent than the one I make there in my dashboard. I think this is not so actual, because it shows also as exemple an typing error, that is long fixed.

    For the metatext I try now, to type in the text manuel, for one listing, to check if this is an option. Would be much work by almost 1000 listings, but maybe a possibility.
    I will see tomorrow if this worked.

    Have a nice sunnday

    Hello,

    Thank you for contacting Rank Math today.

    I would be happy to check this further if you can share some temporary FTP access to your site.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Sorry for the late reply – Happy Thanksgiving

    Hi there,

    Thanks for getting back to us & happy thanksgiving too.

    I cannot seem to reproduce the map error when the code has been added to your theme.
    Could you please share a screenshot of this?

    We are looking forward to helping you. Thank you.

    By my last seo check it seams to be ok and the metatext from the directory listings are working. But now (last checked yesterday) I have a new problem, now I have on two sites each more than one meta description (says seobility). This sites:
    https://lebenindenusa.com (home site) and https://lebenindenusa.com/deutsches-in-den-usa-branchenverzeichnis/

    Error when klicking on a listing on map
    To reproduce the error open the map (when code is activ) https://lebenindenusa.com/deutsches-in-den-usa-branchenverzeichnis/?view=map and click on one of the listings. Then when you click again on the listing, to open for more information, the error comes. When I deactivate the code no error.
    I had the code deaktivated, but it is in Astra custom layouts (not puplished) in WP under desing – Astra optionen – custom layout. Maybe I did it wrong.
    For now I deactivated it again.

    Hello,

    Thank you for contacting Rank Math and sorry for the delay in getting back to you.

    Your last response got stuck in our moderation queue and this is why we could not follow up sooner.

    I cannot reproduce the error on the map with the code registered on your site even after clicking on the listings as you can see below:
    Screenshot

    In regards to the duplicate meta tags problem, I have narrowed it down to the Director – Business Directory Plugin that is adding this tag in some pages and not others. Please get in touch with the authors of this plugin so that they can advise on how to disable the addition of meta tags on the listing pages.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thanks for the response. The problem with the map is now ok.

    With the double meta it is good to know where this comes from, thanks for that.

    Thank you for your help

Viewing 15 replies - 1 through 15 (of 16 total)

The ticket ‘Metatext with Directorist’ is closed to new replies.