Search code examples
google-search

Will Google find and index my link that has the same color as the background?


I am managing a website and I want a page to be discovered and indexed by Google. However, I cannot make it directly visible to visitors on a page. So, I make the background and link text have the same color. Here is what I have:

<a href="my-page" style="display:block;width:5px;height:5px;background-color:#fff;color:#fff;overflow:hidden;">An very interesting page</a>

Will this piece of code work? What else I should do?

Update

I just wanted to know whether this trick works. Actually I have many and unpredictable links like this situation. I cannot go to Google to submit each link.

Update

If this trick works, do I need to do anything in Google Webmaster Tools?


Solution

  • Errrr yes... Google doesn't look at the style to know whether to index the page. You can also remove the link and tell Google to index it directly. Look for SEO and page indexation FAQs.