🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
URL Params icon
gepflegt Getestet bis 7.0.9 #2 in query string

URL Params

Short Code to grab any URL parameter from the Query String and display it or display conditional content.

Aktive Installationen7K+5K + Stufe
Downloads · 30d926▲ +1.2% vs prev. 30d
Wertung5/537 reviews
Gesundheits-Score78/100Gut
Downloads aller Zeiten106.2KSince Jun 2011
Unterstützung gelöst1 / 1100% in den letzten 2 Monaten
erfordertWP 3.0PHP ANY
Downloads · 7d273▲ +15.7% week over week
Unser Urteil

Solide Wahl

URL Params is a solid plugin choice in 2026, with a few things worth checking first. It runs on 7K+ sites, is rated 5/5 and was last updated 5 months ago, and scores 78/100 on our health check.

  • Von Benutzern geliebt — 5/5 aus 37 Bewertungen

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

132639Aug 31Oct 14Nov 28
Gestern31
Täglicher Durchschnitt (1 Jahr)18
Spitzentag53Nov 27, 2026
Letzte 12 Monate6.6K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where URL Params stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
query string #7 4,333 Best query string plugins →
URL #2 10,000 Beste URL-Plugins →
url parameters #1 5,534 Best url parameters plugins →
url params #1 733 Best url params plugins →
urlparam #1 7 Best urlparam plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 2.587.8%
  • Andere12.2%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 37 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About URL Params

From the official readme · v2.5

Beschreibung

The URL Params WordPress Plugin allows you to access URL parameters in the Query String of the URL.

The plugin even allows you to specify a default value in the shortcode if the parameter isn’t set, so if you want to say “Hello, FirstName” and FirstName isn’t set, it could say something like “Hello, Friend!”

To specify a backup url parameter, enter multiple parameters seperated by commas. The plugin will check for each parameter, in order, until a matching one is found and return that. Failing finding any of the parameters you listed, the default will be returned. For example, you can specify [urlparam param="FirstName, First, name" default="Friend" /] to check for FirstName, and if not found, then First, if not found, then name, and if not, then just return “Friend”.

If the parameter is a date, you can also specify the dateformat option using a PHP friendly date format, for example [urlparam param="somedate" dateformat="F Js" /]. Note that PHP only returns dates formatted in English regardless of locale settings.

This is great if you have personalized links, like from Infusionsoft or Keap, as it lets you personalize a landing page with a persons name.

You can also use this to pre-fill out form fields for folks based on the querystring. For example, if their first name is passed in the URL, your landing page can greet the viewer by name and pre-fill their name on a form.

Verwendung

Use the shortcode urlparam with the optional parameter of “default”. For example [urlparam param="FirstName" /] or [urlparam param="FirstName" default="Friend"/].

For conditional content use [ifurlparam][/ifurlparam]. For example, [ifurlparam param="FirstName"]Hey, I know you, [urlparam param="FirstName"]![/ifurlparam] would greet known visitors, but display nothing to users without a FirstName in the query string.

If you want to show content when a value does NOT exist, you can set empty in [ifurlparam]. For example [ifurlparam param="FirstName" empty="1"]Welcome to the site, visitor![/ifurlparam] would greet visitors without a FirstName in the query string, but display nothing for visitors with FirstName in the query string.

If you want to show content only to visitors with a specific value in their query string, you can set is in [ifurlparam]. For example, [ifurlparam param="FirstName" is="Bob"]Hi, Bob![/ifurlparam], would only greet visitors with the FirstName param set to Bob.

If you want to have urlparam return an HTML attribute, for example to use in pre-setting the value of input or hidden input fields, pass in the optional attr parameter. You might set a value attribute for an input field like so: <input type="text" name="firstname" [urlparam attr="value" param='FirstName']> or you might set a src attribute for an image tag like so: <img [urlparam attr="src" param='imgurl']>

If you want urlparam to return an entire HTML tag, for example in creating an input field, pass in the optional htmltag parameter. For example, [urlparam htmltag="input" type="text" name="firstname" id="first" attr="value" param="FirstName" default="Bob" /] will produce something like <input type="text" name="firstname" id="first" value="Bob" />

Sicherheit

To help protect your site against Reflected Cross Site Scripting, we sanitize output with esc_html() which prevents any HTML tags from being passed in and displayed. This would prevent someone from passing in javascript, for example, and having it execute on your site.

