Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Basic URL ShortCodes icon

Basic URL ShortCodes

v4.1.1
by Vikas Sharma · 5.0 (2 reviews)

BASIC URL ShortCodes plugin support for a basic short codes to use in your post/page editor that produce correct absolute URLs.

4K+ active installs Updated Nov 02, 2026 Tested to 7.1.5 Requires PHP 7.0
Try Demo Download
Pre-installed Ready in ~10s No card

About Basic URL ShortCodes

This plugin allows you to easily insert the base URL of your blog or the URL of the active template in your content editor. You can also use a shortcode to output the URL of the upload folder. The plugin is licensed under GPLv3.

Screenshots

Basic URL ShortCodes screenshot
Basic URL ShortCodes screenshot

Changelog

4.1.1

  • Fixed [logout_url esc="raw"] outputting & instead of &, which broke the logout link when used from JavaScript.
  • Raised the minimum WordPress version to 4.4, required by [rest_url] and [current_url].
  • Tested up to WordPress 7.1.

4.1.0

  • Added [site_url], [parent_theme_url], [content_url], [plugins_url], [admin_url], [rest_url], [login_url], [logout_url] and [current_url].
  • Added a path attribute to every URL shortcode, with off-site values rejected.
  • Added an esc attribute for raw (non HTML-encoded) output.
  • Added [upload_url] as a lower-case alias of [UPLOAD_URL].
  • Added burl_ prefixed aliases for every shortcode.
  • Shortcodes are no longer registered if another plugin already owns the tag.
  • Shortcodes now run inside classic text widgets, as the description claimed.
  • Fixed the uploads URL not detecting a wp_upload_dir() error.
  • Added the missing licence, text domain and PHP requirement headers.
  • Renamed internal functions to a ro_burl_ prefix and removed the closing PHP tag.

4.0.2

  • Maintenance release.

Try other plugins

One Click Demo Import icon

One Click Demo Import

4.3 · 1M+ installs

Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple theme demo import…