is it possible to create a 301 redirect for the following URL string:

Original URL: http://www.example.com/old/old-directory/blog-post-1.html

Desired destination URL: http://www.example.com/new/new-directory/1.html

1 Answer 1


Using a mod_alias Redirect in your root .htaccess file:

Redirect 301 /old/old-directory/blog-post-1.html /new/new-directory/1.html


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.