douglaskastle
Forum Replies Created
-
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] RSS/XML feed linkingUpdate:
I have been looking at this just from a raw html perspective.
My problem is that I have a podcast, (using podlove), and the rss link is given as a link, not a file. That link has been given out to a tone of podcast directories and it is an unbelievable pain to change it.
The podcast website is currently under wordpress, but I want to move it to a static site, I can redirect the domain name no problem, it is getting that link to perform under the static site, like a link, using only html is proving impossible. I am using github pages for hosting, so I don’t have the ability to set up server rewrite rules in there to create a 301.
I tried the html to xml redirect, it works in a broswers, but most rss parser tools do not respect this. They want a 301 redirect or nothing. It does not appear to be able to do a 301 redirect in a static site using html.
In my case I am using cloudflare for my domain hosting, I am able to set up a 301 URL redirection here, this gives me the type of link resolution I am looking for. This solution may not work for other people.
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] RSS/XML feed linkingYes there are 2 examples in the linked page, this is a generic rss feed
https://gurucomedy.podonaut.com/comments/feed/
and this is the podlove generated one:
https://gurucomedy.podonaut.com/feed/podcast/
Both fail as “links”, but if you add index.xml to both you will find the correct feed.
I practiced last night and added an index.html in parallel with a redirect to the xml and it seemed to work:
https://stackoverflow.com/questions/5411538/redirect-from-an-html-page
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=https://gurucomedy.podonaut.com/comments/feed/index.xml"> <title>Page Redirection</title> </head> <body> <!-- Note: don't tell people to <code>click</code> the link, just tell them that it is a link. --> If you are not redirected automatically, follow this <a href='https://gurucomedy.podonaut.com/comments/feed/index.xml'>xml</a>. </body> </html>
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] Cron site generationOK that seemed to be the all i needed to solve my problem.
There is a plugin called WP Control (there are other ones too but that is the one I used), it allowed me to set up the WP cron task from the dashboard. What I was missing was the “Hook Name”, which is what you gave me in your reply,
simply_static_site_export_cron
.This give me the cron like operation I was looking for.
WP Control also provides the ability to define time and periodicity of the job.
I recommend you add some of this detail, mainly the hook name, to some of the documentation for Simply Static.
- This reply was modified 3 years, 6 months ago by douglaskastle.
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] Cron site generationI had a read about wp cron support for multi-site, this seems to work:
wp cron event schedule simply_static_site_export_cron --url=example.com wp cron event run --due-now --url=example.com
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] Cron site generationForum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] Cron site generationMaybe some of the features would become available if wp-cli support was added, which is being requested over here:
https://patrickposner.dev/feature-requests/wp-cli-support/
However, being able to set it up through the plugin interface would be ideal
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] RSS/XML feed linkingHere is a page on the myriad ways of redirecting. They don’t recommend the html way, but in a static site I think that is the only way available?
Forum: Plugins
In reply to: Login LockRead the next topic on the list it covers all your questions:
Interesting result. Maybe this is a discussion for another part of the forum but I have been thinking about the ongoing support for plugins. A once great and maintained plugin that just rots. I wouldn’t have known it was dud unless I consulted here, seems potentially dangerous. Consider the case of a person writing a good and useful app, then once uptake is sufficient introducing a bug that allows hackers to own your website. To me it’s a case of when not if. I have a bad feeling about the long term future of WordPress from a security perspective. This plugin is a good example.
Any way glad to see the plugin pulled and will investigate the alternate plugin to see if it is a workable alternative, I will report any bugs or questions there.
I have run into this problem too many times on multiple wordpress installs, I have disabled this plugin.
Also very surprised a website dedicated to security would let their SSL certificate expire.
Forum: Plugins
In reply to: [Hide Login+] [Plugin: Hide Login] Not working on redirectsYeah I got mine to work by deleteing the .htaccess and the plugin regenerated a new one.
I did it with a clean install of wordpress, and it didn’t work. The issue seems to be that the plugin is appending to the existing .htaccess and not rewriting. You can see it above where it repeats some commands, for example:
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d
I am happy that i got it working, but for a new person downloading this plugin, it is still broken
Oh cool, I didn’t know they had exposed it that way as well, that makes life so much easier. There’s me off trying to do it from the command line.
Forum: Plugins
In reply to: [Hide Login+] [Plugin: Hide Login] Not working on redirectsOK that seems to have fixed part of my problem.
Maybe I am confused on correct operation. With this corrected plugin when it is set to ‘on’ on the config page but hide mode is disabled the login slug you enter now correctly redirects to wp-admin.php.
https://example.com/holodeck ->
https://example.com/wp-admin.phpHowever when the hide mode is enabled and you try and go to the page created by the login slug, you only get the front page, with this in the url bar:
https://example.com/?&redirect_to=https://example.com/wp-admin/
I thought, maybe inaccurately, that it would bring you to the login page.
Is it possible to get to a login page if hide mode is enabled? If not how is one supposed to administer the site.
Forum: Plugins
In reply to: [Gigs Calendar] [Plugin: Gigs Calendar] Stuck loadingI’d just like to add that this plugin is broken for me as well, I have one website that was exisiting and another I just setup today, the plugin doesn’t work for either. Thanks