Can I make sure certain links are never changed?

Limiting where links get optimized

Link Optimization is configurable and can be turned off on an individual page or within a specific element on a page with the “nooptimize” parameter.   This is done by editing the HTML of your site and adding class="nooptimize" to any page element where you would like to disable adding links.  You can do this on an individual post basis, just for a paragraph or even off an entire page - it's up to you.

Example #1: How to keep Link Optimization off of an entire page on your site: add the “nooptimize” parameter to the <body> tag:

<body class="nooptimize">

Example #2: How to keep Link Optimization out of a particular section, like a paragraph: Add the “nooptimize” parameter to a  <p> tag:

<p class="nooptimize">

 

Example #3: How to keep Link Optimization out of a particular link: Add the “nooptimize” parameter to an <a href> tag:

<a href="http://www.example.com" rel="nooptimize">VigLink does not optimize this link.</a>

 

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk