Apache redirection is done at the server level, not through WordPress. I would suggest either:
1) seeing if your hosting control panel offers a redirection feature. Some control panels like cPanel allow you to set up page redirection with either 301 or 302, through an easy-to-use graphical user interface (GUI)
2) editing your .htaccess file directly in a plain-text editor. That is where you can set your redirects to be either 301 (permanent) or 302 (temporary). There are a number of different syntaxes possible for redirects – the best thing is to look in your host’s documentation to find out what the correct syntax is for your particular server.
For example, one popular syntax is:
Redirect 301 /oldpage http://example.com/newpage
Actually, I should ask first…when setting a 301, does the browser still check to see if the link is valid, then redirects it accordingly, or does it redirect it immediately?
The browser redirects automatically to the new page as specified in your redirect rule. It doesn’t matter whether the old page still exists or not.
Having said all that, I just Googled and here’s one WordPress redirection plug-in:
http://wordpress.org/extend/plugins/redirection/
I would still recommend doing redirection at the server level, as it’s a more foolproof method.
*Case in point: I just noticed there are many reports saying this plug-in is currently broken. One more reason to go with redirection outside of WordPress. 😉
@zoonini – thanks. I’m giving ‘Redirection’ a go. It at least has logging, for which I can always remove the 301 if I have a use for an old keyword.
This plugin seems to log all 404 inquiries and I notice there are numerous calls to old plugins. Where are these calls added…site header or some other file?
-Scott
An example would be…
/wp-content/plugins/slidedeck-lite-for-wordpress/skins/dark/skin.js?ver=1.2.0
This is no longer a plugin I have installed, however, something is calling for it. The plugin folder is gone and their is no related WP Table, and I cannot find any source of it in my header.
Where would such a call come from?
-Scott