How to hide the word "blog" from my site wordpress

1

Whenever I post a post appears link , I would like to change the URL to link

Follow my htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
    
asked by anonymous 20.03.2017 / 13:50

1 answer

2

Easier than editing htaccess manually, you can do this directly in the WP administrative panel. Go to Configurações > Links permanentes . There, select the Post Name option, eg:

This option will result in something like this:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
    
20.03.2017 / 14:11