Results 1 to 5 of 5

Thread: Subdomains Issue

  1. #1
    mechatronik is offline Utente AlterBlog
    Join Date
    Aug 2018
    Posts
    3

    Exclamation Subdomains Issue

    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

  2. #2
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    151

    Default

    Hi, in alterSite (hosting) account, you can manage the domain here (Third level).

    Bye!

  3. #3
    mechatronik is offline Utente AlterBlog
    Join Date
    Aug 2018
    Posts
    3

    Default

    yes this i was using, but it is not working correctly

    It only redirects, I need real subdomain, no redirect!!!!

  4. #4
    mechatronik is offline Utente AlterBlog
    Join Date
    Aug 2018
    Posts
    3

    Default

    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

  5. #5
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    151

    Default

    In AlterSite account, try this code (in .htaccess file):
    Code:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} =moodle.mechatronik.altervista.org
    RewriteCond %{REQUEST_URI} !moodle/
    RewriteRule (.*) /moodle/$1 [L]
    Bye!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO