Yoast SEO and GeoDirectory

This topic contains 14 replies, has 2 voices, and was last updated by  Craig Fryer 7 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #299276

    Craig Fryer
    Expired Member
    Post count: 110

    I noticed in this thread: https://wpgeodirectory.com/support/topic/seo/ that Paolo states
    “Yoast SEO (the best in our opinion) we can guarantee it works 100% and we will keep it 100% compatible in the future too.”

    Now I believe there were some changes made to Yoast SEO after this statement and of course to GeoDirectory, however the above statement is no longer true.

    Yoast SEO breaks the following on GeoDirectory
    GeoDirectory meta Descriptions for Regions, Cities or Neighborhoods.

    Yoast SEO cannot make changes to:
    Meta Descriptions for Regions, Cities or Neighborhoods.
    Meta Titles for Regions, Cities or Neighborhoods.

    Deactivating Yoast SEO does not return the GeoDirectory meta Descriptions for Regions, Cities or Neighborhoods.

    #299593

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Craig,

    I have added this as a bug and i will be looking at it in the morning, if there is any more details i should know just add it here.

    Thanks,

    Stiofan

    #299867

    Craig Fryer
    Expired Member
    Post count: 110

    Thank you for looking into this extremely important matter.

    Until I had identified this issue, I could not understand why some of my standard WordPress pages were out performing the Location pages in Google SERPs even though there were many more internal links to the Location pages. The Location pages were performing very poorly.

    The problem isn’t isolated to my installation as at least two others in the Facebook group are experiencing the same issue.

    #300046

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Craig,

    I don’t use yoast much, can you tell me how you expect this to work?

    Stiofan

    #300487

    Craig Fryer
    Expired Member
    Post count: 110

    At the moment we are stuck with neither Yoast SEO or the SEO functions for Locations working in GeoD.

    To have Yoast SEO work for Locations I believe would take more work as Locations aren’t a CPT.

    I think the best option would be to:

      Stop Yoast SEO trying to output Meta Descriptions on the Location pages as it over writing the GeoD Location Meta Descriptions. This may just mean outputting the GeoD Location Meta Descriptions after Yoast SEO has tried to output Meta Descriptions and just leaving a blank line. This is the most critical and urgent part.
      Create a field (or use the existing table field) for SEO Meta Title for the Locations. This would then need to be added to the GEO DIRECTORY MANAGE SEO page. This is important as the default Location Title may not be the most appropriate title for the page. For example the default Location title for a city could be “Kyoto, Kyoto Prefecture”. Structurally this is correct, but most people would expect to see something like “Kyoto Guide” or similar.

    Related to this topic. I don’t understand what the purpose of the Location Description field on the GEO DIRECTORY MANAGE SEO page is. It seems redundant or at least I don’t understand where this field is to be used or displayed.

    Thank you again for your attention to this really important topic.

    #300809

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    If you edit the locations page meta title and description via yoast it seems to work, you can use: %%location%%, %%in_location%%, %%location_single%% and %%in_location_single%% there.

    Am i missing something? You would prefer that the GD location description is used?

    Stiofan

    #301025

    Craig Fryer
    Expired Member
    Post count: 110

    May be my explanation wasn’t clear.

    With Yoast SEO installed there is no meta description being output in the html.
    For example: https://www.gojapango.com/location/tokyo/tokyo/

    
    
    <title>Tokyo - Go Japan Go</title>
     
     
    <meta property="og:locale" content="en_US"/>
    <meta property="og:type" content="article"/>
    <meta property="og:title" content="Tokyo - Go Japan Go"/>
    <meta property="og:site_name" content="Go Japan Go"/>
    <meta name="twitter:card" content="summary"/>
    <meta name="twitter:title" content="Tokyo - Go Japan Go"/>
     
    <link rel='dns-prefetch' href='//maps.google.com'/>

    As you can see above there are just blank lines in the code.

    It would appear that Yoast SEO is trying to output a meta description, which cannot be modified via Yoast SEO, so the line is just coming out blank.

    #301278

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    If i add a meta description to the locations page it shows up…

    
    
    <title>Locationx in Glasgow, Glasgow City, United Kingdom, - Local xx</title>
    		<script type="text/javascript">
    		var ajaxurl = 'http://localhost/wp-admin/admin-ajax.php';
    		</script>
    		
    <!-- This site is optimized with the Yoast SEO plugin v3.8 - https://yoast.com/wordpress/plugins/seo/ -->
    <meta name="description" content="This is a meta description Glasgow, Glasgow City, United Kingdom, x"/>
    <meta name="robots" content="noodp"/>
    <meta property="og:locale" content="en_US" />
    <meta property="og:type" content="article" />
    <meta property="og:title" content="Locationx in Glasgow, Glasgow City, United Kingdom, - Local xx" />
    <meta property="og:description" content="This is a meta description Glasgow, Glasgow City, United Kingdom, x" />
    <meta property="og:site_name" content="Local" />
    <meta name="twitter:card" content="summary" />
    <meta name="twitter:description" content="This is a meta description Glasgow, Glasgow City, United Kingdom, x" />
    <meta name="twitter:title" content="Locationx in Glasgow, Glasgow City, United Kingdom, - Local xx" />
    <!-- / Yoast SEO plugin. -->

    Can you pass me wp-admin to your site and i will take a look?

    Stiofan

    #301334

    Craig Fryer
    Expired Member
    Post count: 110
    This reply has been marked as private.
    #301366

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I added a meta description to this page (your location page) https://www.gojapango.com/wp-admin/post.php?post=18665&action=edit and it seems to work fine?

    Stiofan

    #301616

    Craig Fryer
    Expired Member
    Post count: 110

    Unfortunately a generic meta description isn’t what is needed.

    We need to be able to have a completely custom written meta description for each location as is possible with the GEO DIRECTORY MANAGE SEO » CITIES Meta Description

    See https://www.gojapango.com/wp-admin/admin.php?page=geodirectory&tab=managelocation_fields&subtab=geodir_location_seo&gd_loc=city&s=Tokyo&country

    Yoast SEO doesn’t allow use to do that.

    Thanks again for your assistance Stiofan. It really is worth persisting with this. SEO is so important to the success of Geo Directory.

    #301916

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I just want to get it right for everyone 🙂

    So title is good?

    For description maybe we show our description if present and fall back to yoast one if not present? Would that be best?

    Stiofan

    #303230

    Craig Fryer
    Expired Member
    Post count: 110

    For description maybe we show our description if present and fall back to yoast one if not present? Would that be best?

    This sounds good.

    For the title we need to be able to SEO version of the title, which would be a new field.
    Again it should be if present GD SEO Title, else Yoast Title, else standard GD Title.

    #304320

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Done, will be in the next release.

    Thanks,

    Stiofan

    #304485

    Craig Fryer
    Expired Member
    Post count: 110

    Fantastic!

    I can’t wait to see it.

Viewing 15 posts - 1 through 15 (of 15 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket