Hi,
I want to add htaccess redirect for all the urls for given subdomain having "/services/" in it to "/offerings/"
for example
from
http://en.domainnamegoeshere.com/services/web
to
http://en.domainnamegoeshere.com/offerings/web
or
from
http://en.domainnamegoeshere.com/services/new_service
to
http://en.domainnamegoeshere.com/offerings/new_service
There are many such URLs in this subdomain.
I don't want this redirect to happen for the Urls in other subdomains as there are many other subdomains having "/services/" in URL. Want to add this redirect only for en.domainnamegoeshere.com
Can some one please help me out?
Thank you,
Sachin
Comments
Check this
Since you need to redirect too many URLS so it is not wise decision to write redirection for each and every URL.
Can you please confirm that whether services and offerings are the directives in root folder?
Thanks and regards
Try this:
Try this:
RedirectMatch permanent services(.*) http://en.domainnamegoeshere.com/offerings$1
Thanks
Thanks guys
[solved] This worked for me
Below blog worked for me.
http://www.learn-drupal.in/miscellaneous/dynamic-url-redirect-within-par...