htaccess Redirect Single URL to New Address

Hello everybody, few days ago I have deleted a post but  that post has back link from other site. When  somebody come through that  address to my site, they got 404 page! Well, then I added a simple  line on my .htaccess file to redirect all visitor of that post to a new related post. Well lets see that how to redirect a old post link into a new link.

In my case, the line was as follow

Redirect 301 /?p=1120 /2011/02/add-font-in-menubar-of-microsoft-word/

Where  /?p=1120 is a old page looks like http://shariarbd.com/?p=1120 and I have redirect it into the new address /2011/02/add-font-in-menubar-of-microsoft-word/which is actually http://shariarbd.com/2011/02/add-font-in-menubar-of-microsoft-word/ Continue reading htaccess Redirect Single URL to New Address