Some problem with meta title & meta description

This topic contains 27 replies, has 5 voices, and was last updated by  Paolo 9 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #20477

    tuyentran
    Free User
    Post count: 64

    GD have variables: gd_place, gd_placecategory, gd_place_tags
    Now i just need 1 variable for location (include city, state, country). I can custom meta title, meta description, meta keyword anywhere i want

    How to remove meta description, meta keyword generate by GD. because have 2 meta description, meta keyword when use yoast seo

    #20647

    tuyentran
    Free User
    Post count: 64
    This reply has been marked as private.
    #20651

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    AGAIN – i have accepted your request on skype…

    #21940

    tuyentran
    Free User
    Post count: 64

    Hi Stiofan,

    I found this script in this forum. This variable can use for yoast

    
    
    function retrieve_var1_replacement( $var1 ) {
    
    	$location_terms=geodir_get_current_location_terms();
    	$city=$location_terms['gd_city'];
    	$region=$location_terms['gd_region'];
    	$country=$location_terms['gd_country'];
    
    	if(!empty($city))
    		return $city ;
    	
    	if(!empty($region))
    		return $region ;
    	
    	if(!empty($country))
    		return $country ;
    	
    	return '';
    }
     
    function register_my_plugin_extra_replacements() {
    		wpseo_register_var_replacement( '%%current_location%%', 'retrieve_var1_replacement', 'advanced', 'Use this is for current location' );
    		
     }
     add_action( 'wpseo_register_extra_replacements', 'register_my_plugin_extra_replacements' );
     ?>

    but result is “quan-tan-binh”, now i want see result is “quận tân bình”. How to fix this. and can you make 1 variables include full location like meta title?

    demo here: http://taphoacoho.com/places/vietnam/tphcm/quan-tan-binh/restaurants/

    notice: visit location, then back to restaurants category to view current location. I think this maybe a bug need to fix, when 1 visitor visit link above, it mean this visitor also in this location

    #33837

    rosarnach
    Expired Member
    Post count: 71

    Has there been any update on this location based SEO since October?

    I discovered that GEO DIRECTORY adds “in [name of city]” to the TITLE of whatever you have on the /location page. Whew!

    But the META DESCRIPTION (using Yoast) is the same for no all locations. Adding in a variable such as %%location%% in the Yoast meta description box yields no output.

    Thoughts?

    #33844

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    now we allow to add a description to each location page.

    For Cities
    GD >> MultiLocation >> Manage Location >> Edit individually

    For Regions and Countries
    GD >> MultiLocation >> SEO Settings

    I’m not sure you can add locations as variable to Yoast. I need to ask to Stiofan for this.

    Thx

    #33864

    rosarnach
    Expired Member
    Post count: 71

    Thanks for the reply Paolo.

    With Yoast enabled and SEO field data filled in on…

    Cities
    GD >> MultiLocation >> Manage Location >> Edit individually

    The site still just displays the meta description from Yoast for the page.

    If I disable Yoast, the META DESCRIPTION tag does then work, BUT the “in [name of city]” in the TITLE tag that GD was previously adding disappears.

    Ideally like it to work with Yoast and of course having the location in both the title and meta description is essential.

    Any thoughts on how I should proceed?

    David

    #33865

    rosarnach
    Expired Member
    Post count: 71

    Scratch that last post. (Can’t delete posts here.)

    I found the META DESCRIPTION with Yoast turned on further down.

    #33867

    Paolo
    Site Admin
    Post count: 31206

    awesome, thank you!

    #33893

    rosarnach
    Expired Member
    Post count: 71

    Hi Paolo.

    I added the meta descriptions for all my cities in

    GD >> MultiLocation >> Manage Location >> Edit individually

    It works great.

    I followed the edit individual tree down to the neighbourhood level and entered my neighbourhood meta description information. When I click SAVE the meta information does not save. It reverts back to what it was before.

    As a trial, I took the meta description info out of the parent city and tried the neighbourhood meta description again. Still no go.

    Are meta descriptions suppose to work for neighbourhoods or have I come across a bug?

    Thanks.

    David

    #33952

    Paolo
    Site Admin
    Post count: 31206

    Hi David,

    more than a Bug I’d rather say a part of our plugin that is still not up to standard.

    The neighbourhood part of multilocation needs a major revamp. At the moment it only provides very basic functionality.

    I’ll talk to Stiofan and try to put this on our agenda as soon as possible.

    Thanks

    #46560

    rosarnach
    Expired Member
    Post count: 71

    Hi Paolo!

    Just thought I’d check in to see if Stiofan has fixed the SEO functionality of the Multi-Locations plugin yet?

    Thanks.

    David

    #46561

    Paolo
    Site Admin
    Post count: 31206

    Neighbourhood revamp is still on the todo list…
    Hopefully we will be able to work on that in August.
    Thanks

Viewing 13 posts - 16 through 28 (of 28 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount