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

Exclude Optimole URLs from Schema Images #854

Open
KingGrizzly opened this issue Nov 11, 2024 · 0 comments
Open

Exclude Optimole URLs from Schema Images #854

KingGrizzly opened this issue Nov 11, 2024 · 0 comments
Labels
new feature Request for a new feature or functionality to be added to the project.

Comments

@KingGrizzly
Copy link

What problem does this address?

Images referenced inside of schema markup (for example, rich product snippets) typically send the Optimole image URL to the search engines, not the clean, local URL.

For example:
https://mlyqxds8ijge.i.optimole.com/w:2048/h:1152/q:80/f:best/https://some-site.com/wp-content/uploads/image.jpg

Instead of:
https://some-site.com/wp-content/uploads/image.jpg

What is your proposed solution?

It would be ideal if Optimole could optionally exclude the images referenced inside of the schema markup so they get a normal URL and not the Optimole URL. Basically, I think we want the option to excluded images inside of script tags, or script tags with an ID or class:

<script id="website-schema" type="application/ld+json">...schema content...</script>

Will this feature require documentation? (Optional)

None

@KingGrizzly KingGrizzly added the new feature Request for a new feature or functionality to be added to the project. label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Request for a new feature or functionality to be added to the project.
Projects
None yet
Development

No branches or pull requests

1 participant