Content type slug

A forum for Bolt related questions / issues

Content type slug

Postby Dorien » Thu May 08, 2014 7:15 pm

Hi!

I have this content type that on localhost is called when i request /projecten and on my server is called when i request /projects.

projects:
name: Projecten
singular_name: Project

I would assume this would be the same everywhere. Is the routing based on the name or on the 'upper' name?

~ Dorien
Dorien
 
Posts: 21
Joined: Mon Nov 11, 2013 3:34 pm

Re: Content type slug

Postby streeff » Sun May 11, 2014 8:30 am

it is better to use the same names everywhere, e.g. for a Dutch site:

projecten:
name: projecten
singular_name: project

(I don't exactly know how things work under the hood, but I've experienced that this works best)

Then if you want to show content under a specific url, use the routing.yml to accomplish that.
Evert Albers, Streeff - web // branding // information design - Amersfoort & Amsterdam, NL
Site: http://www.streeff.nl
User avatar
streeff
 
Posts: 146
Joined: Sat Jul 25, 2009 9:28 pm
Location: Amersfoort, NL

Re: Content type slug

Postby Dorien » Mon May 19, 2014 2:10 pm

Check, will do that in the future :)
Dorien
 
Posts: 21
Joined: Mon Nov 11, 2013 3:34 pm


Return to Bolt Discussion

Who is online

Users browsing this forum: No registered users and 14 guests