Viewing 9 replies - 1 through 9 (of 9 total)
  • fruitfly

    (@fruitfly)

    Might want to try this plugin:
    https://fucoder.com/code/permalink-redirect/

    I haven’t tried it myself, but I’ve seen others sing its praises. ??

    lefils

    (@lefils)

    Hello,

    You just need to modify your post slug.
    Manage>Posts>Edit>Post Slug : then enter whats-up-etc… As it appears in your new link.

    fruitfly

    (@fruitfly)

    LeFils: Trying to go back and updated the slug for the several years of posts on the site would be a pretty large task. Plus, I think the structure has changed more than just to use the slug, so I don’t think that would do it – but I could be wrong about that. I’m tired and not thinking entirely clearly at the moment. ??

    fruitfly did you ever resolve your issue? i’m sitting in the same boat with links going out to a few different pages. i know that if i changed my link structure older links would break.

    I’m not the one with the issue isdereks. I offered a solution – but I just went back and reviewed the details of the plugin vs. what the original poster is trying to achieve, and I don’t think that will do it. (It was late, I was tired. Ugh.)

    In fact, I did quite a bit of searching, and can’t really find a good answer to the issue.

    Anyone else have the answer?

    Numeric permalinks as opposed to Date and name based ones

    woulda solved this in an instant

    Thread Starter thebloke

    (@thebloke)

    Hi Guys,

    Thanks for all the suggestions. This is the scoop. I think once upon a time, I had numeric permalinks set. And I did some trackbacks to other sites. Then when I changed over to date and name based, the numeric permalinks were still working. I thought cool. Two ways to access the posts! But somehow in my blog migration process and/or update to WP something changed and I suspect that it might have to do with .htacess file, but I am not knowledgeable enough about either permalinks nor of WP nor of .htacess file. Also I read the description about the plugin that FruitFly suggested, and even though I doubted it was the right solution, I downloaded and installed it just for the heck of it. Obviously it didn’t resolve the issue. Does anyone think that this issue could be resolved?

    Thanks!
    TheBloke

    I think (oh, how I could be wrong…) that the numeric (the ?=23 ending) links always work because that’s actually a PHP query. The permalink structure is a rewrite based way of making it look prettier (or making it more search engine friendly).

    When you change the permalink (which is not a PHP query) it doesn’t translate the old one to the new one.

    In my searches, I saw a few mentions of using .htaccess redirects to do it, but I’m not sure how you’d construct a redirect for your old structure to your new one. (Or even if you can.)

    Someone who is way better with .htaccess stuff might be able to help… I’m really hoping someone will jump in here. ??

    Thread Starter thebloke

    (@thebloke)

    Hi Fruitfly,

    You are right. The PHP way with the ?=nn works. What I am saying in my previous post is that I activated numeric permalinks that makes it work this way:

    https://intheouter.net/archives/nnn

    But then changed it to date and name based. However, some trackbacks that are left at different blogs are linking back to the numeric permalinks and are hitting a 404 page on my site.

    As I said before I think it used to work. That is both the …/archives/nnn and the date/name-of-post ways used to work (I think). But now, definitely, it doesn’t work anymore and the numeric links are hitting a 404 error on my site.

    Am I dreaming (that both used to work)? Can anyone help?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How do I get WP to recognize old Permalink structure.’ is closed to new replies.