Wordpress 301 Redirect -


i have got 1 wordpress blog site , use permalink as:

%category%/%postname%.html 

i want change as:

%postname%.html 

and old urls (https://www.example.com/category/post-name.html) 301 redirect (https://www.example.com/post-name.html).

how can redirect use .htaccess file?

just go wp-admin, /settings, /permalinks , select "post name". more info on here: https://codex.wordpress.org/using_permalinks

for 301 redirects can write own htaccess file not easy using plugin simple 301 redirects.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -