• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to change post URL and/or use redirect

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to change post URL and/or use redirect

This topic is: not resolved

Tagged: permalink, post url, redirection, URL

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 11 months ago by Victor Font.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 8, 2017 at 5:53 pm #207482
    Roxana
    Member

    I am trying to set up 301 redirects. I tried via .htaccess in file manager and it didn't work. Then I tried using the Redirection Word Press plugin. But it is still not working.

    A handful of my recipe post URLs changed on their own and I suspect that the latest Word Press revision of that recipe just got saved as new URL with number extension (example: revision 4) when I was updating.

    So for example, instead of the original URL slug of "moist-maple-cake" it got converted to "moist-maple-cake-4". I want to revert back to the original slug but for some reason it is not working - the URL just reverts back to the new one with the number extension.

    http://www.thedeliciouscrescent.com/moist-maple-sweet-potato-walnut-butter-cake-5/

    I have tried to edit the slug within the post too but it is not working. I have lost the previous share counts. But more importantly I would like to have the original slug without the number extension. My belief is that Word Press treats both the versions as the same so that's why it may not be working. But I would like to revert to the old one.
    Thanks so much for any help.

    http://www.thedeliciouscrescent.com/moist-maple-sweet-potato-walnut-butter-cake-5/
    June 12, 2017 at 6:15 am #207642
    Victor Font
    Moderator

    Revisions in WordPress are not published. A WordPress update would not change slugs in the database. The only way to see URLs with the dash number is if you have multiple published posts with the same title. Any chance of restoring the database from an earlier version?


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble