tuyentran
Forum Replies Created
-
AuthorPosts
-
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
This reply has been marked as private.Paolo
like for this, because you have 1 great plugin is multilocation. This plugin make me quit all themes and plugins i known & used to choose active in here 🙂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 wantHow to remove meta description, meta keyword generate by GD. because have 2 meta description, meta keyword when use yoast seo
can i use yelp.com?
you can make collection plugins for classified site, job site, real estate site, local coupons & deals site. sell its not include wpgd like geotheme is other part. All of kind this site use location and your plugin multilocation very good for sites like this. I think you will get more milk for your baby if you have 🙂
November 3, 2014 at 3:01 pm in reply to: Should code multilocation like yelp & foursquare search form #20405glad to see it ^^
great job!!!I hope this will be fix soon, i can’t continue build content for my site because google index not exact meta title & meta description, meta keyword.
November 1, 2014 at 3:24 pm in reply to: Some problem with neighbourhood & popular post view widget #20248Thanks stiofan
November 1, 2014 at 1:58 am in reply to: Some problem with neighbourhood & popular post view widget #20227This reply has been marked as private.This reply has been marked as private.I accept any problem with design but i will don’t accept any problem with onpage seo. Because design i can repair anytime i want, but onpage seo very important because offpage seo based on onpage seo and i can’t modify any link google indexed. i need google index right meta title, meta description for my offpage seo. As you say you never out of top 5 keyword you focused, you will understand i talking here.
I want to use meta keywords, but this is auto generation by GD “categories, title” you can view source and looking for, this not auto generation by yoast.
I agree “Yoast SEO will not be able to let you add a different description for each location”. But yoast have a feature variable, you can make a variable include city, state, country use for yoast. Ex you set this variable is %%location%% then i will set for yoast is
– Meta title: %%pt_plural%% in %%location%% %%sep%% %%sitename%%
– Meta description: blah blah %%pt_plural%% in %%location%% blah blah
– Meta keyword: %%pt_plural%%, %%location%%I want use yoast because it have feature auto generation for all gd_categories, gd_tags, gd_eventcategories, gd_eventtags, gd_places. it will auto generation exactly i need. If a site have too many gd_categories, gd_tags, gd_places you can’t setting meta title, meta description, meta keyword for each gd_categories, gd_tags, gd_places then feature yoast auto generation very helpful
If you set meta description in here you must set meta %location% include city, state, country and add meta title, meta keyword in here for easy custom then i will disable yoast for gd_categories
Ex: in this case if have meta title, meta description, meta keyword in gd_categories. I will set
– Meta title: Restaurants in %location%
– Meta desciption: blah blah blah blah restaurants in %location% blah blah
– Meta keyword: restaurants, %location%If you do this you must also add these features for gd_tags, gd_eventtags to custom like gd_categories. This will be make you lost more times than add variation for yoast. just add one variable for yoast you can use anywhere you need
still have problem here
– Meta Description: “Posts related to Category: Restaurants” how to remove it
– Meta keyword” “food nightlife, restaurants, buddakan” how to remove it
– Meta H1: “All Places in ‘Restaurants’”(it nothing with seo) should be “Restaurants in %location%” but meta %location% not full location include city, state, country.I want remove all meta title, meta description, meta keyword auto generated by GD. Because i use wp seo by yoast, this’s great plugin for seo. But i need 1 variation for location to use for wp seo by yoast. Ex: you can setting %%location%% include city, state, country. I can use it anywhere i want
Also add these features to gd_tags. tags also important for seo if i know use it.
Thanks
Thanks Stiofan, i hope this feature will complete soon
I lost too many time for add new city, because after i add new city successful, it redirect to tab manage location, i must waiting for page load complete to continue add new city.I just add about 1000 cities, it take over 30s to load complete tab manage location and when i want find any city to custom, it too hard to find city i want custom. You try imagine 1 site have 10000 or 100000 cities or more.
-
AuthorPosts