> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hiveku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Organize Your Sitemap

> Visualize and reorganize your site's page hierarchy

The Sitemap view is a visual tree of every page on your site and how they relate — parents, children, and the homepage. A clear hierarchy helps search engines understand your site and helps you keep navigation tidy.

```
Project > Sitemap
```

<CardGroup cols={2}>
  <Card title="Conversational" icon="wand-magic-sparkles">
    Ask the AI to reorganize
  </Card>

  <Card title="Visual" icon="sitemap">
    Use the canvas directly
  </Card>
</CardGroup>

## What This View Shows

* A canvas with every page rendered as a node
* Parent-child relationships drawn as lines
* The homepage marked with a special indicator
* Published pages shown in one color, drafts in another

## Option 1: Ask the AI

This is the fastest way to restructure a sitemap — the AI handles re-parenting, updating navigation, and rewriting internal links.

From the AI chat:

```
Reorganize my sitemap so About and Contact are under a new 
"Company" parent page.
```

```
Move the blog index page under /resources and update internal links.
```

The AI shows the plan, gets your approval, then applies changes.

## Option 2: Visual Editor

<Steps>
  <Step title="Open the Sitemap page">
    Click **Sitemap** in the project sidebar.
  </Step>

  <Step title="Find the page you want to move">
    Pan and zoom the canvas. Each page is a labeled node.
  </Step>

  <Step title="Right-click a page node">
    A context menu appears with:

    * **Edit Parent** — pick a different parent page
    * **Set as Homepage** — make this page the site root
    * **Delete** — remove the page (with confirmation)
  </Step>

  <Step title="Add a new page">
    Click **+ Add Page** in the toolbar. Enter title, slug, and parent.
  </Step>

  <Step title="Save">
    Changes save as you make them. No deploy yet — you'll need to click **Deploy** to push live.
  </Step>
</Steps>

## Why Hierarchy Matters for SEO

Search engines use your site's structure to understand relationships between pages. A flat sitemap (every page at the root) makes everything look equally important and loses context. A well-nested sitemap:

* Tells Google which pages are hub pages vs. detail pages
* Provides breadcrumb context (`Home > Services > Web Design`)
* Improves internal link equity flow
* Helps render breadcrumb schema in search results

## Menu / Navigation vs. Sitemap

These are related but **not the same**:

* **Sitemap** — the structural tree of every page, including pages not in nav. This is what `/sitemap.xml` generates from.
* **Navigation** — the links you put in your header and footer. A subset of the sitemap chosen for prominence.

Edit navigation (header/footer links) in **Content > Pages** or via the AI. The Sitemap view focuses on structure only.

<Info>
  To edit an individual page's content, slug, or meta (not its position in the tree), use [Manage Website Pages](/how-tos/manage-pages). The Sitemap view is for hierarchy.
</Info>

## Verifying Your Sitemap

After deploying, check the generated XML sitemap that search engines use:

```
https://{project}.hiveku.com/sitemap.xml
```

You should see every published page with its last-modified date. Submit this URL to Google Search Console and Bing Webmaster Tools — see [Connect Google Search Console](/how-tos/connect-gsc).

## Troubleshooting

<AccordionGroup>
  <Accordion title="A page I created isn't showing on the canvas">
    Pages only appear once saved. Go to **Content > Pages**, create the page there, then return to the Sitemap view.
  </Accordion>

  <Accordion title="I can't drag to reorder nodes">
    Drag-to-reorder on the canvas is coming soon. For now, use the right-click **Edit Parent** menu, or ask the AI: *"Make X the parent of Y"*.
  </Accordion>

  <Accordion title="sitemap.xml is outdated after changes">
    The public `sitemap.xml` is generated at deploy time. Click **Deploy** to regenerate. Then resubmit the sitemap in Google Search Console to trigger a recrawl.
  </Accordion>

  <Accordion title="My homepage node is in the wrong place">
    Right-click the page you want as homepage and choose **Set as Homepage**. The previous homepage becomes a regular page at whatever slug it has.
  </Accordion>

  <Accordion title="Deleted a page by accident">
    If you haven't deployed since the deletion, restore from **Settings > Deployment > History** by rolling back. After deployment, the page is gone — you'll need to recreate it.
  </Accordion>
</AccordionGroup>

## What's Next?

<CardGroup cols={2}>
  <Card title="Manage Website Pages" icon="file-lines" href="/how-tos/manage-pages">
    Edit individual page content, slugs, and meta
  </Card>

  <Card title="SEO Setup" icon="magnifying-glass" href="/how-tos/seo">
    Submit your sitemap to search engines
  </Card>
</CardGroup>
