Permalink with post_id question ?
-
Hi,
I’m trying to add the %post_id% in permalinks and i noticed a strange behavior how wp use the redirect
Case one:
using permalink structure: /%post_id%/%postname% (no trailing slash in the end)
if i type url in browser with only the post name, i’m redirected to /post_id/post_name
It’s goodCase two: (the one i want to use)
using permalink structure:/%postname%/%post_id% (no trailing slash in the end)
if i type url in browser with only the post name, i’m not redirected to /%postname%/%post_id%
So my post now can be accesible via url:
/%postname%
and
/%postname%/%post_id%Is it normal that the post is not redirected to choosen permalink structure in case 2 ?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Permalink with post_id question ?’ is closed to new replies.