Hi everyone,
I'd like to redirect some queryed Urls in to new ones (301), one by one.
I've got this structure on my "old" site:
http://www.mysite.com/path/file.php?idNumber=1
http://www.mysite.com/path/file.php?idNumber=2
http://www.mysite.com/path/file.php?idNumber=3
...
and I'd like to have one different structure for each idNumber.
http://www.mysite.com/pathA/pathB1/postName1/
http://www.mysite.com/pathA/pathB2/postName2/
http://www.mysite.com/pathA/pathB3/postName3/
I am aware that I will have to make as many conditionals as different IdNumbers.
How can I do it (I've read a lot in this forum but my english is not as great as I wish and my knowledge in Apache Mod-Rewrite is limited)
Thanks in advance.
BTW My current .htaccess is a Wordpress 3.0 multisite
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]