Domain gets rewritten in address bar
-
Hi,
I am experiencing one of the stragest problems I’ve ever have with WordPress. I am posting this in the hope that I might find at least one person who has seen this before.
The domain of my website gets rewritten in the address bar when I try to access /wp-admin (mostly in Firefox) or when I try to save the Permalinks structure after I log in (I can log in with Chrome).
Using Firefox, I can log in following /wp-login.php, but when the redirect to /wp-admin is made after login, the URL gets rewritten and I am being shot with an error. After this, if I open the domain/wp-admin in another tab, I notice that I am logged in and everything works normally until I want to save the Permalinks structure in which case the same thing happens. I get an error (noticing the domain is rewritten), but if I open domain/wp-admin/options-permalink.php, I can see the change has been saved.
The domain is https://www.suremann-spenglerei.ch – once I access https://www.suremann-spenglerei.ch/wp-admin, the URL gets rewritten to: https://www.suremann-s%e2%80%8bpenglerei.%e2%80%8bch/wp-login.php?redirect_to=http%3A%2F%2Fwww.suremann-spenglerei.ch%2Fwp-admin%2F&reauth=1
As you can see, the string %e2%80%8b appears once in between the s and the p letters from ‘spenglerei’, as well as between the dot and the TLD.
At some point I managed to restore a backup of the website and now when I access the website with Chrome, after I log in, here is what I see in the /wp-admin/option-permalink.php screen as well as at the site name in the admin bar: https://s12.postimg.org/qpvzdfv7f/suremann.jpg
I have tested the installation (same files) under other domains and everything works just fine, which makes me think this is a domain related problem or a charset problem.
I would welcome any help or ideas that might lead me to a solution.
Thank you all!
Adrian
- The topic ‘Domain gets rewritten in address bar’ is closed to new replies.