: How can I setup a redirect using an .htaccess that would keep part of the URL path? I would like to setup a redirect using an .htaccess file which keeps part of the URL's path in the target
I would like to setup a redirect using an .htaccess file which keeps part of the URL's path in the target URL. For example:
I have the domain example.com. I want example.com/social to redirect to twitter.com. BUT if someone types in example.com/social/Bob I want it to redirect to twitter.com/Bob, and would like it to work the same way for any value entered after the /social/ directory.
What might I add to an .htaccess file in order to do this?
More posts by @Smith883
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.