Search
How to fix nested links optimization warning
Nested links are not allowed on web pages, which prevents us from optimizing pages with nested links for performance and SEO.
A website with a nested link warning indicates that there is an element or component with multiple layers, each containing its own links. Nested links are often created by linking an entire frame and inserting text with additional links.
Framer can help you avoid most of these issues by detecting them on the canvas for static content such as Frames and static text. In such cases, we will display a small alert next to your layer, along with a "See Layer" to the element, allowing you to fix the issues before publishing.
![](https://framerusercontent.com/images/zlSNtN6IxJ1Rhuq1ObyeuELKZr0.png)
To fix it, simply remove one of the links (it’s typically the outer one) and rework your structure so that they don’t nest anymore.
![](https://framerusercontent.com/images/TyOvfUqtvIip5qyDR1wB7HpB2pQ.png)
Unfortunately, there are instances where we can only detect issues after publishing the page. This happens when dynamic content creates nested links. Examples include CMS content with links, components with fixed links, and overrides and code components that introduce links.
Fixing the "nested links" optimization warning
If your published site contains nested links, you will receive a warning. Follow these steps to identify the nested links from the warning.
![](https://framerusercontent.com/images/zheKxz7vNzDXjd9e8snR8lZIGMw.png)
Click the warning link and it will take you to a page where you can see related warnings. This file will help you locate items with nested links.
![](https://framerusercontent.com/images/7lrLSAhfxKGVI3xDtpgIfEpMwfk.png)
Example of where to find nested links
The wrapper frame has a link set.
![](https://framerusercontent.com/images/dmwxJXsYPkAPp62787fLLgZqYBU.png)
Unfortunately, the Button component also has a link set, causing a nested link error. To optimize your site again, remove one of the links.
![](https://framerusercontent.com/images/boxbh5whd6RvaBD1OqgqK9N8R8M.png)
If you have followed the steps above and are still experiencing the issue, please create a support ticket here.