Opened 6 weeks ago
Last modified 6 weeks ago
#63270 reopened defect (bug)
Problems with links on several occasions
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.7.2 |
Component: | Permalinks | Keywords: | reporter-feedback |
Focuses: | ui, template | Cc: |
Description
Hello friends!
Let's get straight to the point...
Addresses of my WordPress and my website within the admin (exactly the same) e.g.:
"mysite.com/wp".
The problem:
On the frontpage, I noticed that the links on the entire site are being broken, and the WordPress path in my URL ("/wp") is being doubled (and also tripled) e.g.:
"mysite.comwp/wp/"
"mysite.comwpwp/wp/"
Note that after the ".com" the slash disappears and the WP installation path is added, which is "wp".
This is happening most frequently in the navigation bar (default navigation block) and footer links. In all cases, I've gone to the editor and fixed all the links dozens of times and the problem continues.
Installation:
WP version: 6.7.2;
Themes: 01 - "Twenty Twenty-Five";
Plugins: 02 - "WP Mail SMTP" and "WPForms Lite";
Posts: 01 (Hello world!);
Users: 01.
Hugs!
Change History (7)
#2
follow-up:
↓ 4
@
6 weeks ago
- Resolution set to invalid
- Status changed from new to closed
Hello, thank you very much for the welcome and have a great week!
Oh yes, before creating the ticket, I researched a lot about this and since I didn't find anything, I did a clean installation as you mentioned and ran several tests.
When I use the installation at the root of the site (e.g.: "mysite.com"), it works normally. However, when it is in an alternative path (e.g.: "mysite.com/folder"), this problem continues.
It happens when I do the following:
I open the editor, access any part to edit, click on "Add page link" as it appears in the list of suggestions. After that, I close the editor and return to the dashboard.
When I return to the editor to make a change (add a new link to the menu, for example), that's when the change in the URL happens that makes "/folder" become ".comfolder/folder".
I noticed that if I do this step 5 times, the "/folder" will appear 5 times after the ".com" becoming ".comfolderfolderfolderfolderfolder/folder".
From what I saw here in the ticket list (including 1 after mine), other users also reported the same problem.
I'm following all of them and doing new tests to see if we can make it perfect.
Hugs!
#4
in reply to:
↑ 2
;
follow-up:
↓ 5
@
6 weeks ago
From what I saw here in the ticket list (including 1 after mine), other users also reported the same problem.
#63271 mentions a similar link corruption, but the situation sounds very different.
Please share any other similar tickets you found. If any of them have the same cause, the tickets should be combined.
#5
in reply to:
↑ 4
@
6 weeks ago
- Keywords close removed
Replying to sabernhardt:
From what I saw here in the ticket list (including 1 after mine), other users also reported the same problem.
#63271 mentions a similar link corruption, but the situation sounds very different.
Please share any other similar tickets you found. If any of them have the same cause, the tickets should be combined.
Got it!
In this case, my ticket #63270 and #63271 really seem quite similar... I put ".com" as a reference, because I tested it on a Brazilian domain ".com.br" with the language in PT_BR, and on a global domain ".com" also with the language in PT_BR, and in both the same error occurred with the URLs.
Do you prefer me to mark this ticket as resolved or should we wait?
Thanks
#6
@
6 weeks ago
Without knowing what causes the issue, I recommend waiting to close the ticket (for now).
#7
@
6 weeks ago
Hello again!!
I'm doing more and more tests as if I were just a lay user, using only the editor and without touching any code (including CSS).
In some more tests, the following happened when replacing an image on a page:
- the path of the local fonts (downloaded from Google Fonts) was also affected and looked like this:
mysite.com.brfolderfolder/folder/wp-content/uploads/.../font.ttf
(yes, I also found it strange and I'm now a little more worried);
- other images (almost all) on this same page also had their href and src affected, resulting in:
<img src="mysite.com.brfolderfolder/folder/wp-content/themes/.../assets/.../.../img.png" href="mysite.com.brfolderfolder/folder/.../.../etc...">
Finally, all the changes I make here result in the addition of the subdirectory after the domain somewhere. There are already elements with more than 5 additions... (link to the blog page <a href="https://mysite.com.brfolderfolderfolderfolderfolder/folder/blog />
).
I will continue testing...
Hello and welcome to WordPress Core Trac,
Are you able to reproduce the issue on a fresh WordPress install without any plugin and using a default theme?
If you are not able to set a fresh install, could you please try using a Playground instance?
https://playground.wordpress.net/