How do I remove this from my pages content/view/19/50/
instead www.site.com/page-name/sub-page-name/
without plugins.
Can I just modify the .htaccess file but not sure what rules I need to achieve what I wan开发者_运维问答t.
if you want to do it the htaccess way:
RewriteEngine On
RewriteBase /
RewriteRule ^content/view/19/50/ http://www.site.com/page-name/sub-page-name/ [R=301,L]
精彩评论