# Global Parent Page Mapping

Global Parent Page mapping allows you to map all the Child Pages of a Parent Page automatically, without having to manually search/select each one in the plugin settings. Here's a brief video about how to set it up, or feel free to read the guide below:

&#x20;

{% embed url="<https://www.youtube.com/watch?v=0od-fzDy5rI>" %}
Configuring Multiple Alias Domains with Parent and Child Pages in WordPress
{% endembed %}

The first step is to enable the Global Parent Page Mapping checkbox:&#x20;

<figure><img src="/files/XezEeqKQnlciMPghKh9o" alt=""><figcaption><p>Enabling Global Parent Page Mapping</p></figcaption></figure>

When Global Parent Page Mapping enabled, any pages that are associated with Parent Pages will automatically get mapped to the same domain as the Parent Page.

By default, WordPress retains the subdirectory URL structure of the child pages, so we have added the option to *Remove Parent Page slugs from mapped Child Page URLs:*&#x20;

<figure><img src="/files/huDvxAbShPw1DtDjUkbm" alt=""><figcaption><p>Remove Parent Page slugs from mapped Child Page URLs</p></figcaption></figure>


---

# 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://domainmappingsystem.gitbook.io/domainmappingsystem-docs/features/global-parent-page-mapping.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.
