Entry Point url Code issues
-
we get some different entry point urls like these:
https://www.example.com/?w3tc_minify=6df94.css https://www.example.com/wp-json/contact-form-7/v1/contact-forms/18137/feedback/schema https://www.example.com/?w3tc_minify=a5ff7.css https://www.example.com/about:blank https://www.example.com/wp-json/contact-form-7/v1/contact-forms/12351/feedback/schema https://www.example.com/wp-json/contact-form-7/v1/contact-forms/20636/feedback/schema https://www.example.com/?w3tc_minify=7a10f.css https://www.example.com/?w3tc_minify=4c431.css https://www.example.com/?p=52559
we should get a url of the particular page from which they have entered and not the above urls, we get this rarely but still want to fix it.
We have implemented the following code to get entry point url for form fill:
if(isset($_SESSION['entry_point'])){ $entry_point = $_SESSION['entry_point']; }else{ $pageURL = home_url($_SERVER['REQUEST_URI']); $entry_point = $pageURL; $_SESSION['entry_point'] = $entry_point; }
- This topic was modified 2 years, 4 months ago by . Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Entry Point url Code issues’ is closed to new replies.