Need htaccess redirection code for permalink change

3 replies
I have changed my permalink structure from /%postname%/ to /%postname.html.

Now I need a htaccess code to redirect old structure post to new structure one.

Found a code but it says you have to write for each and every page, more than hundred pages are there.

Is there any code to redirect all posts with old structure to new one ? 301
#change #code #htaccess #permalink #redirection

Trending Topics