Go Headless

Changelog

SDK
Articles
Get Started
Work with the SDK
Set up a Client
Use the Wix MCP

Core Modules
About Core Modules
sdk
essentials
web-methods

Host Modules
About Host Modules
dashboard
editor
site

Business Solutions
About Business Solutions
ai-site-chat
blog
bookings
cache
crm
data
ecom
events
restaurants
stores
realtime

Frontend Modules
About Frontend Modules
bookings
crm
ecom
events
location
members
mobile
navigate-mobile
pay
pricing-plans
seo
Introduction
Setup
links()
metaTags()
setLinks()
setMetaTags()
setStructuredData()
setTitle()
structuredData()
title()
site
storage
stores
window
site-realtime

links( )


Gets the page's SEO-related link tags.

Use the links property to get a page's SEO-related link tags which provide additional SEO information about your page. For example, the tags may contain a link to a canonical or alternate version of the current page.

Note: You should always invoke the wixSeoFrontend.links getter outside of the onReady() event handler to ensure receiving the proper response.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<Array<Link>>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?