Tag Info

New answers tagged

0

Use the wpseo_canonical hook to filter the url. add_filter('wpseo_canonical', 'wpse154530_wpseo_canonical' ); function wpse154530_wpseo_canonical( $url ) { $page = 'thepage'; $param = 'param'; if( is_page($page) && isset($_REQUEST[$param]) && '' != $_REQUEST[$param] ) { $url = add_query_arg($param, $_REQUEST[$param], ...


1

Just look to plugin... There is a hook filter for replacements wpseo_replacements, so code can look something like this... add_filter('wpseo_replacements', 'city_wpseo_replacements'); function city_wpseo_replacements($vars){ $vars['%%city%%'] = 'some city'; return $vars; }


0

You just need to install this Plugin and all your headache is gone Just Add the Description,Title & Keywords for your pages. That's it


0

For WordPress SEO by Yoast, it's actually is defined in a different place. From the admin menu SEO > Title & Metas Then choose the Home tab Make your changes here, and it'll work as you're expected.


0

I still don't know why you're trying to pass the item property through the head tag. I have a gut feeling you're trying to tell Google abut a particular item. For example: itemprop is brown_shoes itemprop is red_hat In each of these cases, you want Google to know that you sell brown shoes or a red hat. This would be better suited if you created a ...



Top 50 recent answers are included