• So if I disable permalinks everything works fine. But I would rather have permalink enabled. Basically I enable permalinks with this structure, /%category%/%postname%

    It creates my .htaccess file and this is it;

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    And then when I try to call $_GET or $_POST after I submit a form;

    if ($_GET['numofpost']) {
    	$showpost = $_GET['numofpost'];
    }else{
    	$showpost = 6;
    }

    it’s empty

    Also if I do a var_dump($_GET), its empty
    Is something wrong with my .htaccess file?
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, did you find a solution to this problem? When I use custom permalink structures my form “method=post” no longer works. However, get continues to work.

    Having the same problem after upgrading from version 2.9.2 to 3.0…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘permalink cause $_GET and $_POST to not work’ is closed to new replies.