I have error im my link in my site.

I have 2500 post in old site with link like:-


And now i change to WordPress and change URL to :-


Now, The error is when any user open www.domain.com/mm-123.html its show him Error 400.

So I need when any user open www.domain.com/mm-123.html redirect to www.domain.com/sample-post/ for all post .

Are there way to do that !!

1 Answer 1


You can do this with 301 redirects. There is a nice easy plugin that will allow you to do this.


If you want to do it on a little lower level you can edit your .htaccess file with the structure you require. Yoast provides a easy to use generator available here:



Your Answer

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

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