#20617 closed defect (bug) (duplicate)
Permalinks with titles consisting of special characters do not work.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | major | Keywords: | |
| Cc: |
Description
One of my articles in February 2012 has the title "□□□□□□□□□: 0 □□□□□□□□". I know, I should use a better title, but WordPress should be able to process it.
My permalink structure looks as follows: /%year%/%monthnum%/%postname%/
Now the automatically generated permalink for the aforementioned article is http://tuxproject.de/blog/2012/02/0/ which leads to 2012/02 archives but not to the single article. There is no way to access the article directly.
I presume this is a major bug in WordPress's permalink generator.
Change History (5)
comment:1
SergeyBiryukov — 13 months ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
There are two things at play here:
1) The slug is generated by stripping special characters.
2) With your permalink structure, http://tuxproject.de/blog/2012/02/0/ is considered a day archive.
There are also two possible workarounds:
1) Manually edit the slug to be non-numeric.
2) Change your permalink structure so that it doesn't look like a date archive.
comment:3
RosaElefant — 13 months ago
Hmm, I guess I will use the first option then. I just think WordPress should be smart enough to avoid that.
edit: Changing it to _0 makes it an error 404 instead.
comment:5
RosaElefant — 13 months ago
Maybe _0? Or ".0", dots should work in URLs...

#5305