plittlefield
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Restriction on sub sub pages does not workI have figured out the problem.
Restrictions on sub sub pages does work, but NOT if the page is a Breakdance page builder saved page!
Is this a known bug and if yes, will it be fixed or is there a trick to making a Breakdance page builder page restricted?
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Login Page Message Incorrect?I have figured this out now and will mark this as RESOLVED.
Ah ha, Claude AI to the rescue … it needed to be an array 🙂
add_filter( 'slim_seo_breadcrumbs_links', function( $links ) {
$links[0] = [
'url' => 'https://new.mydomain.co.uk/home/',
'text' => 'Home' // or whatever label you want
];
return $links;
} );All sorted!
- This reply was modified 5 months, 1 week ago by plittlefield.
I tried this but it causes a critical error …
[18-Dec-2025 19:56:42 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/wp-content/plugins/slim-seo/src/Breadcrumbs.php:101OK, thanks.
OK, so do I need to buy a DearFlip STARTER licence in order to perform the migration?
Great, thanks Anh.
I have updated my Wiki page with the main ones and linked to that PHP file on GitHub …
https://wiki.indie-it.com/wiki/WordPress#Slim_SEO
You may now close this ticket.
Cheers,
Paully
Great, thanks Anh,
I would have never figured that example out 🙂
So, I am guessing that for ‘Posts’ then the rewrite rule would be …
rewrite ^/sitemap-post-type-post.xml$ /index.php?ss_sitemap=post-type-post last;Is there a part of your plugin code that I can get the rest of them please?
Then I can edit my Wiki page 🙂
https://wiki.indie-it.com/wiki/WordPress#Slim_SEO
- This reply was modified 10 months, 1 week ago by plittlefield. Reason: added link to my Wiki page
?
Yay, all working!
Here is the code for anyone else …
# Rewrites for Slim SEO XML Sitemap
rewrite ^/sitemap.xml$ /index.php?ss_sitemap=index last;
rewrite ^/sitemap-post-type-page.xml$ /index.php?ss_sitemap=post-type-page last;… one final question – what is the rest of the ss_sitemap types please?
e.g. posts, categories and so on.
Thanks very much 🙂
That’s great!
Thanks Deepak.
Thanks.
We are half way there 🙂
I’ve got the index working …
… with …
rewrite ^/sitemap.xml$ /index.php?ss_sitemap=index last;But when I click that link for ‘sitemap-post-type-page.xml’ it gives me a blank screen. In fact, the [matches] line caused the server to crash. I have GUESSED at this for the line …
rewrite ^/sitemap-post-type-page.xml$ /index.php?ss_sitemap=pages last;… but that does not work either.
Can you help?
What is the …
index.php?ss_sitemap=whatever… to see the list of pages?
Can you give me a working site example please?
I can then edit the NginX config and make it work!
Paully
- This reply was modified 10 months, 3 weeks ago by plittlefield.
Fabulous … great work, thanks!
Thanks Anh, that would be good.
I appreciate your comment on adding ” options for everything” but to be frank I think people are not dumb and if there’s a line explaining it or a little (i) to hover to explain then people will love that!
Plus, a small audience enticing blog post about “author names” would be good for your business.
😉
So, by default then … a user’s login username is shown. Thanks for letting me know.
However, I’m not the only one using this plug-in and this simple addition (plus a note on the settings page for Slim SEO about what’s displayed) would be a good thing …. yes?
So, please can you implement the option and add a warning to people?
( FYI, loads of login attempts showing on Wordfence since installing the plugin)
Thanks!