• I have the following URL permanlink for the last 10 years:
    Personalized structure: /%post_id%/%postname%/

    Till recently, I could share shorter URLs, such as:
    https://www.mydomain.com/19014/
    That would be redirected to:
    https://www.mydomain.com/19014/post-title/

    It was very helpful for social sharing.
    Since recently, I believe last wordpress update, when I access: https://www.mydomain.com/19014/ I am displayed the page right there, with no redirection.
    Canonical link does display the full url, but I am wondering if it wouldn’t be best SEO wise to directly redirect them to the full URL as it used to do.

    Anyway I can return this to old behavior, redirecting to the full url?
    Or, could someone confirm it would not affect my SEO if I continue to create social links to my shortened url, even though it does not redirect, because of it’s canonical link?
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • We have the same issue. All of out posts are https://www.mydomain.com/post-name/ and we want https://www.mydomain.com/blog/post-name etc. We have many many blog posts so it seems we need to now add a db query to check if https://www.mydomain/somepagename is a blog post for every single url query on our website. Talk about blowing up the db use.

    Our SEO guy says it is better to have a more hierarchical structure for the links. I wish WP had better link structure options.

    Thread Starter MTO

    (@mto)

    gunnerman1, your issue is completely different. Just setup your permalink as “/blog/%postname%/” and you’re done, I believe.

    Hope someone can help me redirect:
    /%post_id%/
    to: /%post_id%/%postname%/

    Thread Starter MTO

    (@mto)

    Anyone? How can I make it redirect:
    /%post_id%/
    to: /%post_id%/%postname%/

    Just as it always did till recently.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permalink structure redirection’ is closed to new replies.