WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Vikas Sharma v4.1.0

Basic URL ShortCodes

Simple shortcodes that output essential WordPress URLs inside posts, pages and widgets.

Basic URL ShortCodes

The facts

Rating
5★ from 2
Active installs
4k+
Price
Free
Last updated
19 Aug 2026
Added
Jul 2017
Requires WP
4.0
Tested up to
WP 7.0.4
Requires PHP
7.0
Downloads
15,243

Our analysis

AI-assisted

Basic URL ShortCodes is a WordPress plugin that allows you to insert various important URLs directly into your content using shortcodes. It supports different URLs such as the home URL, site URL, theme URL, and uploads directory, among others. Each shortcode can accept an optional path attribute to create a complete URL, and the output is automatically escaped for security.

This plugin is suitable for users who need to display dynamic URLs within their posts, pages, or widgets without manually entering them. It can be particularly useful for developers or site administrators managing WordPress installations in sub-directories or using child themes.

Best for: This plugin suits WordPress users who need to display various URLs dynamically in their content.

What it does well

  • Inserts important WordPress URLs using simple shortcodes
  • Supports child themes and returns the correct URLs
  • Output is escaped for security
  • Free to use from the WordPress.org directory
  • Active installation count of 4,000

Where it falls short

  • Limited to predefined shortcodes for URL insertion
  • No additional features or customisation options mentioned

Verdict

Basic URL ShortCodes provides a straightforward way to manage and display essential URLs within WordPress content. It is a useful tool for those looking to simplify URL management.

From the developer

Vikas Sharma's own description of Basic URL ShortCodes, lightly tidied.

Sometimes you need to display your website’s base URL, active theme URL or uploads folder URL directly inside your content editor.

Basic URL Shortcodes lets you insert important WordPress URLs using simple shortcodes inside posts, pages and widgets. Every shortcode accepts an optional path attribute so you can build a full URL in one go, and the output is escaped for you.

Available Shortcodes

[home_url]
The website’s home URL, as set in WordPress Settings.
Example: http://localhost/wp-demo

[site_url]
The URL where WordPress itself is installed. This differs from [home_url] when WordPress lives in a sub-directory.
Example: http://localhost/wp-demo/wp

[theme_url_template]
The URL of the currently active theme. Child themes are supported and return the child directory.
Example: http://localhost/wp-demo/wp-content/themes/mytheme

[parent_theme_url]
The URL of the parent theme, even when a child theme is active.
Example: http://localhost/wp-demo/wp-content/themes/parenttheme

[UPLOAD_URL] (also available as [upload_url])
The base URL of the WordPress uploads directory.
Example: http://localhost/wp-demo/wp-content/uploads

[content_url]
The URL of the wp-content directory.

[plugins_url]
The URL of the plugins directory.

[admin_url]
The URL of the WordPress admin area.
Example: [admin_url path="options-general.php"]

[rest_url]
The base URL of the REST API.
Example: [rest_url path="wp/v2/posts"]

[login_url] and [logout_url]
Login and logout URLs, with an optional redirect attribute.
Example: [login_url redirect="http://localhost/wp-demo/account"]

[current_url]
The full URL of the page currently being viewed, query string included.

Attributes

path — appended to the URL. Works on every shortcode except `[login_url]`, `[logout_url]` and `[current_url]`.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for managing URLs.

All in One SEO

AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta descriptions, XML sitem...

Free 2M+ installs 4.7★ (5,201)
301 Redirects

Manage 301 & 302 redirects. Simple redirection & redirects validation. Includes redirect stats & 4...

Free 300k+ installs 4.7★ (578)
Redirection for Contact Form 7

Redirect to any page or URL, execute scripts after submission, save data to the database, and unlock additiona...

Free 200k+ installs 4.7★ (275)
Permalink Manager Lite

Permalink Manager enhances WordPress’s built-in URL system, allowing you to change the URLs of native and cust...

Free 100k+ installs 4.8★ (176)
WP Encryption

Lifetime SSL solution - Free SSL certificate & HTTPS redirect, fix insecure site / SSL errors, Security he...

Free 50k+ installs 4.9★ (1,143)
Redirection

Manage 301 redirects, track 404 errors, and improve your site. No knowledge of Apache or Nginx required.

Free 2M+ installs 4.4★ (703)