Questions tagged [slug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
24
votes
4answers
8k views

Add home page to a structure?

I am using a structure for all of my site's pages (single pages and channel index pages). The structure settings are as follows: URL for Top-Level Entries: {slug} URL for Nested Entries: {parent.uri}...
9
votes
2answers
4k views

How would I include the first category slug in the section's entry URL format?

I have a custom section that uses routes like this: /section/category/entry_url In trying to program the search form results I realized that I need to explicitly define the entry URL format for the ...
3
votes
1answer
471 views

Auto generation of localised slug

When an entry is created and saved in a locale the corresponding entry is created for other locales using the original title. However, when the title of the locale which needs translating is edited ...
4
votes
2answers
679 views

Can I use translated properties for URL formats

Here's my scenario. I have a structure section: "events". Within that I have three entry types: "events", "exhibitions", "specials". I would like the events to follow the following URL structure: {...
4
votes
2answers
827 views

How to transform German umlauts when creating slugs?

First of all, I want to thank you for creating Craft. It's really one of the best content management systems I have ever worked with. I encountered an issue while working on a multilingual site: ...
2
votes
1answer
62 views

Use of duplicate slugs, without -1

Is there a way/workaround for using "duplicate" slugs? Example: shop.com/candy (category page with listing of candy's) shop.com/about-us/candy (plain page with info about the production process etc)...
2
votes
1answer
314 views

Can I use a structure without slugs?

I'm making a portfolio website, where the url's look like "projects/project-name". There is also an overview page with all the projects that is under "projects" on itself. I'm using a Structure for ...