: My subdomains to a folder won't work I'm trying to host a WordPress network. Though, the network doesn't work with the built-in WordPress subdomain redirection, that's why I create directly the
I'm trying to host a WordPress network. Though, the network doesn't work with the built-in WordPress subdomain redirection, that's why I create directly the subdomains at my host (legtux.org, a free French host). The thing is I have a second blog, hosted at thomaskowalski.net/pensees, and I'd like to go there by pensees.thomaskowalski.net. I created a temporary subdomain (http://coucou.thomaskowalski.net/) which should go to the /pensees subfolder, but well... it doesn't (Internal error). Here is my htaccess (at the root) :
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file= [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ [L]
RewriteRule . index.php [L]
Thank you
More posts by @Tiffany637
1 Comments
Sorted by latest first Latest Oldest Best
There must be an option in your host to redirect the pensees folder to your subdomains. Go to sub-domain settings, then instead of redirecting the root folder /, try changing the option to this one- /pensees or whichever folder you want.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.