wildcard rewrite rule for wordpress (.htacess)

2 replies
Hi

i have some problem with WordPress site ..here is what i have problem i need to do it ..

i need to create rewrite rule for wordpress (.htacess) that will do the following:

redirect subdomain " test1.site.com/BBB.html to site.com/test1/BBB.html "(wildcard).
redirect subdomain " test2.site.com/BBB.html to site.com/test2/BBB.html "(wildcard).

like this i have almost 430 site ..

so making for 450 url redirect code will take so much time ..s

so do you anyone know how to do it ..i know it need to do with wildcard ...but don't know how ..can you help
#htacess #rewrite #rule #wildcard #wordpress

Trending Topics