Title: Localhost issue
Last modified: August 21, 2016

---

# Localhost issue

 *  [ruffsl](https://wordpress.org/support/users/ruffsl/)
 * (@ruffsl)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/localhost-issue-1/)
 * 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](https://wordpress.org/support/topic/localhost-issue-1/?output_format=md)
   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://wordpress.org/plugins/google-sitemap-generator/](https://wordpress.org/plugins/google-sitemap-generator/)

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

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ruffsl](https://wordpress.org/support/users/ruffsl/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/localhost-issue-1/)
 * Status: not resolved