Should We Use an SEO Plugin?
This topic contains 33 replies, has 13 voices, and was last updated by Paolo 9 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: all in one seo, SEO, yoast
-
AuthorPosts
-
June 18, 2014 at 3:46 pm #4779
I think I read somewhere that GD is already search engine optimized. That being said, do we still need to use an SEO plugin? What plugin can you recommend if we do?
June 18, 2014 at 5:05 pm #4798Hi, I’d recommend this one:
https://yoast.com/wordpress/plugins/seo/June 18, 2014 at 7:24 pm #4841Yes GD is SEO optimized as far as markup, url structures and many other things.
To manipulate individual page metas, sitemaps and other specific SEO tasks, it is recommended to use a plugin like the one suggested by pix3x.
Thx
June 18, 2014 at 10:52 pm #4906Direct link to WP SEO plugin recommended by pix3x: http://wordpress.org/plugins/wordpress-seo/
It works fine with GD.July 29, 2014 at 11:30 am #10200one question: using SEO for WordPress (yoast), how do I include the city name in the listings title? I tried 100 different things but nothing worked.
I did manage to get the category name in the title by using %%ct_gd_placecategory%%July 30, 2014 at 12:27 am #10307Hello Everyone,
May I ask GD users out there that are familiar with Yoast to provide details (or screenshots) on how to properly configure it on a GD site? Should we use the free or premium Yoast version?
July 31, 2014 at 7:26 am #10500Free version should do. I tried to make it work and countered a thread that might be the right way to go, but my programming skills are too low to make it work. Maybe someone else over here could have a quick look at it:
Thread: http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-tags-for-custom-taxonomies
Code from thread: http://pastebin.com/SSgCDrexI think some code has to be added in functions.php that sets the fields like city, region, country from the table geodir_post_locations as a variable to be used by the SEO plugin (e.g. %%city%%).
Sidenote:
The SEO strength of GD is very high compared to competitors as the categories are offered on a location level e.g. accountants in New York. SEO-wise, the title is one of the strongest on-page assets and not being able to modify that would make it:
1. useless
2. generate loads of duplicate page titles & descriptions (as location is not included to differentiate between the different locations)August 6, 2014 at 7:07 pm #11200Hi bonzoren
i have used this function which is provided in yoast seo plugin files to register extra variables. i used geodirectory_get_current_location_terms function to get current location and register this value to
%%current_location%%
variable which you can use to add location in title tag with the help of seo plugin. here is the function, copy it to theme functions (functions.php) file.
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' ); wpseo_register_var_replacement( '%%in%%', 'in', 'advanced', 'Use this for in word before location' ); } add_action( 'wpseo_register_extra_replacements', 'register_my_plugin_extra_replacements' ); ?>
August 6, 2014 at 7:11 pm #11201remove this line from the function i provided
wpseo_register_var_replacement( '%%in%%', 'in', 'advanced', 'Use this for in word before location' ); }
August 8, 2014 at 11:14 pm #11435I’ve tried using the code provided my Manish, but as far as I can tell the
geodirectory_get_current_location_terms
function is no longer used, just provides an empty array.
I’ve changed Manish’s function to pull the location info from the post data instead, just add the following code to functions.php in your child theme.
Don’t forget to add
%%current_location%%
to the relevant post types in Yoast’s Settings.
In the code below, I’ve disabled the country location, just uncomment if you want to show countries in the title tags.
// Add location info to yoast titles function retrieve_var1_replacement( $var1 ) { global $post; if ($post->post_city) { $city = $post->post_city; } if ($post->post_region) { $region = $post->post_region; } if ($post->post_country) { $country = $post->post_country; } if (isset($city) && !empty($city)) { $location = $city . " - "; } if (isset($region) && !empty($region)) { $location .= $region; } // if (isset($country) && !empty($country)) { // $location .= " - " . $country; // } return $location; } function geodir_add_dyn_yoast_title_tags() { wpseo_register_var_replacement( '%%current_location%%', 'retrieve_var1_replacement', 'advanced', 'Adds location to title tags' ); } add_action( 'wpseo_register_extra_replacements', 'geodir_add_dyn_yoast_title_tags' );
August 9, 2014 at 6:12 am #11465Hi vertuscraig
I am beginner to programming and have a very few knowledge of wordpress hooks and actions. i used that
geodir_get_current_location_terms()
function and that is working. the function you provide working great. i want a help from you.
“5 star Hotels in Goa”
I want this type of title and heading format [ category title (5 star) custom post type (hotels) in location (Goa) ]
I used
%%term_title%% %%pt_plural%% %%current_location%%
for titles and it works. can you suggest me how to get this format for h1 headings in category archives
August 11, 2014 at 1:37 pm #11649Great tip. Thanks a lot
August 11, 2014 at 4:32 pm #11657love you all – worked like a charm
August 12, 2014 at 6:36 am #11710Hi to all,
If you want to SEO for Place category archives then read this what i have tested in local xampp with Yoast SEO plugin for places category archives
I have import dummy data and added three locations (Jaipur, Jodhpur, Udaipur) with multilocation plugin and add some more listings to these locations in hotels category.
now i closed the browser and reopen the browser and entered this url
http://127.0.0.1/wordpress/places/india/rajasthan/jaipur/hotels/
But it was showing the listings for Hotels category for all three locations which is the result of this url
http://127.0.0.1/wordpress/places/hotels/
now i saw the sitemap of
gd_placescategory-sitemap.xml
created with yoast
it was as followed
URL Prio Images Ch. Freq. Last Mod. http://127.0.0.1/wordpress/places/attractions/ 60% 0 Weekly 2014-08-11 05:16 http://127.0.0.1/wordpress/places/feature/ 40% 0 Weekly 2014-07-25 03:41 http://127.0.0.1/wordpress/places/festival/ 20% 0 Weekly 2014-08-12 06:07 http://127.0.0.1/wordpress/places/hotels/ 20% 0 Weekly 2014-08-12 02:13 http://127.0.0.1/wordpress/places/restaurants/
sitemap was not indexing the category archives for specific loactions
http://127.0.0.1/wordpress/places/india/rajasthan/jaipur/hotels/
Now see the shocking part
i visited the jaipur location page
http://127.0.0.1/wordpress/location/india/rajasthan/jaipur
Now the result for both url
http://127.0.0.1/wordpress/places/india/rajasthan/jaipur/hotels/
and
http://127.0.0.1/wordpress/places/hotels/
was same and now both of these pages showing the hotels for Jaipur location
and now the sitemap was changed and it is like this
http://127.0.0.1/wordpress/places/india/rajasthan/jaipur/attractions/ 60% 0 Weekly 2014-08-11 05:16 http://127.0.0.1/wordpress/places/india/rajasthan/jaipur/feature/ 40% 0 Weekly 2014-07-25 03:41 http://127.0.0.1/wordpress/places/india/rajasthan/jaipur/festival/ 20% 0 Weekly 2014-08-12 06:04 http://127.0.0.1/wordpress/places/india/rajasthan/jaipur/hotels/ 20% 0 Weekly 2014-08-12 02:13 http://127.0.0.1/wordpress/places/india/rajasthan/jaipur/restaurants/
I want to know the effect of all this on SEO perspective. I think it impacts negative on SEO. anyone have idea
August 12, 2014 at 6:48 am #11713google index the page which is linked somewhere. i have read it somewhere.
google index this page
example.com/places/hotels/
provided in sitemap
and in
example.com/location/india/rajasthan/jaipur/
page this page is linked
example.com/places/india/rajasthan/jaipur/hotels/
if google index this, find the duplicate content of
example.com/places/hotels/
Please explain it if anyone has an idea
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket