[wp-trac] [WordPress Trac] #63271: Multisite (Subdirectory) URL Corruption in Page Content (Language Site)
WordPress Trac
noreply at wordpress.org
Sat Apr 12 19:14:05 UTC 2025
#63271: Multisite (Subdirectory) URL Corruption in Page Content (Language Site)
--------------------------------+-----------------------------
Reporter: nattila | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 6.7.2
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
* WordPress Version: 6.7.2
* Multisite: Enabled (Subdirectory installation)
* Theme: Twenty Twenty-Five
* Plugins: All plugins deactivated
* wp-config.php: Default settings
* .htaccess: Default settings
Site Structure: Main site (ID=1) at root, additional site (ID=X, e.g., 2)
in subdirectory /hu/ (for Hungarian language).
**Steps to Reproduce:**
* Create a new page or edit an existing page on the subdirectory site
(/hu/).
* Switch to the Code Editor.
* Add an HTML link within the page content that points to a page on the
same domain within the subdirectory site. Example: <a
href="https://www.mydomain.io/hu/book-a-call/">link text</a>
* Save the page.
* Reload the editor page.
* Check HTML of the link.
**Expected Behavior:**
The link should remain as entered.
**Actual Behavior:**
The URL is corrupted, with the subdirectory name being duplicated or
altered. Example:
<a href="https://www.mydomain.iohuhu/hu/book-a-call/">link text</a>
**Additional Information:**
This issue only occurs on subdirectory sites within the Multisite
environment.
Links to external domains (e.g., https://www.google.com) are not affected.
The main site (ID=1) is not affected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63271>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list