• Resolved ExtraPaul

    (@extrapaul)


    My WordPress is installed in a subfolder /wpbgf/.

    On the web server, this installation is in /home/fwaedsc/dev/wpbgf/.
    And the public folder is /home/fwaedsc/www/ : this is the path set in the Simply Static settings > Local Directory > Path.

    But at the deployement, static pages are saved in /home/fwaedsc/www/wpbgf/.
    And all links in the HTML are “/wpbgf/…”.

    And yet I read that in v 1.1.3 : “Fix: Static files won’t be put in a subdirectory if your WP install is in a subdirectory”.

    At this time the workaround is to move my content one level up and replace all links in HTML…

    • This topic was modified 6 months, 1 week ago by ExtraPaul.
Viewing 1 replies (of 1 total)
  • Thread Starter ExtraPaul

    (@extrapaul)

    Solved !

    The issue seems to be this snippet :

    add_filter('ss_origin_url', function ($url) {
    $url = 'https://dev.brusselsgamesfestival.be/';
    return $url;
    });

Viewing 1 replies (of 1 total)
  • The topic ‘Static pages published in a subdirectory as my WP install’ is closed to new replies.