Page Slugs to Avoid
List of slug words to avoid when setting the page URL's
When creating a page, RED will automatically generate a slug url (in the permalink section) based upon the inputted page title.
We have discovered that particular slugs are causing page conflicts with the post heading names in WordPress. When the slug url (i.e. mysite.uic.edu/profiles/) matches up with WordPress’s defaulted names for post types (seen below in the list – spoiler alert, “profiles” is one of the word(s) to avoid) it causes a 404 error for all subpages of that slug (i.e. mysite.uic.edu/profiles/john-smith/). The subpage titled “John Smith” will display as a 404 error/page not found, while the “Profiles” parent page (mysite.uic.edu/profiles/) will still properly display to visitors.
Below you will find a list of all word(s) that should be avoided in the slug. You can still use these exact words as a title to a particular page, just make sure to change the slug url in the permalink section (you can see where you can accomplish this in the screenshot above).
Here is the list of exact words/phrases to avoid in the page slug url:
The problem will only occur if you exactly use one of the words/phrases mentioned above. So, if you use word “event” as the slug it will work, but using “events” will cause a problem.
Just to reiterate, you can still title the page as “Events” but just make sure to change the permalink slug to “mypage.uic.edu/event/” or something other than “events.”
Do NOT use number only slug URLs.
Avoid using numbers only in your slug (i.e. mysite.uic.edu/12345/). Permalinks require alphabetical characters and if you only use numbers, WordPress will automatically add a “-2” into the slug. For example, if you create a page titled “1234” and publish it, the permalink will appear as mysite.uic.edu/1234-2/. Please be sure to include alphabetical characters in your permalink to avoid this issue.