• Hi,

    I’m trying to develop a new theme wich integrates an extern already existing JSON Api for cities and events.

    URL-Structure:
    example.com/[city]

    should check the api for existing city. If not and not a page with this name existing -> 404 Error, else use template for showing city-view.

    URL-Structure:
    example.com/[city]/[event-name]

    The same like before but checking events.

    Is this possible with WordPress? I’m new in WP Developing, so I would be happy for any hints how to realize this. Maybe some examples?

  • The topic ‘Rewrite with external JSON API’ is closed to new replies.