Redirection WordPress plugin manages 301 redirects and monitors 404 errors. Improve SEO with better, relevant content. Say goodbye to errors and missing pages. Skip the WordPress monitoring part for now. Focus on 301 redirections using regular expressions or regex.
Redirects Using Regular Expressions (Regex Syntax) Examples
Regular expressions are instructions and rules to make WordPress do something. In its simplest form it’s something like this. Redirect URL A to URL B.
The use of complex regex syntax redirects huge amount of URLs. Variables and wildcards come in place to identify WordPress permalink structures and redirect them.
Here are a few regex examples on the kind of Redirection regex you can use if you want to massively redirect traffic from an older permalink structure to a newer one.
Learn How To Redirect WordPress URLs and Permalinks By Real World Examples
Old permalink structure: http://yourblog.com/2005/05/12/blog-post-title/
New permalink structure: http://yourblog.com/blog-post-title/
From WordPress Admin Panel go to Tools > Redirection > Add new redirection
Fill in the appropriate fields with the following values:
Source URL: /(d*)/(d*)/(d*)/(.*)/
Target URL: /$4
(d*) is a number variable. In the case of the old permalink structure, (d*) substitutes the year (2005), the month (05) and the date (12) numbers in a URL like this: http://yourblog.com/2005/05/12/blog-post-title/
(.*) is a wildcard variable. In the case of the old permalink structure, (.*) substitutes the string (blog-post-title) in a URL like this: http://yourblog.com/2005/05/12/blog-post-title/
/$4 is the fourth variable in the row which will be used in the new perlamlink structure. In this case /$4 will read (.*) which is blog-post-title and echo it
Check Google Webmaster Tools For 404 Not Found Pages and Errors
Visit Google Webmaster Tools and check your 404s. Identify the pages and URLs that are not found by search engines and visitors. Pick a couple and work with those two only. Apply the appropriate WordPress redirects and wait. Your site’s and blog visitors will notice first. Google bot will pick up the changes soon after.
It is possible that you will need to add an extra redirection like the previous one. This time excluding the slash at the end of the URL. The new WordPress redirection will look like this:
Source URL: /(d*)/(d*)/(d*)/(.*)
Target URL: /$4
WordPress Redirections Plugin Makes The Web A Better Place
Redirecting URLs and permalinks for WordPress is essential for SEO and the web. Not only you preserve page rank and Google rankings. You make the web a better place. With more relevant and useful content. Instead of error 404 pages and random URL fillers.
WordPress is free to download and use. The Redirection Plugin for WordPress is also available for free. Google Webmaster tools is free as all. What are you waiting for?[photo]