Wordpress

  • Hi,


    I got a question about wordpress.
    I got two Virtual Webservers running OMV2 with the wordpress-plugin. How do I configure it that if I type "www.site-a.c*om" I access the Server A and by "www.site-b.c*om" Server B?


    I know that wordpress has the option to make multisites but it doesn't work.

    • Offizieller Beitrag

    You would have to use the nginx plugin and create two servers using the name-based Host type.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ah okay, but before I can do this I have another problem: I cannot activate multisite for wordpress.


    I made

    Code
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'meineLANip');
    define('PATH_CURRENT_SITE', '/wordpress/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    and the Network Manager appears. Then I have to insert something into htaccess in /var/www/wordpress/wordpress/ but this file doesn't exist? If I create this there or in /var/www/wordpress nothing happens. I only get
    [b]Warnung:[/b] Ein bestehendes WordPress-Netzwerk wurde gefunden. Bitte schließe die Schritte zur Einrichtung ab. Um ein neues Netzwerk anzulegen, musst du die Netzwerk-Datenbanktabellen leeren oder entfernen.


    Any idea?


    And which webserver does wordpress use? nginx? Because I can't find a site-enabled configfile which is pointing to /var/www/wordpress ?

    • Offizieller Beitrag

    Any idea?

    Nope, I don't use wordpress and even when I have tried it, I never used multisite.


    And which webserver does wordpress use? nginx?

    Yes, it uses nginx.

    Because I can't find a site-enabled configfile which is pointing to /var/www/wordpress ?

    The plugin does not use its own site. It uses the OMV web interface site. All settings are in /etc/nginx/openmediavault-webgui.d/openmediavault-wordpress-site.conf but you wouldn't want to change that anyway because it would be overwritten. You will have to switch to using the nginx plugin and manually install wordpress. You will have to do this for OMV 3.x anyway.

    • Offizieller Beitrag

    How to install Joomla????


    And yes, I know it says joomla but the post is for wordpress.

    • Offizieller Beitrag

    But how can I change the language to German?

    No idea. Hardly ever used it and never changed the language.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    is it possible to use Apache2 instead of Nginx?

    How would this fix it? nginx is not the problem. apache would cause more issues.


    Just create two servers on the nginx plugin and follow my directions twice. Then you shouldn't need to use the wordpress multisite stuff.


    Other than that, I probably can't answer much more about wordpress.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Installed apache2 and it works like a charm

    Just be warned that apache will probably cause more problems than it fixed. I have seen apache updates cause nginx to stop working correctly especially when an nginx site is on port 80.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!