Website builder

Wix OG Image Integration

Configure MyOG images in Wix's native social-share settings, with Page URL variables for supported path-only page types.

Prerequisites

  • A Wix page type whose Social share image field accepts URL text and offers the Page URL variable
  • A MyOG account with your public domain added and available image credits from a paid plan or the 10-day card trial
  • The published canonical URL for each page, and the variables offered by your page type's image setting

How MyOG fits Wix

Wix's page-type defaults include Social share settings for og:image and an X image. Use the existing image URL fields there. The individual-page Social share picker uses uploaded images and is outside this recipe.

Page-type rules can use native SEO variables. If the image setting offers Page URL, the path-only recipe below can cover that page type. Variable availability differs between settings; do not assume every page type offers it.

Wix documents Page URL as an absolute address, but does not document query-value encoding. Use the variable only when it matches each canonical URL and every target path contains only letters, digits, hyphens and slashes. Keep Wix's native images on pages outside those limits.

1

Choose a layout

MyOG detects page content and branding automatically. The layout only controls image composition.

2

Add the Wix code

Image URL for a path-only page type

Use only when this image setting offers Page URL and all canonical paths use letters, digits, hyphens and slashes.

Preview anonymously. Sign in to get complete install code for your account.

Sign in to get install code

Select REPLACE_WITH_PAGE_URL and insert the native Page URL variable through Add Variable. If it is not offered here, keep Wix's native image settings. Do not use the raw variable for queries, fragments, plus signs, ampersands or percent-encoded paths.

3

Place it correctly

  1. Open SEO and GEO in the Wix dashboard, then SEO Settings.
  2. Choose the page type, open Customize defaults, then edit Social share. Use the existing og:image URL text field and check whether its variable picker offers Page URL.
  3. For a qualifying path-only page type, paste the page-type image URL below and replace REPLACE_WITH_PAGE_URL using Wix's Add Variable control. Keep url last. Do not type a made-up variable token.
  4. If Page URL is unavailable, a canonical was customized, or any target URL falls outside the path-only limit, keep Wix's native social images for those pages. This guide has no verified per-page MyOG URL fallback for an upload-only image picker.
  5. Check the X image setting as well: retain its default og:image reference or use the same MyOG image URL. Check individual page overrides, save or publish as required, then inspect public source.

Avoid duplicate og:image tags

Edit Wix's existing og:image and X image settings. Additional meta tags cannot add a duplicate existing tag. A page-level image override can supersede the page-type rule, so check pages that already have custom social images.

Dynamic pages

Page URL can fill the final url parameter only for page types whose native image field offers it and whose canonical paths meet the stated character limit. Custom router pages need their own SEO handling.

Test the result

  • Publish before testing.
  • Use View Source on a public page, not the editor.
  • Inspect two pages in the configured page type. Each decoded MyOG url value must equal its canonical link, with one preferred og:image and the intended twitter:image.
  • Check a page with an individual override. For URLs containing ?, &, +, # or %, keep native Wix images; HTML escaping and putting url last do not preserve those values.

Start with the MyOG Open Graph Checker, then refresh social platform caches if needed.

Known limitations

Wix does not document a URI-component encoding transform for Page URL. This native setup does not cover URLs with queries, fragments, percent escapes or other reserved characters.
The recipe requires Page URL in that exact page-type URL field and equality with the canonical link. Individual-page upload controls do not provide a verified live MyOG URL setup.
Free MyOG signup and metadata checking do not activate paid image serving. Keep your domain registered and image credits available.
Wix editor previews are not reliable for social crawler testing.

Sources

Ready to get started?

Check your page-type fields first, then add your supported Wix domain in MyOG and start the card trial to serve images.

Already have an account?

d6da63065f957eac3c92e241d07decc62fced9b5