fix htaccess to show the right permalink
-
First of all i am using wordpress multisite and it is an issue of the subdomain.
WordPress provide normal permalink as https://subdomain.mysite.com/category/post_id.
Unfortunately it shows a blank page. If I add a query symbol and an equal symbol it will show the page I wanted which is the url below.
https://subdomain.mysite.com/?category=post_idI tried to fix this issue via htaccess.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(^.*)\.domain.com$
RewriteRule ^category/(.*)$ /?category=(.*) [L]Sadly it doesn’t work as plan.
Help is appreciated. Thank you.
- The topic ‘fix htaccess to show the right permalink’ is closed to new replies.