php - Wordpress redirect post_id urls to full post url -
i using wordpress on website, using permalinks like
site.com/%post_id%/%postname%/
if visitor visit site.com/%post_id%/
not redirect full post url.
i have no idea how can that.
edit: using nginx
try ?p=%post_id%
why use post_id
, postname
? why not postname this: site.com/custom/%postname%
?
Comments
Post a Comment