title: How to replace text of cities on webpages from a file on FTP, where I have all cities
body: <p>I want to generate text into websites based on some conditions.
  I will create about 100 HTML pages with some text, but there will be some parts of text that will change based on different city.</p>
  <p>I need something (maybe some call of javascript) to grab the specific city for webpage from a file or script.</p>
  <p>For example:
  This will be applied in H1 headline:</p>
  <pre><code>Page 1: domain.com/new-york
  
  &lt;h1&gt;Cleaning services - New York&lt;/h1&gt;
  
  
  Page 2: domain.com/boston
  
  &lt;h1&gt;Cleaning services - Boston&lt;/h1&gt;
  </code></pre>
  <p>But the words &quot;New York&quot; and &quot;Boston&quot; will be grabbed somehow from file or you can suggest :)</p>
  <p><a href="https://i.stack.imgur.com/m8Wcx.jpg" rel="nofollow noreferrer">Image: How I think this should work</a></p>
  <p>Thx for suggestions.</p>