Better Answer:
session_start(); $lead = $_GET['lead']; $_SESSION['lead'] = $lead;
Then, create an additional field on the form, with the input hidden. For the value, I would echo out the $_SESSION, with a name that is easy to grab (lead works). then, wherever the form is processed, just add a line to grab the lead, and do with it what you want. –
Related Posts:
- Changing WordPress blog name and web address
- Two (or more) parallel (sub-)TLDs that are retained when surfing the site / dynamically set the site address?
- Rewrite default post type
- redirect 301 old url to new url
- append url parameters to all links
- How to rewrite url wordpress?
- Mobile version issue when domain forwarding with masking
- Rewrite custom post type URL parameters
- How to achieve my custom post url structure?
- wordpress url correction
- Redirect htaccess [closed]
- Replace “http://localhost:8888/” by website URL in WordPress
- Two sets of url one content?
- change the url in wordpress
- Get logged in username in wordpress url
- URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation
- how to move another machine or server without dealing with IP
- loading images, css and fonts from site url
- Redirect to new domain that serves new and different content
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- WP returns to domain root instead of siteurl
- Append a parametter at first or last to a certain URL
- How to pass username in url
- How do I rewrite URL that has custom parameter
- Homepage cannot be found
- Get parameters and custom page template
- Custom URL segment parameters for posts
- Error 404 wordpress redirecting URL
- How to retrive previous Domain URL in Wp
- How to create short urls for sharing and downloadable content?
- Lost WordPress website access after changing URL [closed]
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?
- How to add custom rewrite rule to .htaccess?
- Problem with add_rewrite_rule and pagination (paged and page query_vars)
- Detect page type by url (Archive, single, page, author,…)
- How to show the same content on multiple URLs?
- How to seamlessly redirect between different archive and singular slugs?
- Overwrite rewrite-slug of built in post-type ‘post’
- Why does wordpress still strip my query var?
- When to call `add_rewrite_rule` for safety
- Rewrite Rule for Post “Subpage”, with pagination
- Remove child category from URL
- Change WordPress comments url / word
- Cache issues with redis and nginx
- Rewrite WordPress Custom URL
- WordPress removes spaces in URL on pagination
- add_rewrite_rule not working for language specific characters
- Custom rewrite rule
- Flush Rewrite Rules on init or rest_api_init?
- URL endpoint with HTML
- How to properly rewrite url by custom var
- How to use URL structure to call PHP code
- Can I have /blog and /foo and /bar all point to the same blog?
- Monkey Man Rewrite Analyzer says my rule will trigger but it doesn’t [closed]
- Append a value to a certain page’s URL before page load
- add_rewrite_rule is redirecting instead of rewriting url
- Add language prefix to permalinks
- Custom Rewrite rule to captured post (rewrite rule to rewrite rule)
- Attachment page gives 404 if user not logged
- Rewrites: .htaccess or wp_rewrite for bulk 301 changes?
- How to pass url as a parameter in a add_rewrite_rule
- Per Page Permalink Structure for Page Post Type
- Customise particular RSS permalink
- Removing “www” from a site URL
- How to create custom search result page with custom URL parameters for custom post type?
- Custom rewrite rule not working
- WP Rewrite for a custom variable
- Creating a folder structure
- How to Detect That WP is Using Mod Rewrite or $_GET variables?
- How can I allow trailing slashes on some URLs without a redirect, but not on others?
- Can’t use a specific custom URL (slug)?
- Adding the amp url prefix to the beginning
- How to change search page url so that it still returns a page when there’s no search query specified?
- Custom taxonomy named ‘tag’ return 404 page
- How to redirect to a login virtual page?
- Multiple permalink with and without category for same post
- Custom Params in URL
- Implementing geotargeting while using a single database
- append current user-id to all internal permalinks
- Url rewrite, add rule, redirect as POST request?
- Broken page redirect
- Add query arg for pretty permalinks in wordpress way
- How to add 2 variable rewrite rule?
- Get custom posts by segment of the URL
- Add ReWrite from Old Pages to WordPress (remove .php)
- Use Parent Pages for URL Structure without Landing Page
- add_rewrite Rule
- How to show my application as referral in WordPress Stats
- Fully mask *all* traces of WordPress installation subdirectory?
- Appending parameters to WordPress query string in backend
- rewrite rule of post when accessed from archives pages
- Redirect A URL Pattern In WordPress Using .htaccess
- Help to cleanup this code
- How to make a custom route with any-string-part/number-part pointing to an existing page?
- username in rewritten URL, howto use it in a template
- Rewwrite rule for mapping plugin static file
- Listing Authors – URL Formats [duplicate]
- wordpress url rewrite Query Var to Static url
- Rewrite rule to simulate page hierarchy results in 404
- add_rewrite_rule not working with custom variables