Custom URL Parameter fail when using Static Page as Front Page
-
I’ve written a plugin which display dynamic content onto post and page by detecting tags in the content. I then use use add_filter() for ‘query_vars’ to add custom URL parameters to allow changing the dynamic content as per visitors needs.
The page/post works perfectly when linked to from anyway else. But the custom URL parameters fail when I put that page as Front Page.
Say my static page is at -> https://www.example.com/wordpress/mypage/
added custom query -> https://www.example.com/wordpress/mypage/?custom=xNow with that page set to Front Page, it became
-> https://www.example.com/wordpress/ (works well)
and ->www.example.com/wordpress/?custom=x (will show the lastest post instead of the static page)Any idea?
- The topic ‘Custom URL Parameter fail when using Static Page as Front Page’ is closed to new replies.