have you looked at $_SERVER
$real_address = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
echo $real_address;
This code grabs your url with it’s parameters and saves it to the $real_address
variable
Also have a look at this link here
Related Posts:
- Woocommerce different URL for every table placed in the restaurant
- Author Specific URL’s in WordPress
- custom taxonomy and custom post type url conflict
- Rewrite url without flushing the database?
- Best way to hook a custom url?
- How to rewrite URL and get the values?
- Change language on website and change currency with url query
- Custom Rewrite Rule Removing Query String
- WordPress drop domain alias
- Creating custom URL for async content
- URL RewriteRule doesn’t work when using WP Database Participants in my WordPress website
- How To Rewrite WordPress Pages URL Only?
- How can I process all requests for a given directory in a URL with my plugin?
- Remove base from the custom post type URL [duplicate]
- WP Job Manger change jobs url (NOT slug)
- Trying to Find the PHP File/Function that Handles a Specific Form Action URL
- URL parameters causing 404 on home page, but nowhere else
- change content based on url per plugin
- How to Create a Custom Slug for Tags and Categories with a prefix or suffix?
- URL rewrite of independent plugin?
- Plugin generated taxonomies’ permalinks with custom placeholders
- Redirect to another page using contact form 7? [closed]
- Locked out of admin panel after installing HC Custom WP-Admin URL [closed]
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- Custom url rewriting
- How to customize a title by passing query string?
- WordPress plugin url for form submit
- Creating author Specific page URL
- correctness of URL
- URL rewrite with external JSON query
- How to Include Fields in Query String When Making Request of WordPress.org Plugin API?
- How do I convert my WordPress website to be domain agnostic?
- Need to change link URL embedded in multiple posts to new link URL
- How to pass a query string to another page on the same site?
- Username Variable in custom links?
- how to replace hostnames on certain external links?
- WordPress rewrite rules not working
- Scrape a webpage for image and add it to post
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?
- Change url of posts with keywords
- How to access the WordPress DB from a plugin file
- How to force load a page in plugin?
- Replace video url with video player
- How to embed a new string in url?
- i want to rewrite my custom plugin url
- rewrite file to wordpress
- Offer Download Links for Product Images
- TranslatePress | secondary language category/sub-category not working correctly “`/%category%/%postname%/“`
- Dynamic URL Rewrite for Custom
- How to hide particular plain text with link from different subscribers
- Redirect unloggedin users
- add_rewrite_rule to load different page, without changing URL in browser
- Add a parameter at the end of the url and prettify
- Hidden permalink different from displayed permalink
- insert og image link in wordpress post
- Having a problem with rewrite_rules and rewrite_tags – url not rewriting properly and query var missing
- How to create a folder in wordpress that will contain pages?
- How to generate expiring URL of the page?
- WordPress rewrite rule depend on meta values not ids
- one url for all pages
- how to include my homepage and scc in to a plugin
- How to allow URL with filename & extension in wordpress?
- How To Use htaccess to Rewrite Link Structure for a Page that is Generated Programatcially
- Having multiple URL structure for wordpress blog
- Some resources of my website are pointing to www.mysite.com/dev/ and trying to get rid of that append has been a headache
- Display plugin-generated content to override a placeholder page
- Change custom rewrite rule when permalink is updated/changed
- How do you remove question mark in URL in get method?
- How to give .html extension to just one post not all post
- URL Rewrite 404
- catch urls with specific pattern and show specific content for them by plugin
- URL Case Sensitivity (Unbounce Landing Pages)
- I am trying to rewrite urls in WordPress, but its not working
- Automatic set a featured image from the first image’s url (or tag) in the article
- WordPress website giving 404
- Infinite 301 redirects after definitions in “Redirections” plugin?
- Get custom term link archive with prefix
- Keeping original URL
- How to link file or image from wordpress plugin dir to theme by using themes function.php, is it possible?
- How to regenerate slugs for categories and tag converting non-Latin characters?
- Change default url to plugin custom post type
- Rewrite in plugin
- Custom pages with plugin
- Using permalinks with parameters
- Images not showing on homepage after migration [duplicate]
- Disable default posts (Posts,Pages,Comments and Media) in wp-admin
- Custom shortcode with dynamic rewrite
- custom url with custom post
- How to remove post redirects
- Apache rewrite rules and wordpress problem
- URL Rewriting from a Plugin based on custom values
- Unwanted Links and Spam WordPress Pages and Posts
- Display Plugin information on specific url
- Why links are not linked if edited comment?
- Plugin with custom domain
- map urls to plugins
- HTML link within my plugin settings page
- Why plugin’s icon for the menu not found?
- How can I output completely custom content with plugin while still having header, footer, sidebar etc [closed]
- Please Check this ‘.htaccess’ File