See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

Google Indexing and Redirects

General Tech Bugs & Fixes
Max. 2000 characters

Atul Kasana


( 7 months ago )

I have a site (I can't provide a link to it), where we're using links to generate lightboxes that have iframes to content.

We're linking to the content like so:

  <a href='/path/to/lightbox.php' onclick='generateLightbox("/path/to/lightbox.php")'>link</a>

On the page, we're using the following to forward to the main page and open up a lightbox if a user tries to access the lightbox content directly:


Our problem is that google is not indexing these lightbox pages. While going through the webmaster tools, it's giving a warning that a "redirect" is detected.

Is there anyway I can make sure to redirect users to the main page and open up a lightbox without tripping up google's quality checker? I believe my problem is that google is seeing the redirect and not indexing the content, yet I'm using the method I've seen suggested on a couple different resources such as this SO question: Redirects & Google Indexing

Priya Roy


( 7 months ago )

In the end, the only solution we could find was to detect for google bot, and not redirect.

what's your interest