• kristarella had a very helpful .htaccess rule for changing the &name= portion of the Aweber query string (WordPress blocks it because “name” is a reserved word).

    Her forum reply is here.

    The .htaccess rule looks like this:

    RewriteCond %{QUERY_STRING} (.+?)&name=(.+)
    RewriteRule ^page-name/ /page-name/?%1&fullname=%2 [R,NC,L]

    And I’ve made sure I put it between

    RewriteEngine On
    and
    RewriteBase /

    But I think it may not be working because my page is a sub-page and so when I do this:

    RewriteRule ^gifts/thanks/ /gifts/thanks/?%1&fullname=%2 [R,NC,L]

    I have a feeling those forward slashes aren’t right. I’ve tried various combinations, but it’s not working. Or is there some other issue I’m not seeing?

Viewing 1 replies (of 1 total)
  • Thread Starter bravenewniche

    (@bravenewniche)

    Still don’t have the mod_rewrite working, but for my purposes I don’t need the name variable anyway, so I went with this solution:

    Add this line

    unset($_GET[‘name’]);

    to your wp_config.php file.

    Found that solution here.

Viewing 1 replies (of 1 total)
  • The topic ‘Passing Aweber variables to a WordPress page’ is closed to new replies.