How to remove slug from homepage
-
I’ve had a reason to turn my static Homepage from Page type to Post type, using ‘post type switcher’ plugin. That part was easy.
Problem is now my site base url is showing slug of the post instead of just showing base url. mysite.com/slug instead of mysite.com .
I have tried couple of .htaccess modifications like this:
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} ^p=52$
RewriteRule ^index.php$ /? [L,R=301]
but none of them works…
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How to remove slug from homepage’ is closed to new replies.