Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I changed my permalinks and it working fine but I need to redirect old tag folder to archives/tag to not lose links which google indexed

below is my .htaccess file in the root of my recipes site http://foodonia.com

# Use PHP5.4 as default
AddHandler application/x-httpd-php54 .php

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Example: http://foodonia.com/tag/fudge/ should redirect to http://foodonia.com/archives/tag/fudge

I tried to add each one of blow codes but redirect not working

#RewriteRule tag/(.*) archives/tag/$1 [NC,L]

#RewriteRule tag/$ /archives/tag/$1 [NC,L]

#RewriteRule tag/ /archives/tag [L]

I try to search for solution but can't find similar post

share|improve this question
    
I tried many times but nothing change , Can someone give me a hint ?! –  usama sulaiman Dec 16 '13 at 8:00
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.