how can solve polylang plugin arabic problem - wordpress

I am using Polylang plugin in WordPress. Everything works fine on local, but when I move to the live server, I am facing the following problem.
If I try to switch language to Arabic, a lot of "???" are being appended to the URL and I can't reach the page URL in Arabic, because it gives me "This page isn’t working" error.

This page isn’t working - it's because you have those ??? in your URL. Based on what I researched, and other questions on WordPress community (https://wordpress.org/support/topic/arabic-letters-turns-into-question-marks/), it's a plugin/theme conflict with Polylang plugin.
So what I'd suggest to do is to turn off all of the plugins, then try to enable them one by one, testing again and again, so you detect the conflicting plugin.
If disabling all the plugins didn't resolve the issue, try switching to another theme temporarily. If it solves the issue, then the problem is somewhere in your theme's code files.
(do this on live.)

Related

Elementor shows Chinese characters on Menu

I have just installed Elementor on a Wordpress site but the design tools menu on the page editor contain Chinese symbols instead of the usual symbols. I have deleted the Elementor plugin and copied the folder from another Wordpress site which works OK, but this copy also shows the symbols in the new site.
It looks like a third-party conflict. Try deactivating your third-party plugins and then check by activating one plugin at a time. If this solve your issue. And, check your site language as well. If still it does not resolve the issue, I would advice to connect with Elementor Support Team

Strange Permalink Issue

I've been dealing with a really strange Permalink Issue on my WordPress site which runs Sage 8.5.1, previously setup by another developer.
Yesterday, I made a new homepage live on my site within Settings > Reading, and after doing this the permalinks within my site seemed to stop working completely. I was using the setup: /%postname%/, when switching to the generic: ?p=123, all my links worked again.
I did quite a lot of testing, checking .htaccess file, deactiving plugins, going back a code version and other things.
This morning, the last thing I tested was activating the generic WordPress theme and then testing my permalinks (/%postname%/), and they worked. I then reactivated by original theme built on Sage 8.5.1, and all my links worked again with the original permalinks setup.
Has anyone come across this before? Its very strange, and I can't see why deactivating the theme, and then activating it would fix the problem.
Turns out it was something to do with a custom post type I setup. I removed the custom post type, and created a new one based on the WordPress codex and that solved the problem.

Error displaying oEmbed Wordpress

I've a problem with my wordpress website. When I insert some url for being embedded, it's not working fine.
Here is the issue URL : https://www.duosia.id/windows/cara-mengekstrak-files-menggunakan-winrar-dengan-mudah
And here is the Screenshot :
When I try to visit the embedded url. It's return 404 not found. You can check the embedded url here, https://www.duosia.id/windows/cara-mengekstrak-files-menggunakan-winrar-dengan-mudah/embed/
I've try these common solutions.
Update everything including WordPress, the theme and plugins. Available updates appear in Dashboard > Updates.
Deactivate all plugins in case there is a conflict. If the problem goes away while all plugins are inactive, then reactivate them one by one to determine which is causing the problem.
Switch to the default theme (such as Twenty Thirteen) then try to do what was not working. If the problem remains, it is a general WordPress or hosting issue. If it happens only while using our theme, please let us know.
Clear cache in both your browser and in any caching plugins that you are using (also disable services like CloudFlare, if used with your website).
Revert code changes if you have modified the theme’s code. If using a child theme, reactivate the parent theme.
But, seems no one work.
The WordPress post embeds don't seem to be working on your site.
This URL shows a live example of the problem:
https://www.duosia.id/windows/whatsapp-for-pc/
The two embeds present in that URL are returning a 404, therefore, oEmbeds are not loading properly and showing the 404 page:
https://www.duosia.id/windows/facebook-messenger-for-pc/embed/#?secret=kMPv636bx1
https://www.duosia.id/windows/line-for-pc/embed/#?secret=65m4VpxiYi
Have you tried testing those URLs in the plugin "Rewrite Rules Inspector"?
You should see something like this for any of the "embed" URLs:
index.php?name=$matches[1]&embed=true
Also, have you tried flushing the rewrite rules in WordPress or maybe setting the permalink structure to a different/default one (right now you seem to be using a structure of "category/post-name") to see if it changes anything?
For the file that you are embedding, are you uploading it to the Media Library or some other plugin?
First I would check on the server to verify that the file you are looking to access does exist.
Once you know that the file does exist, then repeat the steps you have listed again.

wpml languages redirecting to default

I'm not too familiar with WPML and I site I am working on is using it. Everything was working fine, but now it has been noticed that when you go to a different language domain (e.g. www.domain.com/es/pagename) the site seems to rewrite the address to (www.domain.com/pagename) removing the language directory from the web address making some language pages unaccessable.
This is not occurring on all pages though.
I checked the htaccess file and the rewrite are their.
Any help or information on this would be great.
Try check settings of WPML plugin http://take.ms/hFuqg
Problem ended up being 'Custom Permalinks' plugin. Doesn't play nice with WPML.

Why I am redirected to different plugin page url after activating any other plugins in wordpress?

Plese help me figure out this bug.
Problem:
I had installed a syntax highlighter plugin named "Enlighter". But it didn't work as I expected. So I went ahead and deactivated and deleted the plugin files.
Now the problem is that whenever I am trying to activate any other plugins it is redirecting me to the "enlighter" about page. Here's what my url looks when I try to activate any plugins: http://localhost/wp/wp-admin/admin.php?page=Enlighter-About
When I tried to activate TinyMCE Advanced Plugin it is redirected to the above-mentioned URL. You can read the error message in the screenshot attached. However, when I press the back button I can see the "TinyMCE" plugin activated.
I want to know how to fix the problem so that it is redirected to its relevant plugin page instead of enlighter's plugin page.
Thank you!
Okay, So after sharing this problem with "englighter's" plugin developer on the WordPress forum he asked me to clear the browser cache and php op-code cache.
So I resolved this problem by clearing all the browser cache and then everything worked fine for me.
Here's our discussion thread on WordPress https://wordpress.org/support/topic/wrong-plugin-page-redirection-upon-activating-any-plugin/#post-9302622

Resources