I have a website that is updated fairly often. It has only been online since Jan (about 3 months).
I don't manually update the site, the site gets new content from users. The backend stores the website content and serves it up conditionally (paged, sorted by date, etc).
When I do a Google search, I find a link to my website and that works just fine. Google also lists individual pages of my site in the search ressults. So for example:
- news - www.example.com
- contacts - www.example.com
- about - www.example.com
If I click "news - www.example.com" in the Google search results I get my website content as it was 3 months ago on that page. If once I'm on my website and navigate internally, I get up to date content, even if I navigate back to the news page. This leads me to think Google has cached and indexed my pages.
The problem is, obviously that if a user gets to one of my pages via a Google search link, they will get content 3 months old.
I can't manually ask Google to re-crawls my site every time a new post is made. I don't create content, users do.
How can I fix this without negatively affecting:
- Google ranking
- None of the content is hard coded into the site. It is pulled from the database...
- Content changes at least 5 times a day... at random times.
- All the links Google provides are 100% correct... there are no stale or old pages (This is not true, see my edit bellow).
- If I go to the page via the address bar bypassing Google or even if I go to it via the main Google provided search ressult link www.xyz.com... all works 100%.
- Only when I click on a page specific link that shows up in a Google search is there a problem... the link Google provides for the main site works 100%.
EDIT What I realized is that Google indexed the site such that some of the page specific links are as such: www.xyz.com/a.php?article=555. Obviously it should be just www.xyz.com/a.php since there are many articles on one page and which articles are there is date dependant. In this example if a user clicked the link they would see the site with one article, specifically article 555. Maybe I need some robots file to prevent search engines from indexing pages as such... not quite sure how.