Like the title says, how do I redirect every url that starts with http://example.com/shop to a single page?
so I have:
…. etc, and it should be redirected to http://example.com/new_page
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use mod_alias’
RedirectMatch:Or mod_rewrite:
Note the different pattern for
RewriteRuleas mod_rewrite removes the contextual path prefix in per-directory rewrites before testing the rules.