Starting in the WordPress 4.2.3 security auto-update, you can no longer include shortcodes in HTML attributes. Previous to this WordPress update, you could set a field value like this: <input type="text" name="firstname" value="[urlparam param='FirstName']">. Now you have to set it like this: <input type="text" name="firstname" [urlparam attr="value" param='FirstName']> or [urlparam htmltag="input" type="text" name="firstname" attr="value" param="FirstName" /]. If you are still using this shortcode the old way, unfortunately, WordPress simply won’t process the shortcode and will return the full shortcode text unprocessed.

To prevent unprivileged users (like Contributors) from using this shortcode to have privileged users (like Admins) accidentally execute arbitrary javascript via HTML attributes (like onclick, onmouseover, etc), html tags and attributes are sanitized.

If you do need have a need to set certain sanitized tags or attributes, at your own risk, you can manually allow these from the URL Params options page under Settings.

Installation

To install the plugin, download the zip file and upload via the plugin interface of your WordPress site.

Änderungsprotokoll

  • 2.5: Released 4/20/2023 Security update to sanitize keys, attributes, and output tags. Added options page for custom tags and attributes. Special thanks to the Security Research team @ Automattic for the responsible disclosure and testing!
  • 2.4: Released 3/1/2023. Security update to patch against setting javascript event attributes (like onclick, onmouseover, etc)
  • 2.3: Released 1/21/2022. Bumped Tested Version to WordPress 5.8.3
  • 2.2: Released 6/27/2019. Bumped Tested Version to WordPress 5.2.2
  • 2.1: Released 8/19/2015. Patched to make backwards compatible with PHP <5.3 where anonymous functions aren’t yet supported.
  • 2.0: Released 8/12/2015. Allow for the htmltag attribute to be passed which will return a full HTML tag with optional content inside of the tag, too.
  • 1.8: Released 8/5/2015. Allowed for the attr attribute to be passed. This helps fix the backwards incompatible shortcode processing bugs introduced by WordPress 4.2.3
  • 1.7: Released 7/2/2014. Changed escaping via htmlspecialchars() to esc_html() and removed option to allow not escaping HTML
  • 1.6: Released 7/1/2014. Security update to patch against Reflected Cross Site Scripting.
  • 1.5: Nudge. WordPress didn’t pick up this latest trunk version on commit. Will remove this comment in the future.
  • 1.5: Released 12/13/2013. Added support for conditional content via ifurlparam shortcode
  • 0.4: Released 7/11/2011. Added support for date formatting via the dateformat option
  • 0.3: Released 6/25/2011. Added support for alternative parameters, i.e. param=”FirstName, First, name”

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best URL Params alternatives

All query string plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 WP Performance Score Booster – Optimize Speed, Enable Cache & Page Preload WP Performance Score Booster Make website faster, speed up page load time and improve performance scores in tools like… by Dipak Gajjar 10K+ ★★★★★★★★★★ 4.6 (339) Vor 3 Monaten 78
3 WP Version in Query String Modifier WP Version in Query String Modifier Removes or modifies the version (query string 'ver' parameter) in media resources' url. by joesat 100+ ★★★★★★★★★★ 5 (4) Vor 10 Jahren 32
4 Iframe plus GET Parameters Iframe plus GET Parameters Passes GET parameters to iframes. by Tron 10+ ★★★★★★★★★★ Keine Bewertungen Vor 4 Jahren 23
5 Multi-Page Campaign Tracking Multi-Page Campaign Tracking Persist query string parameters across page visits for tracking and analytics purposes. by Medium Interactive <10 ★★★★★★★★★★ Keine Bewertungen Vor 3 Monaten 60

Fragen und Antworten

URL Params: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is URL Params free?

Yes. URL Params is free to download and use from the official WordPress.org plugin directory.

Is URL Params safe to use in 2026?

URL Params is a solid plugin choice in 2026, with a few things worth checking first. It runs on 7K+ sites, is rated 5/5 and was last updated 5 months ago, and scores 78/100 on our health check.

How many websites use URL Params?

URL Params is active on 7K+ WordPress websites and has been downloaded 106,191 times since it launched in June 2011. It was downloaded 926 times in the last 30 days.

Does URL Params work with WordPress 7.1?

URL Params is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was URL Params last updated?

The latest version, 2.5, was released on June 29, 2026 (5 months ago).

Who makes URL Params?

URL Params is developed and maintained by Jeremy B. Shapiro.

What are the best alternatives to URL Params?

The most popular alternatives to URL Params are WP Performance Score Booster (10K+ installs), WP Version in Query String… (100+ installs) and Iframe plus GET Parameters (10+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen