# Routing

### Introduction

Routing is how the URL in the browser address bar determines the content of the web page. By default, the plugin uses query parameters for routing, so the URL of a particular speaker will be of the form

`http//my-site.com/talque/speaker-list/?speakerId=ZsljYMyP5v3f3KL05594`

This is the simplest form of routing, and works independent of how Wordpress is configured.&#x20;

### Custom URLs

The URL for a single speaker, lecture, and partner company can be customized for easier link sharing. This is configured in WP admin → Talque → Settings. For example, you can configure speaker URLs to be of the nicer form&#x20;

`http//my-site.com/my-speaker/steve_jobs`

For this to work, your Wordpress configuration must satisfy

* &#x20;The `http://my-site.com/my-speaker` route must not already be used for something else (like an existing WP page, or a different plugin)
* The Wordpress rewrite engine must be active, that is, WP admin → Settings → Permalinks → Common Settings must be set to something else than Plain.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://talque.gitbook.io/public/wp-plugin/routing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
