Query vars get me a 404 (1 post)

  1. coopersita
    Posted 3 years ago #

    I'm trying to pass some variables to a page via the URL:


    But sometimes I get a 404. Not all the times, just with some values.

    I tried using this:

    add_filter('query_vars', 'cc_add_my_var');
    function cc_add_my_var($public_query_vars) {
    	array_push($public_query_vars, 'key1', 'key2', 'key3');
    	return $public_query_vars;

    But nothing. It think that it's a rewrite issue, but I'm not sure what to do now.

Topic Closed

This topic has been closed to new replies.

About this Topic