| bio | website | martin-gardner.co.uk |
|---|---|---|
| location | Scotland, United Kingdom | |
| age | 35 | |
| visits | member for | 2 years, 7 months |
| seen | Apr 26 at 13:19 | |
| stats | profile views | 4 |
|
Oct 29 |
comment |
Custom rewrite rule is not picked by Wordpress Thats excellent :) well done, now onto the next feature/problem :P |
|
Oct 28 |
comment |
Custom rewrite rule is not picked by Wordpress when you add this code, are you flushing your permalinks? ie, go to settings->permalinks and change them a few times, then after 3 changes, set it back to postname, and save, then try again, Ive seen this happen a few times. |
|
Oct 28 |
comment |
Custom rewrite rule is not picked by Wordpress I dont sorry. have you tested to see if 1 param is working, ie: take out the 2nd param, and test that, once thats working Id try to get the 2nd working. Marty |
|
Oct 28 |
comment |
Custom rewrite rule is not picked by Wordpress yes, destination is the top level page, state & state_destination are the queries used on this page, so if you use a custom template on the page='destination' write a small piece of code to check and see if its being picked up.. ie: visit yoursite.com/destination/?state=whatever&state_destination=somethingelse you should (if your permalinks are set to /%postname%/) see your url change to /destination/state/state-destination/ then in your code use something like: if(isset($_GET('state')){ echo $_GET['state']; } this should print out the query var passed to that page. |