Tag Info

New answers tagged

0

Solved. Nginx and WordPress were acting correctly. There was an error condition further down my request processing code.


1

Change the Settings -> Permalink to Custom Structure /%category%/%postname%/ Now while editing the post, check only the subcategory and now the parent category is nested within the URL automatically.


1

I think you shoud use some .htacess rexrite rules either than relying on the wordpress rewrite functions. It seems more appropriate in your case. Try a rule like this : RewriteRule ^root/([a-zA-Z]+)/([a-zA-Z]+)/$ /root/$2/ [R=301,L] Insert it right after RewriteBase /



Top 50 recent answers are included