acann
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom RSS Feed for default WPML languageOkay, so the Spanish posts are NOT showing up in example.com/feed is that what you’re saying?
If that is the case, then I don’t have to do anything and that is fantastic! If that is what you’re saying (can you confirm) then I will proceed with the language changes to the site and once I’ve confirmed it is working I will come back and mark this as resolved. Thanks Vuk, sorry for the confusion on this.
Forum: Fixing WordPress
In reply to: Custom RSS Feed for default WPML languageBut…there is no problem, nothing is broken right? Are you saying that wordpress is supposed to be automatically filtering all non-english posts out of the default RSS feed when WPML is configured as I’ve indicated? That is not how WPML explained it, they said wordpress includes all posts (regardless of language) in the main http://mydomain.com/feed RSS feed.
I understand changing the theme when something is broken, but that isn’t the case here. This is a case of needing to customize an RSS feed to do something it doesn’t do by default.
Forum: Fixing WordPress
In reply to: Custom RSS Feed for default WPML languageThis isn’t live yet, so I haven’t tested anything. I need to figure out how to do this before I add the second language to the website otherwise it will cause issues with the auto-responder email campaign. I can create a french campaign driven from the http://mydomain.com/fr/feed rss feed, but my existing (english) campaign which is driven from http://mydomain.com/feed/rss will include by default all languages unless I customize it to filter out the french language posts, or create a custom RSS feed which only contains english language posts.
What would changing the theme do? This has nothing to do with the theme, it has to do with the WordPress rss feed including all posts by default into the rss feed. Am I missing something?
Forum: Fixing WordPress
In reply to: Custom RSS Feed for default WPML languageWPML advised that this is expected behaviour. The theme is not related to the RSS feed, and it is fully compatible with WPML. The default RSS feed in wordpress always contains all posts. What I need is to do is either
A) Alter the main feed so that it EXCLUDES posts marked by WPML as French (fr-FR)
B) Create a custom RSS feed which only displays posts marked by WPML as English (en-US)
C) Some other way to accomplish this (ideally without a plugin)Forum: Fixing WordPress
In reply to: Custom RSS Feed for default WPML languageCan anyone help with this?
Forum: Fixing WordPress
In reply to: Website slow loading time to first byteNo problem, glad to help, yeah the move to a cloud linux plan vs windows really helped. If you do and it helps, let me know. In either case I’d love to hear how you make out. I spent many long hours arguing with the webhost and running tests, disabling plugins, etc. I even spun up a blank wordpress and it still showed the issue (just not to the same extent) in an attempt to prove to the webhost it was on their end…to no avail. I just tried going to your friends site and experienced the same very long (15+seconds) blank screen waiting, then it loads nice and fast once the first byte comes through, same issue I was having for sure.
No, I’ve never used Network Solutions before. Checked out their website just now, don’t see much that would entice me to use them, speaking personally.
Your friend may also want to move from WordPress 4.5.4 to 4.6.1, not that it will change performance but best to stay on the latest stable release. π
Forum: Fixing WordPress
In reply to: Website slow loading time to first byteNo it was the same host and they also handle the DNS/domain registration, etc. But obviously it was a different server, and in fact a completely different infrastructure so it was as if it was a new host.
Are you sure you are on apache? That pingdom test you linked above shows
DateMon, 07 Nov 2016 18:06:57 GMT
Server: Microsoft-IIS/8.5
X-Powered-By: PHP/5.6.22 ASP.NET
Link: <http://alps-tours.com/wp-json/>; rel=”https://api.w.org/” <http://wp.me/P7GjG1-1c>; rel=shortlink
Content-Length: 28051
Content-Type: text/html; charset=UTF-8Microsoft IIS makes me think it’s actually on a windows box.
Also I have another thread in here where I was asking if anyone thought it could be related to wp-json (since that is the link for that first call) but it didn’t go anywhere.
So, are you using page caching? The last thought I had before I abandoned this search (due to the issue going away) was that which you mention above, that perhaps it is that first database query that is taking so long, then the query is cached so that subsequent requests are fast until that database query expires. I was unable to verify if that was the case, but if you have page caching enabled with a plugin (W3TC, etc) or at the server level (Varnish, etc) then I think it would avoid the need for that first GET to require a database query, hence your TTFB issue would disappear entirely.
Last thought, maybe upgrade from PHP5.6 to PHP7, I hear there are some substantial performance optimizations, a friend told me relating to database caching as well…
Forum: Fixing WordPress
In reply to: Website slow loading time to first byteYes actually. The first time after a “while” would have a very long TTFB (the first GET when you look at a waterfall view of the resources which load), and then often subsequent tests made shortly thereafter would not show the issue.
There are several things my webhost tried, one of which was specifying the database location by IP instead of “localhost” which apparently can cause a delay on windows servers. In my case, once I had moved from windows IIS to apache AND enabled a caching plugin like W3TC, the issue went away as if by magic.
So, unfortunately I have no idea what causes/caused this issue. Noone was able to figure it out. I was just lucky to find a server/CMS configuration which avoids it.
Do you have a caching plugin enabled? Does it use browser cache? Maybe the browser cache has a short expiry so overnight it expires and the following day the first time you load the page it’s downloading all the resources again? Do you use page caching and if so, what is the expiry and does it rebuild automatically (i.e. could it be the first time you visit triggers it to build the page cache and then subsequent views load from the page cache, then overnight it tears down and you start over?
I doubt any of those are the issue, but make sure you do have a caching plugin enabled and configured well (my experience is that without a caching plugin, wordpress simply will not perform quickly enough no matter what else you try to optimize). Failing that, assuming you are on an Apache server and your webhost has already investigated the TTFB issue…I have no idea, sorry. If you figure it out, please let me know, I spent a lot of time trying to identify the cause so I would LOVE to know what it was!
Forum: Fixing WordPress
In reply to: Best Practices Procedure Migrating from Windows Host to Linux HostClosing topic as no one responded and migration has occurred.
No idea why but this seems to happen intermittently after updating the Yoast plugin, and then it resolves itself within a few days. Since noone responded to this ticket, and it is generally fine, I’ll mark this as resolved.
Forum: Fixing WordPress
In reply to: Website slow loading time to first byteI’m marking this as resolved although nothing ever really was resolved. I ended up migrating the website from a Windows IIS server to Apache, and that combined with a caching plugin has yielded good results. So, I’m not sure why the TTFB was/is slow without a caching plugin, but I gave up.
Forum: Plugins
In reply to: [AMP] AMP Error The attribute 'rel' may not appear in tag 'div'Hi Hans, sure here is the excerpt from the ET post (you can find it in the ET forum by searching for “Monarch Issue with AMP Plugin” and it should be in the first few results (look for the post with that exact title).
Instructions from Elegant Themes:
Please open monarch.php file and remove the rel only from this code:
<div data-social_link="%3$s" rel="nofollow" class="et_social_share" data-social_name="%1$s" data-social_type="%4$s" data-post_id="%5$s" data-location="%6$s">and from this one:
<div rel="nofollow" class="et_social_open_all" data-location="%1$s" data-page_id="%2$s" data-permalink="%3$s" data-title="%4$s" data-media="%5$s">It shouldn’t impact with anything else, I guess this code can be completely removed from Monarch. I will add this issue into our issues list, our Dev team will check it.
Just to be clear, you remove the entire text
rel="nofollow"As for the production Monarch, that response was in July, and I’ve yet to see this making it’s way into a Monarch release so I have been manually doing it after each update.
- This reply was modified 9 years, 9 months ago by acann.
Forum: Plugins
In reply to: [AMP] Show Widgets on AMP pages onlyAny suggestions?
Forum: Plugins
In reply to: [Limit Login Attempts] First Login Fails with Correct CredentialsThis stopped happening, so I’ll just mark this as resolved. As has been indicated this plug-in is old so this is probably a pointless thread anyway. Thanks for the responses.
- This reply was modified 9 years, 10 months ago by acann.
Forum: Plugins
In reply to: Correct code in functions.php to disable EmojiIs this the correct area to be asking this question?