Hi, i have a form where i'm trying to append variables to the url. i've found that the following method works on most sites, but it seems since i'm using wordpress i get different results than i want:
<FORM METHOD="LINK" ACTION="?page_id=40"> Lightbox name: <INPUT TYPE="text" NAME="newLB"> <INPUT TYPE="submit" VALUE="Create"> </FORM>
the action, whether absolute or not, should append the above variable to the page url. this does in fact happen, but instead of reloading the page i want (in this case, page id 40) it redirects to the home page and appends the variables to that url.
i have tried using
<?php echo the_permalink(); ?> and it still does the same thing, redirects to the home page.
i suppose i could add a "redirect_to" variable to the homepage that would send me back to page 40, but that is slow on the server and seems ridiculous to me.
isn't there some way i can keep wordpress from sending me back to the index page, when i am clearly asking for the varibles to be appended to a different url?