Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 9 replies, has 2 voices.

Last updated by Kor 1 year, 8 months ago.

Assisted by: Kor.

Author Posts
October 5, 2023 at 7:31 am #14517549

bryanC-16

Tell us what you are trying to do?

I was in touch about this before and I added the snippet to my functions.php code. However, I'm still encountering internal server errors when I attempt to create/edit/publish a translated post to local geo versions after using the code below in my .htaccess file and even impacted the Redirections settings in the Rankmath plug-in that I'm using in my site as well.

Can you look at the live version of my site and I will provide a translated post please? I've included debug info below.

I can also send live access so you can test and navigate if you provide me an email.

Thanks!

October 6, 2023 at 4:31 am #14523883

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for contacting WPML support. Sorry, I'm not so sure what snippet you inserted into your functions.php file that caused the issue you had there. Is the code given by our support agents? Or is it from an errata or documentation?

October 6, 2023 at 8:10 am #14525129

bryanC-16

Hi Kor,

This was given to me via this ticket(https://wpml.org/forums/topic/internal-server-errors-2/
).

https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/

Can you suggest another way to resolve the internal server error when I create/edit/publish from the local geos? We tried the errata, but it just impacted the Redirection settings from the Rankmath plug-in that I am using for my website.

October 6, 2023 at 1:31 pm #14528681

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response. Unfortunately, we don't have an alternative code for this situation, and it doesn't appear to be a recognized issue affecting the functionality of the RankMath plugin.

To clarify, could you confirm if the code provided in the errata on this page functions correctly when used outside of(without) RankMath? (Link: https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/)

Additionally, could you direct me to where I can observe the redirection issue that arises when utilizing the code from the mentioned errata in conjunction with RankMath?

October 9, 2023 at 6:01 pm #14542073

bryanC-16

Hi Kor, Here is the link to the staging site of my website. If you can give me your email, I can give you access to it so you can test it.
hidden link

October 11, 2023 at 5:40 pm #14561201

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

When I deactivated most of the plugins except WPML plugin and it worked fine. I'm able to publish this post without issues hidden link

So, it seems there is a 3rd party plugin preventing you from publishing a post.

Since I've already deactivated the plugins, could you reactivate each plugin one at a time here hidden link to see which one is causing the issue you had there?

Also, please update the WPML plugin to the latest version before testing it further.

Screenshot_110.png
October 15, 2023 at 6:07 am #14578567

bryanC-16

Hi Kor,

I will try this suggestion. Can we keep my ticket open until I can successfully locate the plug-in that's causing the internal server error? Thanks!

October 16, 2023 at 5:57 am #14581297

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Sure, please let me know how it goes.

October 24, 2023 at 5:34 pm #14650161

bryanC-16

Hi Kor,

Apologies, for the delayed update on this one. I tried the suggestion you mentioned. I deactivated all plug-ins except the WMPL SEO and WPML Multilingual CMS. And below are my testing results.

1. I created/edited/published/updated/republished a test page.
2. No internal server error while editing and publishing
3. Publishing pushed thru, but when the live/preview URL is accessed it goes to a page not found post.

Live URL: hidden link

Preview URL: hidden link

Did you encounter the same thing during your testing? Please advise. Thanks!

October 24, 2023 at 6:10 pm #14650369

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I resaved the permalinks here hidden link and it's fixed hidden link . Could you check?

The topic ‘[Closed] Internal Server error’ is closed to new replies.