-
AuthorPosts
-
November 23, 2015 at 5:00 pm #541021
Hi,
is it possible to change the main page by subdomain like this:
<?php
if($_SERVER[“HTTP_HOST”] == ‘seite.de’){
show pageid 123
?>
<?php
if($_SERVER[“HTTP_HOST”] == ‘sub1.seite.de’){
show paged 456
?>Also the headergrafic should be changed.
All other points like menue, posts, sites should be the same.
November 24, 2015 at 8:02 am #541371Hey mmc-werbung,
Not sure if that would work, did you try it out and what happened? Please try to explain a bit further what you are looking to achieve.
Regards,
RikardNovember 24, 2015 at 8:46 am #541381Hi rikard
Thanks for replying me.
I want multiply a page but not via multi site option.
I want it like this:
Site.de –> normal homepage with enfold themeSub1.Site.de –> other page in the same WP as homepage with enfold theme better other child theme to change the header grafic
- This reply was modified 8 years, 12 months ago by 1979mark.
November 24, 2015 at 1:13 pm #541554Hi!
You can simply create a subdomain in cPanel or hosting control panel. If you need further help creating a subdomain, please contact your hosting provider.
Regards,
YigitNovember 24, 2015 at 8:52 pm #541920Hallo,
ich versuche es mal auf deutsch.
Ich möchte wenn statt meiner Seite.de eine definierte subdomain.seite.de aufgerufen wird, sich die Headergrafik ändert in eine andere und eine andere Startseite (personalisiert auf die subdomain) angezeigt wird.
Wer kann mir helfen???November 24, 2015 at 10:35 pm #541998Hey!
If you want to change the header image, based on the subdomain, please also work on the same code, to header.php at the logo area.
Although, creating a subdomain as Yigit called out, is the best way / solution.Let us know if you have more issues
Cheers!
BasilisNovember 25, 2015 at 2:44 am #542088Hi basilis
Is it possible that you could help what I have to change exactly at header. Php
- This reply was modified 8 years, 12 months ago by 1979mark.
November 30, 2015 at 6:49 pm #544727Hi!
you would need to ask a freelance developer for this job.
Let us know in a new ticket if you have some questions or issues directly related to the theme options.
Cheers!
Andy- This reply was modified 8 years, 11 months ago by Andy.
-
AuthorPosts
- You must be logged in to reply to this topic.