Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #541371

    Hey 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,
    Rikard

    #541381

    Hi 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 theme

    Sub1.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.
    #541554

    Hi!

    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,
    Yigit

    #541920

    Hallo,

    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???

    #541998

    Hey!

    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!
    Basilis

    #542088

    Hi 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.
    #544727

    Hi!

    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.
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.