User Tools

Site Tools


Writing /home/user/smartcj.com/wiki/data/cache/a/a74835d29d9e4ac3f032a462bc5b31c6.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/user/smartcj.com/wiki/data/cache/a/a74835d29d9e4ac3f032a462bc5b31c6.metadata failed
custom_galleries_and_google
Translations of this page:



Writing /home/user/smartcj.com/wiki/data/cache/a/a74835d29d9e4ac3f032a462bc5b31c6.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/user/smartcj.com/wiki/data/cache/a/a74835d29d9e4ac3f032a462bc5b31c6.xhtml failed

Custom Galleries and Google

A custom gallery link typically looks like this:

/gallery/galery_slug/index.html

When rotating galleries on your site, links include rotation parameters:

/gallery/galery_slug/index.html?1x2x1234

The parameter `1x2x1234` changes periodically.

Here's the issue: Google treats these URLs as different pages:

/gallery/galery_slug/index.html?1x2x1234 and /gallery/galery_slug/index.html?2x2x1234

As a result, Google periodically indexes both links, then later recognizes them as duplicates and removes one (or both).

To prevent this, add a canonical tag to your pages:

<link rel="canonical" href="http://yourdomaincom/gallery/<!--GALLERY_SLUG-->/index.html" />

SE hits

There's another consideration: users arriving via certain URLs may be redirected based on your rules (to traders, sales, etc.). When a URL includes a rotation parameter, the redirect (out) works. Without it, the script displays the gallery.

The safe URL is `/gallery/galery_desc_bla-bla/123455/index.html` — without rotation parameters. This URL always shows the gallery content. Search engine users accessing this URL directly will see the gallery, regardless of your SE traffic or sales settings.

custom_galleries_and_google.txt · Last modified: by 127.0.0.1