Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Protocol-Relative URL Format #1390

Closed
michaeltorbert opened this issue Dec 4, 2017 · 2 comments
Closed

Problem with Protocol-Relative URL Format #1390

michaeltorbert opened this issue Dec 4, 2017 · 2 comments
Labels
Milestone

Comments

@michaeltorbert
Copy link
Contributor

Reported here: https://wordpress.org/support/topic/problem-with-protocol-relative-url-format/

This may be if the URL for the image is a relative URL, and we don't turn it into a real URL in the sitemap, which Google likely needs.

@wpsmort
Copy link

wpsmort commented Dec 4, 2017

@michaeltorbert I have tested this and confirmed that we do not output the protocol if it is missing from the image URL.

For example, an image embedded using this URL:

//stevemortiboy.com/wp-content/uploads/2017/12/steve-headshot.jpg

results in the same URL in the XML Sitemap. Google rejects that as an incomplete URL when you submit the sitemap to Google Webmaster Tools.

@wpsmort wpsmort removed their assignment Dec 4, 2017
@contactashish13
Copy link
Contributor

@wpsmort this has been fixed in #1286

@contactashish13 contactashish13 added this to the 2.4.4 milestone Jan 3, 2018
@wpsmort wpsmort modified the milestones: 2.4.4, 2.4.5 Jan 11, 2018
@michaeltorbert michaeltorbert modified the milestones: 2.4.5, 2.4.6 Jan 31, 2018
@wpsmort wpsmort self-assigned this Feb 5, 2018
@michaeltorbert michaeltorbert modified the milestones: 2.4.6, 2.4.7 Mar 15, 2018
@wpsmort wpsmort modified the milestones: 2.4.7, 2.5 Mar 20, 2018
@wpsmort wpsmort assigned michaeltorbert and unassigned wpsmort Mar 20, 2018
@michaeltorbert michaeltorbert removed their assignment Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants