• We use simply static on 2 domains – internal staging domain
    with live wordpress ‘internal.mydomain.com’ and an external facing domain ‘external.mydomain.com’ where we copy the static files.

    Simply Static correctly exports a feed URL to ‘external.mydomain.com’, but all URLs in the feed are still pointing to ‘internal.mydomain.com’. We tried relative paths as well as absolute paths, no change.

    Do you have any ideas how we can fix this? Should be easy to do a simple search/replace on the feed contents…

    One other thing is wrong with posts/feeds: none of the Archives are ever exported. we created a clumsy workaround by switching to annual archive and adding the URLs for all languages manually to the exception list. Not nice and unusable for monthly archives.

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

    Sorry to hear about the trouble you’re having. That’s strange that you’re still having issues with URLs in the feed — would you be able to email me the URL to your feed so that I can take a look at the page and how your server is responding to GET requests? If you like, you can email me at: [email protected]

    As for the archives, are there any links from your homepage that would eventually get you to the archives? Or, did you try adding one of the archive pages to Additional URLs (in advanced settings)? You mentioned “all languages”… I’m wondering if Simply Static just isn’t able to find a link to over to the archives in other languages maybe? Let me know.

    Best,
    Scott

    Thread Starter peertavori

    (@peertavori)

    Hi Scoot,

    sent you the links a while ago via email – maybe it did not get past your spam filter.
    The main problem remains: the URL https://www.mydomain.net/feed shows a static feed just fine,
    BUT all the links inside the feed point to: wws.mydomain.net (wws is our internal staging server)

    Paths in Simply static are set to absolute: https://www.mydomain.net

    Hi peertavori,

    Sorry for the delay in getting back to you. I haven’t had a chance to take a look at this, but I have it as a ticket to investigate. I’ll take a look as soon as I can.

    Best,
    Scott

    Thread Starter peertavori

    (@peertavori)

    Hi Scott,

    thanks for taking care. Let me if I can be of any help fixing the bug.

    To be honest, I looked at the code but did not get far in understanding how it works. The idea was to implement a general regex search/replace mechanism for all html, much like a sed pipe. Did not find a good hook where this could be implemented, though.

    Best,
    Peer

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All URLs in static feed still wrong with Simply Static 1.80’ is closed to new replies.