Custom permalinks for Pages
-
I’m trying to implement custom permalinks and technically everything works ok. No errors, no empty pages, htaccess works fine.
When I use the following structure:
/%postname%
Urls end up like this:
https://example.com/home/about
So it works as excepted, but that is where the fun ends. I want permalinks to look like this:
/%post_id%-%postname%.html
Therefor expecting something like:
https://example.com/123-about.html
But it always follows the first structure I tried. Reverting it back to default works as well, but that’s the worst.
So basically I have two distinct problems with my permalinks:
1) I can’t get it to follow the structure I tell it to follow (e.g. it always defaults to just the page name including acestors)
2) I want the page name excluding ancestors, or at the very least, I don’t want the slashes, but another separator.What do I do now?
P.S.
I’m running WP 2.8.6 on Windows 2008 + Apache 2.2 + PHP 5
- The topic ‘Custom permalinks for Pages’ is closed to new replies.