How can I properly work with subdomains?

Home Forums Calendar Products Events Calendar PRO How can I properly work with subdomains?

  • This topic has 3 replies, 2 voices, and was last updated 6 years, 7 months ago by Brigitte Pfeifer-Schmöller.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1352596

    Hi,

    my page http://www.pfefferfrau.eu is hosted by http://www.world4you.com. I tried to create a subdomain http://events.pfefferfrau.eu which I wanted to open http://www.pfefferfrau.eu/events. Sadly this shows that this is forbidden.

    As I’ve learned that events-page is created virtually, I’m wondering if this is the problem here. Can you please provide some help how to get rid of this problem?

    Thank you!

    Regards, Brigitte

    #1353652
    Andras
    Keymaster

    Hallo Brigitte und wilkommen in unserem Forum!

    I will keep this in English so others also understand.

    That is not a common request, but I might be able to help you with it.

    I found an article talking about the same setup and provides a solution. You can find it here.

    Basically this is what you need:

    1. Create the subdomain – this is done if I’m right
    2. redirect the subdomain to the pfefferfrau.eu/events url
    3. Copy this line into your .htaccess file
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?events.pfefferfrau.eu$
    RewriteCond %{REQUEST_URI} !^/events
    RewriteRule ^(.*)$ /events/$1 [L] 

    Please note that I haven’t tested this, so I cannot guarantee that it will work, but it should give you a start.

    Let me know if this helps and if you have any more questions.

    Viel Glück!

    Andras

    #1363734
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How can I properly work with subdomains?’ is closed to new replies.