I have the problem wenn I use a Subfolder on a Subdomain it adds both, like this:
Subdomain.meindomain.altervista.org/subfolder
but it should be
Subdomain.meindomain.altervista.org/
how can I fix this issue!!!
I need real subdomains
I have the problem wenn I use a Subfolder on a Subdomain it adds both, like this:
Subdomain.meindomain.altervista.org/subfolder
but it should be
Subdomain.meindomain.altervista.org/
how can I fix this issue!!!
I need real subdomains
Hi, in alterSite (hosting) account, you can manage the domain here (Third level).
Bye!
yes this i was using, but it is not working correctly
It only redirects, I need real subdomain, no redirect!!!!
I need this adress
http://moodle.mechatronik.altervista.org/
to link to the subfolder moodle
but it only redirects like this
http://moodle.mechatronik.altervista.org/moodle/
http://mechatronik.altervista.org/moodle/
this is stupid, who programms something like this
In AlterSite account, try this code (in .htaccess file):
Bye!Code:RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} =moodle.mechatronik.altervista.org RewriteCond %{REQUEST_URI} !moodle/ RewriteRule (.*) /moodle/$1 [L]
sorry this makes an endless redirect
the subdomain redirect needs to be disabled
Did you paste it into the .htaccess file in the root?
Bye!