AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta descriptions, XML sitem...
Simple shortcodes that output essential WordPress URLs inside posts, pages and widgets.
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
Where it falls short
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.
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.
[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.
path — appended to the URL. Works on every shortcode except `[login_url]`, `[logout_url]` and `[current_url]`.
Other plugins for managing URLs.
AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta descriptions, XML sitem...
Manage 301 & 302 redirects. Simple redirection & redirects validation. Includes redirect stats & 4...
Redirect to any page or URL, execute scripts after submission, save data to the database, and unlock additiona...
Permalink Manager enhances WordPress’s built-in URL system, allowing you to change the URLs of native and cust...
Lifetime SSL solution - Free SSL certificate & HTTPS redirect, fix insecure site / SSL errors, Security he...
Manage 301 redirects, track 404 errors, and improve your site. No knowledge of Apache or Nginx required.