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.

This topic contains 12 replies, has 2 voices.

Last updated by Alejandro 4 months, 2 weeks ago.

Assisted by: Alejandro.

Author Posts
July 18, 2024 at 6:07 am #15969852

chen-hsienk-2

Background of the issue:
I am trying to resolve issues with my WordPress site using WPML. Specifically, I am facing problems with page translations and URL structures.

Symptoms:
1. Page not found for my translated page of (/mind-blog), only the original language works. 2. URL is translated to hidden link, but I want it to be hidden link.

Questions:
How can I fix the 'Page not found' issue for my translated page (/mind-blog)?
How can I change the translated URL from hidden link to hidden link?

July 18, 2024 at 7:35 am #15970499

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

We can only handle one issue per ticket so i'll try to answer them both and then we can concentrate on one issue alone and split the ticket with the other issue in case it's not solved.

1) Is that page "mind-blogs" the "blog" page setup for the site? I mean, is it setup as the blog for that website in the WordPress options and NOT in the theme options (let me know instead if they are setup in a theme's option).

2) If you don't want the titles to be translated automatically based on the original title, then you have a few ways to go about it. All are explained on this guide i think the best one is to have the option to translate it to however you want (option "translate"):

- Go to WPML → Settings.
- Scroll to "Translated documents options".
- Under Page URL, choose the Translate option. Click Save.
- Translate the slug on each page when you translate its content

However, if ALL the slugs in your site should NOT be using the chinese characters, then you might want to encode its URLs so they all appear in the latin alphabet.

- Go to WPML > Languages > Edit Languages.
- Enable "Encode URLs" for the Chinese language.
- Save the changes.

None of these options will affect already translated slugs, but for the you can edit the translation directly and change it manually as you wish.

July 18, 2024 at 7:58 am #15970700

chen-hsienk-2

Hi,

I Solve the URL problem

And for the blog. i think i didnt set any thing.

i think it setup in a theme's option

July 18, 2024 at 8:12 am #15970826

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

To investigate the issue, I kindly ask you to grant me access to the wp-admin area of your website.

I have enabled the necessary fields on my end so you can provide them to me in a secure and private manner. This way, only the two of us will be able to view them.

If possible and for your safety, i'd suggest you create a new user (a fake one with a fake mail) that you can later delete when the ticket is closed.

July 18, 2024 at 11:52 am #15972225

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

I'm a bit confused here. i went to you site and there is no "mind-blog", but there's a "blog" page which is empty.

It's empty because it's just a page at the moment. if you go here hidden link (settings > Reading) you'll be able to change that behaviour since your current homepage is actually the blog. if you want to have a specific page set as a blog, then you have to set a homepage as well and then select a specific page ("blog") as your new blog.

So, my question here is: what were you expecting at the moment and where? because i don't see any "mind-blog" so i'm not sure how i can help you 🙁

Let me know and i'll gladly help you out.

July 18, 2024 at 11:56 am #15972249

chen-hsienk-2

I just recover the previous version
so the"mind-blog" is gone....

and i would like to set up the "blog"

these 2 are work well
hidden link
hidden link

these 4 page are not working....
hidden link
hidden link
hidden link
hidden link

July 18, 2024 at 12:57 pm #15972663

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Ok this is indeed interesting. it shows a 404 even though they actually exist in the back-end.

can you tell me how did you create the homepage and where? because the entire setup is a bit atypical so it might be why we have this issue here.

July 18, 2024 at 1:01 pm #15972668

chen-hsienk-2

well.... i dont know how i seted up the ome page.....

I just use the theme "startace" and change the original home page it has to my style..... there was a "blog post" section in the origin original home page. but i delet it. and Create another blog page by my own.

July 18, 2024 at 1:03 pm #15972677

chen-hsienk-2

And after the previous recover. there are showing like 34 published pages in my "all page" section. which there are only 18 pages as i can see

July 18, 2024 at 1:49 pm #15972902

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hm, i only saw 3 pages in total which i see were the "intended" ones. however i tried to do some maintenance to the DB and managed to see them all.

They were all like translations of the same 3 "original" pages but in other languages which was more than weird.

Right now, though there are a LOT of navigation elements and more. i'm not entirely sure what happened before, but it seems like you tried to translate the content again and again which i suspect you didn't do intentionally but it was also not done by our system on its own.

So, while I'm trying to figure out what's happening, can you tell me why have you been restoring the site and when did this problem appeared? it would help me understand better the entire situation and figure out why this is happening.

---------------

Another thing that i ask of you is to let me know where can i find that "original homepage" you modified to your liking? because that might help me understand HOW is everything connected.

July 18, 2024 at 1:57 pm #15972950

chen-hsienk-2

6 hrs ago I was trying to find out why the link of "blog" is not working at the translated page. so i just try to modify the navigation page(may be change the link or delete the page then create another "blog" page to link) and than translated it again. but none of it work. So i just decide to restore everything and set up everything again.... i think that is why.

July 18, 2024 at 2:45 pm #15973221

chen-hsienk-2

hidden link

this is the original page that I modify with. It suppose to be english..... but now its weri

and know all the translation page is showing.........I didint do anything In these 6 hours

I was facing the same problem in My previouse site. thats why I delete WordPress account and create this entire new one and build erverything again. but seems the same problem just happening in this new account.(it just happend when i Restore. I think the restore have some issue for the translated page)

I dont know what to do now

July 18, 2024 at 2:53 pm #15973229

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Please watch this video: hidden link

You have a lot of content that was duplicated. i don't know how or when but i managed to delete some of them. however it seems that you have a "blog" in other languages in the database but that are not showing anything. either that or you have an image with the same "blog" URL.

at that point you can change the name of the blog or change the permalink structure to avoid the issue from happening again.

The problem here is not really related to WPML but with something in the database, a probable "glitch" which interrupted the communication between the site and the DB and corrupted something in it. since you're in WordPress.com i don't think you can even access your own database so i can't check it out for you.