• Home
  • Pugpig Bolt
  • URLs, Domains and Linking

Choosing your URL structure for content

Written by Benji Weiser

Updated at August 2nd, 2023

  • Pugpig Bolt
    Bolt apps Content and Workflows Bolt CMS Pugpig Distribution Service URLs, Domains and Linking Bolt Search Authentication and Subscriptions Bolt Analytics Push notifications Bolt Release Notes Debugging Advertising App stores Consent management
  • Pugpig Site
    Site Search URLs, Domains and Linking Content Management System Analytics SEO Advertising Consent Management Platform Site Release Notes Debugging Authentication and Subscriptions
  • Pugpig Archive
  • Working with Pugpig
    Pugpig Support Releasing new versions Pugpig Packs & Agreements Pugpig Policies
  • Pugpig Consulting
+ More

Default URL structure

While Bolt (and most other) apps don't often present URLs to users, all content on Bolt does in fact still live at the end of the URL, and the structure and style of those URLs can be very important to some customers. 

This doc explains our standard structure and what capabilities we have to change that.

By default, Pugpig URLs look like this:
https://app.vanity.com/2021/05/30/my-story-slug/content.html

Warning

While this is the default (it's the standard wordpress format) we don't recommend it.

 

Our URLs will always start with your app domain and end in "content.html", but the section in between can have any combination of:

  • Published date
  • Published time
  • Article slug
  • Category
  • Author

To customise your article URLs in this way, we can do so out of the box with minimal configuration.

Choosing your URL structure

Our suggested URL structure would be - ../story/guid/content.html

  • Story in this case refers to your desired way of identifying the content (as opposed to the article title used in our standard structure). It's also helpful to have a prefix for articles to ensure we can filter them correctly if you're using canonical URLs.
  • The GUID (Globally Unique IDentifier) should be some reference ID that applies only to this specific content piece and doesn't change.
  • Content.html is required as part of Bolt's functionality

This is especially important if you're looking to implement canonical URLs and the redirection service. We will need to agree a URL format with you that appropriately corresponds with your website and that allows you to redirect. For example, a format that includes your unique unchanging story ID such as:
https://app.vanity.com/story/123232354/content.html

Changing your URL structure

Once you've decided and agreed with us what your URL structure will be, let us know and we'll adjust it in the CMS.

Permalink settings in Pugpig Express

We'll change the postname part of the URL structure to reflect what we've agreed with you. 

URL update plugin

We are now able to update the permalinks of all existing in-app articles using our URL update plugin. It works by adjusting the postname (as seen above, the article title by default) to an agreed format which is usually your article ID. We can also send this ID to your analytics so it matches what's used on your website.

As long as either there's a field in your RSS feed where we can get the article ID, or we can reliably extract it from your article permalink then we'll be able to configure and run the plugin.

We will need to discuss and agree what the URLs should look like, and where we can retrieve the relevant ID to change to, before starting this.

 

Additionally it can be used to rewrite inline content links, so if you regularly link to your content within your articles and want those to be converted to app articles, let us know!

 

 

 

 

 

content choices url structure

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Distribution Overview - Pugpig IP ranges
  • Deeplinking in Pugpig Bolt
pugpig logo white
Navigation
  • Products
  • Customers
  • News
  • Podcast
Contact
  • Contact us
  • LinkedIn
  • Twitter
Technical Support
  • Status Page
  • Documentation
  • Customer Support
Corporate
  • Company
  • Jobs
  • Privacy Policy

© Kaldor Ltd. 2022

Powered by Pugpig

Expand