Hi,
My old website was in .php and currently, I am using WordPress script. I would like to redirect all my OLD URLs to new URLs.
My OLD site URL looks like this:
www.domainname.com/testimonials.php?page=1
www.domainname.com/testimonials.php?page=2
www.domainname.com/testimonials.php?page=3
www.domainname.com/testimonials.php?page=4 and so on
Another URLs OLD:
www.domainname.com/reviews.php?page=i-was-concerned-about-100-success-rate
www.domainname.com/review.php?page=i-am-impressed-with-your-quick-information
www.domainname.com/review.php?page=thank-you-for-all-you-have-done-for-us
... and so on
Now the structure has been changed with WordPress. Now the above URLs look like.
www.domainname.com/testimonials
www.domainname.com/testimonials/page/2
www.domainname.com/testimonials/page/3
www.domainname.com/testimonials/page/4
... and so on
Another URLs NEW:
www.domainname.com/i-was-concerned-about-100-success-rate
www.domainname.com/i-am-impressed-with-your-quick-information
www.domainname.com/thank-you-for-all-you-have-done-for-us
... and so on
My all old URLs are in Google and other search engines. I would like to redirect them (all my OLD URLs) to new URLs. E.g. testimonials.php?page=2 to testimonials/page/2 etc
Please help me to redirect them through .htaccess
My current .htaccess looks like as below:
# 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>
# END WordPress
Thanks in advance.