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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Bobby 7 months, 3 weeks ago.

Assisted by: Bobby.

Author Posts
June 20, 2024 at 9:03 pm #15767245

charleneR-2

Background of the issue:
I am trying to update the URL structure for a page on my site hidden link. The existing top menu Marine Hardware and products > Marine Hardware links were /boat-lights/marine-hardware. I created a new page with the URL /marine-hardware-2. I want to change the new page permalink to /marine-hardware/ without the -2 at the end. Initially, I renamed the old page to /marine-hardware-prev and the new page to /marine-hardware/, but this caused issues.

Symptoms:
When I try to use /marine-hardware/, the /marine-hardware-prev/ page loads or I get a page not found error.

Questions:
How can I change the new page permalink to /marine-hardware/ and have it work correctly with WPML?

June 20, 2024 at 10:27 pm #15767982

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

Please go to pages and review the trash area => verify that any old pages are fully removed as that could cause issues sometimes.

Edit the page in the backend -> edit the URL and change it to marine-hardware -> what are your results?

If the issue persists, go to Settings->Permalinks and resave your permalinks then test once again, does it work OK?

June 21, 2024 at 7:16 pm #15778290

charleneR-2

The original page that was originally linked to and named /marine-hardware/ but I had changed it to /marine-hardware-prev/ was in draft mode, so I deleted it. The live page named /marine-hardware-2/ I changed to /marine-hardware/ and when I go to the menus the link I see they are going to open is indeed /marine-hardware/ but when I click them, I get a 404 error as if the page I want was not changed (?). I then resaved permalinks and I still get a 404. This is live on the site and I can't leave it like this. So, I changed it back to /marine-hardware-2/ and it works. I don't understand why the link to /marine-hardware/ won't work when I change the new page to it and the old one is no longer in the site.

June 24, 2024 at 10:02 pm #15812016

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Thank you for the explanation!

What are your results when you switch the URL to marine-hardware/ and deactivate WPML do you still receive the 404 error?

The reason I am asking this is to verify that this is indeed caused due to WPML or possibly caused by another reason or 3rd party plugin.

let me know your results, please.

The topic ‘[Closed] existing url won’t work with new page’ is closed to new replies.