Title: API Question!
Last modified: August 19, 2016

---

# API Question!

 *  [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/api-question-2/)
 * Hey Arne,
 * The documentation says that the arguments to AddUrl are:
    – The URL to the page–
   The last modified data, as a UNIX timestamp (optional) – The Change Frequency(
   daily, hourly, weekly and so on) (optional) – The priority 0.0 to 1.0 (optional)
 * Can you confirm the the URL should NOT be encoded, e.g.
 * [http://www.foo.com/?foo=bar&baz=bat](http://www.foo.com/?foo=bar&baz=bat)
 * rather than
 * [http://www.foo.com/?foo=bar&baz=bat](http://www.foo.com/?foo=bar&baz=bat)
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/api-question-2/#post-1343550)
 * OK – so the forums ate my code:
 * Can you confirm the the URL should NOT be encoded, e.g.
 * `http://www.foo.com/?foo=bar&baz=bat`
 * rather than
 * `http://www.foo.com/?foo=bar& baz=bat`
    [Without the space, but the forums decode
   it otherwise!]

Viewing 1 replies (of 1 total)

The topic ‘API Question!’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/api-question-2/#post-1343550)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
