|
|||||
Robots, Wordpress, and Permalink RedirectsSo I recently changed the permalink structure of my website. The purpose of this is so that I get prettier looking links www.vesco.us/?p=203 vs http://www.vesco.us/2009/03/technology/scanning-textbooks-and-digitizing-your-library-efficiently.html It also helps people find my pages with google since google likes the latter more. However, the problem with doing this is that all your old links become obsolete. A wonderful wordpress plugin resolves this, http://scott.yang.id.au/code/permalink-redirect/ However, I noticed after I installed this plugin that my robot.txt file would also redirect back to wordpress causing a “this page cannot be found” to be displayed. After several hours, I found this solution: place a redirect in your .htaccess file, something like this: redirect 301 robot.txt http://www.example.com/robot.txt This has the added benefit of also allowing you to use a real robot.txt file instead of Wordpress’ virtual one that’s managed in from the privacy settings. Related items |
|||||
|
Copyright © 2010 Distant Traveler - All Rights Reserved |
|||||