Answer the question
In order to leave comments, you need to log in
Bedrock Wordpress always remove from /web link?
Greetings !
I made a test site on Wordpress using Bedrock
Now all links are like this wp-bedrock.com/web/sample-page or wp-bedrock.com/web/category/uncategorized How to always remove the /web prefix from the link using htaccess
Now mine . htaccess looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /web/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /web/index.php [L]
</IfModule>
# END WordPress
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question