Having the weirdest issue in a clean Wordpress installation.

The media urls are being written with "hhttp" instead of "http". so, for example:


would instead be:


Tried disabling all plugins and re-uploading images to no avail.

I'm banging my head against the desk trying to figure out why, never had this issue before.

I temporarily fixed the issue by force rewriting all image urls to the correct url and path.

Any direction would be greatly appreciated!


  • Check if the Uploads constant is set anywhere, check the output of wp_upload_dir() also. – bravokeyl May 30 '18 at 18:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.