Create Duplicate Slugs for pages same page title but different content
-
Hi,
After making some research, it seems that slugs are unique and cannot be duplicated, but what about two pages having same page title but different content and different custom fields. In other words, our website is running content in Europe different than content in Asia but this content has same title.
How can we handle this? Is it feasible?
I tried many ways by rewriting rules of permalinks or by using custom taxonomies in the permalink, but it seems that WordPress is interpreting only the last slug of the URL and pointing the page to the original page which has the unique slug, Ex:
if we have these two links:
1- https://www.alwadi-alakhdar.com/fr/recipe/int/nivig/ ( int means international )
2- https://www.alwadi-alakhdar.com/fr/recipe/nivig/Both URLs have same page titles but different content, I tried the rewriting of permalink rules in functions.php, and it changes the url of first link but if we try to edit this page, it is actually pointing to the second link since the last slug is the same in both pages even though we have “/int/” in the first link.
Any support for this will be appreciated.
Thank you in advance
- The topic ‘Create Duplicate Slugs for pages same page title but different content’ is closed to new replies.