This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

aaron23208
aaron23208

My urls need to look something like this (example):

/yellow-wallpaper

I want to extract the word 'yellow' as my param value.

I've tried this:

/:color_name|^[a-z-]+-wallpaper$

But then color_name = yellow-wallpaper. I want color_name = yellow.

I tried this:

/:color_name|^[a-z-]+$-wallpaper

But I get 404 when trying to load the page.

Is it possible to have 'extra' url string fragments after a regex, between slashes?

Last updated

teo
teo

Hello! I have run in the same issue, can you please help me out with a solution if you have already solved this issue.

Thanks in advance

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.