We'll create fresh WordPress site with WP Avertere installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin allows you to easily set up redirections from the URL of any post, page or other post type on your WordPress site to another URL, either on your site or external to your site. Redirections can either be permanent (HTTP 301) or temporary (HTTP 302) and can easily be changed or deleted entirely.
Settings and options include:
In addition to setting up a redirect, the plugin replaces the original post’s or page’s permalink with the redirected permalink or external URL; when you hover your mouse pointer over a redirected permalink you will see the new permalink or external URL not the original.
Once installed and activated, the plugin adds a Redirect This Post/Page/etc meta box to the admin Edit Post/Page. Simply create a new post, or edit an existing one, add the URL you want to redirect to (copying and pasting is a good idea here to ensure there’s no typing errors), choose whether the redirection is permanent or temporary, click on the Check URL button to ensure your URL is well formed and save the post. You’re done.
While the main use of the plugin is to redirect posts and pages, you can also use it to:
functions.php
./plugins
and then redirect that page to /tags/plugins
.WP Avertere supports a single filter, wp_avertere_protocols
that allows you to change the set of acceptable URL protocols that WordPress and the plugin permits.
Example: Add support for GitHub repositories to the plugin.
add_filter ('wp_avertere_protocols', 'add_github_protocol');
function add_github_protocol ($protocols) {
// protocols = array ('name', 'name', ...)
$protocols[] = 'git';
return $protocols;
}