0

I have error im my link in my site.

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

www.domain.com/mm-123.html

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

www.domain.com/sample-post/

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 !!

0

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

https://wordpress.org/plugins/simple-301-redirects/

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:

https://yoast.com/wp-content/permalink-helper.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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