WordPress.org

Ready to get started?Download WordPress

Forums

WP Static HTML Output
Issues with CSS (4 posts)

  1. sarumbear
    Member
    Posted 1 year ago #

    I converted one of my sites to test but the results are not good.

    WordPress URL: http://vernonlee.co.uk/wp
    Site URL: http://vernonlee.co.uk/
    HTML URL: http://vernonlee.co.uk/html/

    I have entered the HTML URL above as the base URL when generating the zip. I then unzipped the contents into the /html directory on the root of the domain's workspace.

    Why is HTML displaying wrong?

    http://wordpress.org/extend/plugins/static-html-output-plugin/

  2. Leon Stafford
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Your CSS links are not correct on the exported HTML.

    The plugin should work fine with relative links, but try setting absolute paths to the CSS in your WordPress templates to force it to pick them up and rewrite them to the new URL.

    Cheers,

    Leon

  3. sarumbear
    Member
    Posted 1 year ago #

    I do realize the links are wrong. I'm trying to understand why.

    I used the HTML URL above as the base URL in the plugin to export the files. What should I have used instead?

  4. sarumbear
    Member
    Posted 1 year ago #

    I have now tried not entering anything to the base URL section, which created relative links but still the site is not working when moved. It works if called from the location it was created but when it is moved to another location, even locally, it fails with errors.

    Unless I can understand what the problem is I'm afraid I have to call this plug not working as advertised. Not able to get a response for a week is also not helpful.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.