remove_action(‘wp_head’ ‘rel_canonical’) not working

Posted: March 31, 2014 in web

on my case, there was a plugin called ‘another-wordpress-classified-plug’ that sets it.

Did a global search for ”wp_head’, ‘rel_canonical’.

Commented the code below. on a file called awpcp.php

		remove_action('wp_head', 'rel_canonical');
		//add_action('wp_head', 'awpcp_rel_canonical');
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s