====== Direct Out Links ======
**Note:** This information is outdated as of 2011.12, but retained for reference.
Google has deoptimized many sites previously hosted on SmartThumbs. While we don't know exactly what triggered this, it's possible similar issues could affect trade sites using out.php without direct links.
If you're concerned that Google may penalize sites with out.php redirects, here are some alternative approaches:
**Options:**
===== Option 1: jQuery + jsvar =====
This approach adds out.php redirects via JavaScript. For users with JavaScript enabled, the links function the same as before. For users without JS, all traffic goes to content (100%).
Add this code to your page:
For links that should redirect through out.php, add the `jsvar='out'` attribute:
out link
For direct links without out.php:
direct link
That's all. Both links appear "direct" to Google's crawler (at least for now).
Here's a complete HTML example for testing. Save it as test.html in your SmartCJ domain root:
out link
direct link
==== Option 1 with Stream ====
Write a sub-template in Stream:
Add the JavaScript code to the main template (before the closing `