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.
-
AuthorPosts
-
September 21, 2017 at 7:30 am #1352596Brigitte Pfeifer-SchmöllerParticipant
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
September 22, 2017 at 12:59 pm #1353652AndrasKeymasterHallo 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:
- Create the subdomain – this is done if I’m right
- redirect the subdomain to the pfefferfrau.eu/events url
- 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
October 14, 2017 at 9:35 am #1363734Support DroidKeymasterHey 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 -
AuthorPosts
- The topic ‘How can I properly work with subdomains?’ is closed to new replies.