Scheduled posts using the Rewrite & Republish feature in Yoast Duplicate Post show as a 404 for Jetpack email subscribers and ConvertKit
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
Issue moved from GitHub: https://yoast.atlassian.net/browse/IM-874
Reporter: Michael Brian Tina
- I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
When you use the Rewrite & Republish feature in Yoast Duplicate Post v4.1.1 and schedule a post, once the post has been republished, those subscribed through email (via Jetpack) receive an email of the new post. The URL in the email leads to a 404.
I tried testing this on one of my websites initially (disabling all plugins except for Jetpack and reverting to a default WordPress theme) and created a new post and published it normally. On one of my subscribed email addresses, I then received an email linking to the new post. It was showing the /?p=208 URL but when clicked on, it loaded the post just fine.
I then used the Rewrite & Republish feature on the same post and scheduled it for a few minutes later. Once it republished, I then received another email from Jetpack linking to the modified post.
However, when you click on the URL, it loads a 404 instead of the correct post.
To Reproduce
Step-by-step reproduction instructions
This text is here if the information was not retained when moving the issue.
Expected results
To show the correct link on the email
Actual results
For websites that use the Jetpack email subscription, their users would receive a 404 instead of a link to the post, which would affect their experience as a subscriber.
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Technical info
- If relevant, which editor is affected (or editors):
- Block Editor
- Gutenberg Editor
- Classic Editor
- Other:
- Which browser is affected (or browsers):
- Chrome
- Firefox
- Safari
- Other:
Used versions
- Device you are using:
- Operating system:
- PHP version:
- WordPress version:
- WordPress Theme:
- Yoast Duplicate Post version:
- Gutenberg plugin version:
- Classic Editor plugin version:
- Relevant plugins in case of a bug:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing Rewrite & Republish with a scheduled post and email subscriptions through Jetpack and ConvertKit, comparing the normal publication URL with the republished one. No source files or tests are named, so trace the generated subscriber links from the reproduction. Done means both services receive a URL that opens the correct post instead of a 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100