• I’m using a local machine to edit my wordpress site, then pushing a static version up to static host. I have my “WordPress Address (URL)” and “Site Address (URL)” both set to http://localhost:XXXXX so that I can quickly check and preview edits during posting.

    I’m able to configure my Really Static plugin to point to my real hosted url, so that all my internal links don’t break when I upload the site. Is there a way to do the same for Google-Sitemap-Generator, and make to use a specified URL rather than pulling from wordpress’s general settings menu? Currently my sitemap.xml is filled with all localhost references.

    I’d almost be fine with a hard coded edit with dropping in a string in the addon’s source, but I don’t know enough php to catch wherever that logic is made by myself.

    https://ww.wp.xz.cn/plugins/google-sitemap-generator/

The topic ‘Localhost issue’ is closed to new replies.