Make Pop-Up Windows Visible to Search Engines
- Quick Fixes
- Improving the Pop-Up Pages
- The Final Touches
In one of my projects, the customer wanted pop-up windows in the product catalog. The main catalog pages would contain lists of articles, grouped in various categories, and all the product details would be displayed in a separate pop-up window. It looked like a very nice and clean solution during the presentations, but the shock came a few months later—the catalog was attracting no traffic. A quick check on Google confirmed my suspicions: Google didn’t know anything about the product details, and, as Internet users rarely search by specific product numbers, they couldn’t find our customer’s web site.
To make sure that only links to pop-up windows were changed, we would use the CSS class popupLink on them.
Listing 1 Initial implementation of the convertPopupLinks function.