André Brückner
Forum Replies Created
-
My vote for this feature!!
Regards,
AndréForum: Plugins
In reply to: [Email Before Download] Erratic attachmentsThe php function only accepts english date strings, see https://www.php.net/manual/en/function.strtotime.php
Thank you, plugin developers.
Don’t ask for my workaround. It’s ugly. It works. Still thinking about a proper fix.
Forum: Plugins
In reply to: [Email Before Download] Erratic attachmentsGetting closer: there is a line
$fileDate = date('Y/m', strtotime($fileDate));converting a date string to a part of file path.Printed the variable before and after, and from the debug.log I can see:
16. Mai 2019 converts to 1970/01
13. September 2018 converts to 2018/09Both date strings are German, but the second one is identical to English. So the date strings that are different in German cause the error.
Forum: Plugins
In reply to: [Email Before Download] Erratic attachmentsAnother insight: when logging the outgoing mails with plugin WP Mail Logging https://ww.wp.xz.cn/plugins/wp-mail-logging/ I can see that in case of an error the attachment is tried to be read from a wrong location:
/dlm_uploads/1970/01/myfile.pdf
instead of where it is really saved:
/dlm_uploads/2019/05/myfile.pdf
Some fallback to the beginning of unix calculation of times at work, I guess.
Forum: Plugins
In reply to: [WP Speed of Light] CSS Minimize crash design since 2.4.02.4.1 fixed a crash after update to 2.4.0 just half an hour ago.
Thanks for the speed of light (approximately) fix!
AndréForum: Plugins
In reply to: [Redirection] Help! Missing page after deleting redirectMaybe I didn’t get the problem, but if I request http://seeleyjames.com/books/ up comes a books page, what seems to be ok.
Best case: did you get it fixed already?
Forum: Plugins
In reply to: [Redirection] Redirection of .pdf links not workingHi Karissa, confirmed! Wanted to test the hypothesis, that PDFs are not working – and they don’t. Same with a .jpg file. I tried exact match as well as regular expression.
Maybe files in directories “/wp-content” or “/uploads” are excluded from redirection?
Will try to check this out ..
Forum: Plugins
In reply to: [Redirection] Redirect all link after /XXX/…Hi Florian,
I’m not sure about what you mean by “/xxx/”. As you talk about “old” links, does it refer to a date pattern in a URL like http://example.com/2007/05/something/ and you want to redirect all links “older” than let’s say year 2008?
Then John’s example on his plugin page https://urbangiraffe.com/plugins/redirection/ needs to be refined a bit …
His example goes like this:
/(\d*)/(\d*)/(.*)
matches URLs like:
/2007/05/some-url/If you want to match not every year (as in John’s example), but let’s say all years before 2008, we must be more precise in the year pattern than saying “any number of any numbers”. Assuming that we can ignore dates in the past century, the pattern goes like this:
/200[0-7]/(\d*)/(.*)
The squared brackets match all numbers from 0 to 7, so the pattern matches the years 2000 to 2007.Hope this little example helps you somehow ..
Cheers,
AndréForum: Plugins
In reply to: [Redirection] Millions of entries in 404 logHi, in tab “Options” you may configure logging behavior. You can limit the time period of logs or even set them to “no logs”. Available for both “Redirect Logs” as well as “404 Logs”.
Cheers,
AndréHi, I’m trying out this plugin actually, so I’m interested in everything, that could go wrong 🙂
When exactly does this message occur? Are you trying to define new redirects or is it even right from the start, when you open the Tools->Redirection page?
Cheers,
André