How to get rid of the WordPress folder from URL without moving the files > .htac
-
I have two WP installations on one domain and two folders.
How to get rid of the WP installation folder > watercolorpainting.com/watercolor-painting-tutorials/ without moving the wordpress installation to the root domain?
The .htaccess rewrite rule is the following:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /watercolor-painting-tutorials/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /watercolor-painting-tutorials/index.php [L] </IfModule>
I want my links without the WP folder like this:
watercolorpainting.com/for-beginners/
not like this: watercolorpainting.com/watercolor-painting-tutorials/for-beginners/
The solutions I found doesn′t fix my problem, because I have already an existing WP installation on the root with following .htaccess rewrite rules:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Can someone help me? Thanks!
- The topic ‘How to get rid of the WordPress folder from URL without moving the files > .htac’ is closed to new replies.