Results 1 to 8 of 8

Thread: Subdomains Issue

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

    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
    191

    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
    5

    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
    5

    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
    191

    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!

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

    Default

    sorry this makes an endless redirect

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

    Default

    the subdomain redirect needs to be disabled

  8. #8
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    191

    Default

    Did you paste it into the .htaccess file in the root?

    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