how to wordpress broken url redirect to your new urls

Tody i tell you how to broken urls to your new url to redirect if you move your website from one location to another if you don’t know what to do with your links. Just recently we talked about how you can update your URLs using the Velvet Blues Plugin for WordPress. But what if people try to access a page on your site through your old URL? Today we are going to show you how to redirect broken URLs to your new URL. The best part about is that you don’t have to know anything about your .htaccess file. Redirection is a WordPress plugin that manages 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. First thing you need to do is install and activate Redirection Plugin for WordPress. Upon activation go to “tools” and click on “redirection”. This will open a screen that will allow you to input your old URL (source) and new URL (target). For beginners, this simple screen can look confusing. Let us explain. The match drop down has a few options. URL only, URL and referrer, URL and useragent, and URL and login status. In most cases, you want to use URL and referrer. Mainly because if you are seeing a number of 404 requests for a specific page, it is not users typing your URL in. It has to be someone who is linking to it. So now whenever someone else links to the broken URL (or a post that you moved), it automatically redirects them to the new location. So use URL and referrer option for that. Your action should always be Redirect to URL, unless you know what you are doing. After you have enter this information hit “add redirection”. Go to the new URL to test and make sure that it works. As long as the permalink structure is the same every thing should have been successfully moved. This plugin also has the option to track 404s. There is an option called Logs. This contains a list of 404 hits that your site is getting. You can take a look at the ones and determine what to do about them. For example, someone might be linking to your older post that you no longer have. You can redirect those to another location. All you have to do is click the + icon next to that log entry. These logs will also reveal how people are trying to attack your site. We get tons of 404 inquiries from bots that are trying to try every single theme with timthumb infection. Hoping that they will find something (they won’t). But it’s interesting to see all the IPs that are trying things. This plugin also handles redirection for your modified posts. If you modified your post’s URL, then this plugin sets up an automatic redirect. It is one of the MUST have plugins for any serious bloggers. Download the Redirection Plugin for WordPress