billbennett
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Another troublesome regex apostropheThanks John
Thanks that’s helpful.
I played around with this out of curiosity yesterday and found that is the source is:
/challenging-maslow
the URL redirects anyway.
I realise this isn’t optimal, but is there any practical reason why I shouldn’t use this appraoch when I find other 404s to posts with apostophes or quotes?
Forum: Plugins
In reply to: [Redirection] Problems with apostrophes and quote marks in URL stringsOK. I fixed it. Seems if I just use
[']that’s the correct regex expression.
Forum: Plugins
In reply to: [Redirection] Problems with apostrophes and quote marks in URL stringsI tried it again the the neutral apostrophe, that didn’t work either.
Forum: Plugins
In reply to: [Redirection] Problems with apostrophes and quote marks in URL stringsHmm, like this:
/earth-hour-reminder-auckland.*[’]s-power-still-needs-fixing/That didn’t work.
Forum: Plugins
In reply to: [Redirection] Problems with apostrophes and quote marks in URL stringsThanks, testing that now.
Forum: Plugins
In reply to: [Redirection] Problems with apostrophes and quote marks in URL stringsWhat about when the incoming URL includes the special character.
This incoming URL:
https://billbennett.co.nz/earth-hour-reminder-auckland’s-power-still-needs-fixing/
Should redirect to:
https://billbennett.co.nz/earth-hour-reminder-aucklands-power-still-needs-fixing/
If I write the source URL as:
https://billbennett.co.nz/earth-hour-reminder-auckland%27s-power-still-needs-fixing/
The Redirection plug-in doesn’t pick up the redirect. Nor does the original.
Forum: Plugins
In reply to: [Redirection] Best practice for deleted posts and pagesIs it possible to use Redirection to send a 410?
Forum: Fixing WordPress
In reply to: Forcing Twitter to chose a better default pictureThanks Denzel
I was hoping to code it rather than use a plug-in, but this might fit the bill. One thing, it says in the plug-in blurb:
“Though its not a good practice but you could include a default Image, its specially helpful for home page.”
Why is it not good practice?
Forum: Plugins
In reply to: [Post Kinds] What do I need to do to be able to like posts?Hi David
I tried following the same approach for a reply, but got an error when I used the retrieve button.
Forum: Plugins
In reply to: [Post Kinds] What do I need to do to be able to like posts?Thanks David,
I think I’ve got that now. See https://billbennett.co.nz/2017/07/07/the-ipad-that-should-have-been/
Forum: Themes and Templates
In reply to: [SemPress] Why does get_bloginfo not work?Yes, all done.
Forum: Themes and Templates
In reply to: [SemPress] Why does get_bloginfo not work?Thanks both @subrataemfluence and @pfefferle.
Very helpful.
Forum: Themes and Templates
In reply to: [Independent Publisher] Custom colour not stickyYes, thanks. I think the issue was down to the cache not refreshing on request.
Forum: Plugins
In reply to: [Redirection] How to respond when redirect notices probingI guess the report in redirect is something of an eye opener.
Forum: Fixing WordPress
In reply to: Fixing broken links in Facebook and Twitter comment avatarsThanks Nebu John. I don’t think it is all avatars, but I do think it’s a question for the Jetpack team. I have a premium account, lets see how that works.