Viewing 4 replies - 1 through 4 (of 4 total)
  • Josh Davis

    (@maxxsnake)

    Would like to know the same. Seemingly, :

    add_filter('wpseo_whitelist_permalink_vars', 'whitelist_yoasts_redirect'));
    function whitelist_yoasts_redirect($whitelisted_extravars) {
    	$whitelisted_extravars = array('my_query_var');
    	return $whitelisted_extravars;
    }

    However, no luck.

    Josh Davis

    (@maxxsnake)

    I don’t know if it’s improper usage or the plugin, but making the following change to class-frontend.php makes the filter I previously mentioned work properly for me. The commented line is the existing plugin code and the line below it the adjustment which makes it work properly for me.

    foreach ( $whitelisted_extravars as $get ) {
    	//if ( isset( $_GET[trim( $get )] ) ) {
    	if ( get_query_var( trim( $get ) ) ) {
    		$properurl = '';
    	}
    }
    Thread Starter Ligo George

    (@lijoppans)

    Is there any problem by using this…….?

    Thread Starter Ligo George

    (@lijoppans)

    Is it able to disable WordPress SEO for a particular page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘URL Rewriting Plugin Conflict’ is closed to new replies.