WordPress.org

Ready to get started?Download WordPress

Forums

API Question! (2 posts)

  1. Lee Willis
    Member
    Posted 4 years ago #

    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

    rather than

    http://www.foo.com/?foo=bar&baz=bat

    Thanks

  2. Lee Willis
    Member
    Posted 4 years ago #

    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!]

Topic Closed

This topic has been closed to new replies.

About this Topic