I do something similar. The biggest difference is tha I use the meta keywords field instead of the meta description field.
For those who requiring step-by-step instructions...
1. Copy and paste the following into a new file. Call it "redirect.php".
Code:
<?php if(!defined('IN_GS')){ die('You cannot load this page directly.'); }
/****************************************************
*
* @File: redirect.php
* @Package: GetSimple
* @Action: Your Theme
*
*****************************************************/
header("HTTP/1.1 301 Moved Permanently");
header("Location: " . get_page_meta_keywords(false));
exit();
?>
2. Place the file in the
/theme/[YourTheme]/ folder on your website where [YourTheme] is the name of the theme you are using on your site.
3. Log into the admin side of your website and edit the page you want to redirect.
4. In the editor, click on the
Page Options button at the top of the editor.
5. You will need to make two changes:
4. Click the
Save Updates button at the bottom of the page.
Now when anyone tries to view the page you just edited will automatically be redirected to the address you entered above.
Why do this?- SEO - This tells search engines where to find content that used to be at a particular address on your website, all this without having a negative impact on the ranking of your web page.
- Bookmarks/Favourites - If people have a bookmark to that particular page, they will be able to find your updated page.
- Links - Whether there might links pointing to the page on your website or there are links are another website, never to leave people with a dead link. Even if you didn't put a link on other websites, others may have.
- Removed Content - If you are removing content on your website for any reason (information was obsolete, no longer irrelevant or just undesireable), create a single page with a message to that effect and then redirect all your removed content pages to that single page. That way, if you ever decide to modify the message, you'll only have to do it in one place.
- External Link - Useful if you want to have a menu item that links directly to a file or to a page on a different website.