mike40033
Forum Replies Created
-
Forum: Installing WordPress
In reply to: “Service Unavailable” when attempting installThanks for your help so far. I found this error in /var/log/apache2/error_log:
[Mon Mar 20 20:57:22.737750 2017] [proxy_fcgi:error] [pid 25619] [client 116.212.202.58:38500] AH01067: Failed to read FastCGI header
[Mon Mar 20 20:57:22.737788 2017] [proxy_fcgi:error] [pid 25619] (104)Connection reset by peer: [client 116.212.202.58:38500] AH01075: Error dispatching request to :I couldn’t find any new log files created in the wordpress directory, even though I set WP_DEBUG and WP_DEBUG_LOG to true in wp-config.php
I googled the error message, but there were no log files at the locations suggested by https://serverpilot.io/community/articles/error-failed-to-read-fastcgi-header.html
Note that this error is happening when I try to install wordpress, so there are no plugins or themes to disable – wordpress is not yet installed!
Forum: Installing WordPress
In reply to: “Service Unavailable” when attempting installI’m hosting it on my own VPS, a Centos 7 virtual server running PHP 5.6. RAM is 2Gb, but I didn’t notice a spike in memory usage when I attempted to run the script.
Forum: Plugins
In reply to: [Postie] Postie keeps auto-publishing my postsMany apologies, Postie was not to blame (I think), but WordPress’ own ’email to post’ feature.
Hi all, thanks for your replies…
The solution I found that worked was simply to urlencode() the post slugs before putting them into the database.
They appear as legible characters in the WordPress post slug field, and in modern browser URL boxes, but under the covers they’re all urlencoded now.
Unless it was this PLUS some earlier tinkering I thought had not worked.
Thanks!
After all, you’d still have to decide what to do in the absence of a shortcode….
I suspect that most non-English speakers visiting a translated website would want links to stay on pages in their own language…. therefore most webmasters would want this too. But it could be an option in the admin pane..
You may consider this a humble feature request from a very excited new user 🙂
yes, or have the plugin look for links on the main domain, and rewrite those that refer to translated pages…
BTW – what happens if I modify a page that’s been translated?
Yay! Your tip about permalink structure did the trick!
I indeed have no posts, since I’ve done everything as pages, and my permalink structure was set to /%postname%/
‘Recently Popular’ is still doing bizarre things, and big-animals.com/language/fr/english-slug still gives 404 errors, but big-animals.com/language/fr/limace-anglais is fine. Never mind, there are plenty of ‘popular’ plugins out there.
Now the only issue left is the absolute URLs in the page body. Perhaps the best solution for me, if your software can’t do it automatically, is to use the ‘virtual hosts’ feature and change all the links from “http://www.big-animals.com/english-url/” to “/english-url/”
How does it work for other people? Or do most of your users just write blogs with no internal links?
Ok, I see I left one of your questions unanswered.
There are two sets of links in the sidebar.
The top set is generated using the ‘Menu’ feature in WordPress. Initially I had some trouble with this because of an incompatibility with a plugin. (Joomla/Mambo Converter, I think)
The bottom set is generated by the ‘Recently Popular’ plugin and its widget.
Look forward to seeing the guide!
Ok, here’s my list of plugins…
Akismet
Google Maps (responsible for translating [map:http://bla] into a map – the word ‘map’ gets translated
GTS Translation (hopefully this one is compatible with itself!)
Hello Dolly (not activated)
Joomla/Mambo to WP Migrator (not activated – I used this to move my site from Joomla to WordPress, then deactivated it)
Meta SEO Pack – I tried disabling this, but it had no immediate effect
Recently Popular – this produces the ‘popular’ list at the bottom of the sidebar – I also tried disabling this, but it didn’t immediately help.
WP Google Analytics
XML Sitemap Feed
YoutuberBizarrely, in the list of ‘most popular’, some URLs are translated and others aren’t – eg, http://www.big-animals.com/language/fr/the-worlds-biggest-mammals/ vs http://www.big-animals.com/language/fr/megalodon-le-grand-requin-la-jamais-etait/ in French. Some URLs of the form http://www.big-animals.com/language/fr/english-slug/ redirect to the French version (www.big-animals.com/language/fr/limace-anglais/ ?) with the translation, others redirect to a 404. It’s bizarre.
Thanks for trying to help me nut it out!
Thanks for the quick response!
The URL is http://www.big-animals.com/
PS – is there a step-by-step guide to virtual hosts? Do I make (say) fr.big-animals.com serve pages from the same folder as www,big-animals.com, or do I somehow need a whole new wordpress install?
Forum: Fixing WordPress
In reply to: Can't create menus… is this a bug?Yes, it seems to be the Joomla2WP plugin. I’ve emailed the plugin author, perhaps he’ll fix it in a future release…