• When I generate the static files, it’s possible skip the wp-content files?
    I have 20GB of media files, and I don’t need to export those files in the zip, just the HTML.
    Thanks!

    • This topic was modified 8 years, 3 months ago by andrebeltrame.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi andrebeltrame,

    This isn’t currently possible, but will be in the next version of Simply Static. That should be out by the end of the year.

    Best,
    Scott

    Thread Starter andrebeltrame

    (@andrebeltrame)

    Thanks Scott.
    Its a great plugin!

    Hi andrebeltrame ?? !

    As I don’t want to duplicate all the wp-content part, I use a solution for that :)…
    You have to get some knowledges on server side :)… You have to create a subdomain on your host pointing to your wp-content folder (eg: /public_html/wp-content).
    Then, open your wp-config.php file the add this line in it : define(“WP_CONTENT_URL”, “https://cdn.yourdomain.com”);
    BTW, all the path to your wp-content files will be https://cdn.yourdomain.com/…
    And as path to your media files will be differents that your website pages (they will get an absolute path differents that your base website because they are pointing to https://cdn.yourdomain.com, not https://yourdomain.com) SS will not add them to your archive ;)…

    Hopping it will help you to gain some space :).

    Amicably,

    Pierre.

    • This reply was modified 8 years, 2 months ago by Pierre_02.

    FYI, v2.0 has been released and includes the option to include parts of URLs, so you could tell it to exclude /wp-content/ and be good to go.

    Best,
    Scott

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-content exclude’ is closed to new replies.