GitHub|Since 2007
Documentation

URL Structure & SEO Configuration

URL Structure & SEO Configuration

Understanding URL Settings

URLs (web addresses) are more important than you might think. They affect both user experience and search engine rankings.

Permalink Structure

What are permalinks? The permanent web addresses for your content. Once set, they shouldn't change often.

Available Options:

1. Post name (Recommended) ✅

Format: https://example.com/sample-post/

Pros:

  • Clean and readable
  • SEO-friendly (contains keywords)
  • Easy to remember and share
  • Professional appearance

Example: If your post title is 'Best Coffee Shops in Seattle', the URL becomes: yoursite.com/best-coffee-shops-in-seattle/

2. Day and name

Format: https://example.com/2024/01/03/sample-post/

Pros:

  • Good for news or time-sensitive content
  • Helps organize archive by date

Cons:

  • Makes content seem dated
  • Longer URLs

3. Custom Structure

For advanced users who want complete control. You can create patterns using:

  • %postname% - The post title
  • %category% - Post category
  • %author% - Author name
  • %year% - Publication year

Example custom structure: /%category%/%postname%/ produces: yoursite.com/recipes/chocolate-cake/

Optional Settings

Category Base: Prefix for category pages. Default 'category' creates: yoursite.com/category/recipes/

Change to something like 'topics' to get: yoursite.com/topics/recipes/

Tag Base: Similar to category base but for tags. Default 'tag' creates: yoursite.com/tag/desserts/

Custom Scripts

Head Code: HTML/JavaScript that goes in the <head> section (top of page, invisible to visitors)

Common uses:

  • Facebook Pixel tracking
  • Google Tag Manager
  • Custom fonts
  • Verification codes for search consoles

Body Top Code: Code that runs at the start of page content

Used for:

  • Google Analytics (alternative placement)
  • Heat mapping tools (Hotjar, Crazy Egg)
  • A/B testing scripts

⚠️ Warning: Only add code here if you know what it does or if instructed by a service provider. Incorrect code can break your site.