Weird URL Slug behaviour
Permalink
Hi *,
I have a serious issue with url slugs and absolutely no idea how to fix this. ;)
I used the backend/full-sitemap (5.6.3.2) to do my tests after I had problems programmatically creating pages with the correct slug. So here we go:
If I create a new page with the slug 'via-test' I end up with a page that has 'test' as the slug.
This problem occurs every time i start a slug with 'via-'. If I add a char in the front or in front of the dash: everything is fine.
So I wondered if I could work around this by using 'via_test' instead and added this page manually. Result: I get a page with the slug 'via-test'. \o/
Saving this page a 2nd time (without doing any changes) results in 'test'. WTF?
Any ideas?
Regards,
Jens
I have a serious issue with url slugs and absolutely no idea how to fix this. ;)
I used the backend/full-sitemap (5.6.3.2) to do my tests after I had problems programmatically creating pages with the correct slug. So here we go:
If I create a new page with the slug 'via-test' I end up with a page that has 'test' as the slug.
This problem occurs every time i start a slug with 'via-'. If I add a char in the front or in front of the dash: everything is fine.
So I wondered if I could work around this by using 'via_test' instead and added this page manually. Result: I get a page with the slug 'via-test'. \o/
Saving this page a 2nd time (without doing any changes) results in 'test'. WTF?
Any ideas?
Regards,
Jens
Thanks. SEO. Of course.
Since all my slugs represent more technical IDs....I simply didn't think of "verbose" headlines used as slugs.
In addition to the setting in the Backend I found this:
http://www.concrete5.org/documentation/how-tos/developers/change-fi...
Since all my slugs represent more technical IDs....I simply didn't think of "verbose" headlines used as slugs.
In addition to the setting in the Backend I found this:
http://www.concrete5.org/documentation/how-tos/developers/change-fi...
Remove "via" from that list.