Khürt Williams
Forum Replies Created
-
@manzoorwanijk @erania-pinnera @alinclamba
The problem was due to a conflicting rewrite rule in the
.htaccessfile:RewriteRule ^sn/?$ - [L]This rule blocked WordPress and the Jetpack Social Notes plugin from properly handling requests to
/sn/and its subpaths. Removing the rule and flushing the rewrite rules via **Settings > Permalinks** fixed the issue.That’s what happens when one has too many rules and reads too fast. PEBKAC!!!! Thanks to everyone for their troubleshooting suggestions—it’s much appreciated!
- This reply was modified 1 year, 5 months ago by Khürt Williams.
@manzoorwanijk please read the entire thread before responding.
Hello Manzoor,
Thank you for your response. I appreciate your efforts to assist with this issue.
As mentioned earlier in the thread, I have already completed the steps you’ve outlined:
1. Deactivated all plugins except Jetpack/Social.
2. Switched to a default WordPress theme.
3. Visited the **Settings > Permalinks** page to flush rewrite rules (without saving changes).Unfortunately, the issue still persists after following these steps. It seems like there might be another underlying cause.
I had disabled the Jetpack Social Notes feature because, as stated earlier, it was causing random redirects on my site. However, to facilitate troubleshooting, I will re-enable it temporarily. That said, I want to emphasise that the Social Notes functionality does not work correctly, even when the Jetpack Social plugin is active.
I would appreciate it if you could review the entire thread for additional context and let me know if there are any other specific troubleshooting steps or updates from your investigation.
Please let me know if there’s any additional information or specific actions required to assist with your investigation.
The issue started after 9 September 2024.
Existing social notes:
* https://islandinthenet.com/sn/119473/
* https://islandinthenet.com/sn/119369/
* https://islandinthenet.com/sn/116411/- This reply was modified 1 year, 5 months ago by Khürt Williams.
Steps Taken to Troubleshoot
- Checked for Conflicting Slugs
- Deleted posts and pages with slugs similar to
/sn/, such as/snagit-captures/and/snap-reality/. - This temporarily stopped some redirections but did not fully resolve the issue.
-
Claimed the
/sn/Slug
- Created a page titled “SN” with the slug
/sn/to reserve the URL. - Initially, this displayed the page content but did not integrate with the Jetpack Social Notes feature.
- Flushed Rewrite Rules
- Saved permalinks in Settings > Permalinks to regenerate WordPress rewrite rules.
- Temporarily added code to
functions.phpto flush rewrite rules manually:
`
add_action(‘init’, function() {
flush_rewrite_rules();
});
`
- Disabled Canonical Redirects
- Temporarily disabled WordPress’s canonical redirect feature using:
`
remove_filter(‘template_redirect’, ‘redirect_canonical’);
` - This had no effect on the redirection issue.
- Tested for Plugin Conflicts
- Deactivated all plugins except Jetpack to rule out conflicts.
- Reactivated plugins one by one while testing the
/sn/endpoint. - No specific plugin was identified as the cause of the issue.
- Checked .htaccess for Redirect Rules
- Examined the
.htaccessfile on the server for any redirect rules that might conflict with/sn/. - Found no rules in
.htaccessrelated to/sn/or Jetpack.
- Cleared Caches
- Cleared all caches, including:
- WordPress caching plugins (if applicable).
- Server-side caching through my hosting provider.
- CDN caches (e.g., Cloudflare).
- Investigated Using Query Monitor
- Installed Query Monitor to trace the redirection.
- Found that the redirection is occurring within WordPress’s core URL handling but couldn’t pinpoint the exact source of the conflict.
- Attempted to Adjust Jetpack Social Notes Slug
- Added the following code to change the Social Notes slug to
/social-notes/instead of/sn/:
`
add_filter(‘register_post_type_args’, function($args, $post_type) {
if (‘sn’ === $post_type) {
$args[‘rewrite’][‘slug’] = ‘social-notes’;
}
return $args;
}, 10, 2);
` - This did not resolve the issue;
/sn/still redirected to random posts.
<h2>Current Status</h2>
<p>
After attempting all the above steps, the/sn/endpoint continues to redirect to seemingly random posts on the site, such as/snap-reality/. Even reserving the/sn/slug with a page did not fully resolve the issue, as it conflicts with the intended functionality of Jetpack Social Notes.
</p><h2>Request for Assistance</h2>
<p>
I would appreciate guidance on the following:
</p>- How to correctly reserve the
/sn/endpoint for Jetpack Social Notes. - Whether this issue could be caused by a deeper conflict in how Jetpack handles custom post types or rewrite rules.
- Any steps or code snippets to debug or resolve this issue effectively.
<p>Thank you for your assistance!
- This reply was modified 1 year, 5 months ago by Khürt Williams.
@erania-pinnera @alinclamba I disabled all plug-ins leaving only Jetpack and Jetpack Social enabled. I tried Twenty Twenty Four, Twenty Twenty Sixteen, and other default themes.
The issue persists. Anything else I can try?
- This reply was modified 1 year, 5 months ago by Khürt Williams.
- This reply was modified 1 year, 5 months ago by Khürt Williams.
- This reply was modified 1 year, 5 months ago by Khürt Williams.
- This reply was modified 1 year, 5 months ago by Khürt Williams.
Forum: Plugins
In reply to: [Share on Bluesky] New with this plugin: New posts are not shared@alias79 your understanding of the settings is correct.
Bluesky Domain: Right now, the only Bluesky Domain is https://bsky.app.
Bluesky “Identifier”: The Bluesky “Identifier” is the same as your profile URL: e.g. for me that’s https://bsky.app/profile/islandinthenet.com.
Password: The password that is generated at https://bsky.app/settings/app-passwordsFor me that worked for several weeks and then somehow stopped working.
Forum: Plugins
In reply to: [Share on Bluesky] featuresThis does not directly address your question but please take a look at Social Notes with Jetpack Social, You can choose to not have a link appended.
- This reply was modified 1 year, 8 months ago by Khürt Williams.
Forum: Plugins
In reply to: [Share on Bluesky] Share to Bluesky not workingMy posts are showing up on BlueSky.
I used the following:
- Bluesky Domain: https://bsky.app
- Bluesky “Identifier”: e.g. https://bsky.app/profile/islandinthenet.com
- Password: A generated app password to log in to Bluesky from the plugin
- This reply was modified 1 year, 8 months ago by Khürt Williams.
- This reply was modified 1 year, 8 months ago by Khürt Williams.
- This reply was modified 1 year, 8 months ago by Khürt Williams.
Forum: Plugins
In reply to: [Share on Bluesky] Settings@clivesmith I think so. My posts are showing up on BlueSky.
I used:
- Bluesky Domain: https://bsky.app
- My profile URL: https://bsky.app/profile/islandinthenet.com
- A generated app password to log in to Bluesky from the plugin.
- This reply was modified 1 year, 8 months ago by Khürt Williams.
- This reply was modified 1 year, 8 months ago by Khürt Williams.
- This reply was modified 1 year, 8 months ago by Khürt Williams.
- This reply was modified 1 year, 8 months ago by Khürt Williams.
Forum: Plugins
In reply to: [ActivityPub] Bookmarklet seems to do nothingGreat. I look forward to the update.
Forum: Plugins
In reply to: [ActivityPub] Bookmarklet seems to do nothingHi @pfefferle, I use WordPress Classic Editor. Does this work only with blocks?
Forum: Plugins
In reply to: [ActivityPub] Scheduled and Updated Posts Showing up on the FediverseSigh. I am just trying to remove as much friction as possible from posting. I tend to write in bursts.I don’t think readers want to see 10-15 posts in their RSS feed all at once. And WordPress does not have a visual scheduler. So … what’s the solution?
Forum: Plugins
In reply to: [Share on Bluesky] SettingsInteresting. None of it works. I had the plugin setup as you described and nothing appeared in my BlueSky account.
Forum: Plugins
In reply to: [ActivityPub] Scheduled and Updated Posts Showing up on the Fediverse@pfefferle I just saw the note that you were sick. I hope you are feeling better.
The ActibityPub username is
[email protected]Activity-Object-Type: Note
Post content:<p><strong>[ap_title]</strong></p> <p>[ap_excerpt]</p> <p>[ap_permalink type="html"]</p> <p>[ap_hashtags]</p>Forum: Plugins
In reply to: [ActivityPub] Scheduled and Updated Posts Showing up on the FediverseActive Plugins. I am using the Classic Editor.
ActivityPub Version 2.4.0 by Matthias Pfefferle & Automattic | Auto-updates disabled Advanced Database Cleaner PRO Version 3.2.9 by Younes JFR. | Auto-updates disabled Akismet Anti-spam: Spam Protection Version 5.3.2 by Automattic - Anti-spam Team | Auto-updates disabled Classic Editor Version 1.6.3 by WordPress Contributors | Auto-updates disabled Code Snippets Version 3.6.5.1 by Code Snippets Pro | Auto-updates disabled CookieYes | GDPR Cookie Consent Version 3.2.4 by CookieYes | Auto-updates disabled Disable Emojis (GDPR friendly) Version 1.7.6 by Ryan Hellyer | Auto-updates disabled FSM Custom Featured Image Caption Version 1.24 by Fesomia | Auto-updates disabled GDPR Data Request Form Version 1.7 by audrasjb | Auto-updates disabled Health Check & Troubleshooting Version 1.7.0 by The ww.wp.xz.cn community | Auto-updates disabled IndieNews Version 1.2.3 by Matthias Pfefferle | Auto-updates disabled IndieWeb Version 4.0.4 by IndieWebCamp WordPress Outreach Club | Auto-updates disabled Jetpack Version 13.5 by Automattic | Auto-updates disabled Jetpack Boost Version 3.4.6 by Automattic - Jetpack Site Speed team | Auto-updates disabled Jetpack Protect Version 2.2.0 by Automattic - Jetpack Security team | Auto-updates disabled Jetpack Social Version 4.5.1 by Automattic - Jetpack Social team | Auto-updates disabled NodeInfo Version 2.3.1 by Matthias Pfefferle | Auto-updates disabled Post Kinds Version 3.7.3 by David Shanske | Auto-updates disabled Publish to Schedule Version 4.5.5 by Alex Benfica | Auto-updates disabled Redis Object Cache Version 2.5.2 by Till Krüss | Auto-updates disabled Syndication Links Version 4.4.20 by David Shanske | Auto-updates disabled WebFinger Version 3.2.7 by Matthias Pfefferle | Auto-updates disabled Webmention Version 5.3.1 by Matthias Pfefferle | Auto-updates disabled WebSub (FKA. PubSubHubbub) Version 3.2.1 by PubSubHubbub Team | Auto-updates disabled WordPress Editorial Calendar Version 3.8.5 by MarketingFire | Auto-updates disabled wp-Typography Version 5.9.1 by Peter Putzer | Auto-updates disabledForum: Plugins
In reply to: [ActivityPub] Scheduled and Updated Posts Showing up on the FediverseI am disabling the plugin. The number of problems is too many.