Title: phileplanet's Replies | WordPress.org

---

# phileplanet

  [  ](https://wordpress.org/support/users/phileplanet/)

 *   [Profile](https://wordpress.org/support/users/phileplanet/)
 *   [Topics Started](https://wordpress.org/support/users/phileplanet/topics/)
 *   [Replies Created](https://wordpress.org/support/users/phileplanet/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/phileplanet/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/phileplanet/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/phileplanet/engagements/)
 *   [Favorites](https://wordpress.org/support/users/phileplanet/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirection/Modifying htaccess](https://wordpress.org/support/topic/redirectionmodifying-htaccess/)
 *  Thread Starter [phileplanet](https://wordpress.org/support/users/phileplanet/)
 * (@phileplanet)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/redirectionmodifying-htaccess/#post-436365)
 * Okay I haven’t found an htaccess solution to this so what I am going to do is
   include a PHP script in the 404 template.
 * The script basically sees takes the URL of the 404, and if it matches a location
   in my redirects, it goes to the new location.
 * I hope to make this a plugin with a user interface so that others can benefit
   from it.
 * Thanks for your help.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirection/Modifying htaccess](https://wordpress.org/support/topic/redirectionmodifying-htaccess/)
 *  Thread Starter [phileplanet](https://wordpress.org/support/users/phileplanet/)
 * (@phileplanet)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/redirectionmodifying-htaccess/#post-435965)
 * Sorry Viper007Bond but I wanted it to redirect links.php to /links/, not rewrite.
 * I meant that I was using mod_rewrite to redirect since most plugins didn’t really
   work well for me.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirection/Modifying htaccess](https://wordpress.org/support/topic/redirectionmodifying-htaccess/)
 *  Thread Starter [phileplanet](https://wordpress.org/support/users/phileplanet/)
 * (@phileplanet)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/redirectionmodifying-htaccess/#post-435767)
 * Sorry but it’s still having no effect.
    Here’s the new .htaccess: `RewriteEngine
   on RewriteRule ^links.php$ /links/ [R=301]
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /area51blog/
   RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule./
   area51blog/index.php [L] </IfModule>
 * # END WordPress
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirection/Modifying htaccess](https://wordpress.org/support/topic/redirectionmodifying-htaccess/)
 *  Thread Starter [phileplanet](https://wordpress.org/support/users/phileplanet/)
 * (@phileplanet)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/redirectionmodifying-htaccess/#post-435702)
 * Okay that doesn’t mess up WP, which is good, but my redirects don’t seem to do
   anything.
 * Here is the htaccess:
    `# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine
   On RewriteBase /area51blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{
   REQUEST_FILENAME} !-d RewriteRule . /area51blog/index.php [L] </IfModule>
 * # END WordPress
 * RewriteRule ^sites.php$ /links/ [R=301]
 * Is there something wrong?

Viewing 4 replies - 1 through 4 (of 4 total)