C
C
CheGevara2016-09-27 19:18:18
htaccess
CheGevara, 2016-09-27 19:18:18

Why is redirect not working in WordPress?

There is a site on WP
CNC was configured as Day and the name sitename/2016/09/27/sample-post
there is a desire to reconfigure to Post name sitename/sample-post
heard that WP automatically redirects, but does not work. Old links Page not found.
Moreover, if you return it as it was, and go to other CNC options, it redirects correctly.
What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CheGevara, 2016-09-27
@CheGevara

solved
RedirectMatch 301 /([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ www.domain.com/$4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question