I have some codeigniter gallery app with my own search engine etc.
On the single item page there are next and previous buttons to navigate between images.
My image url looks like:
myurl.com/image/keyword/res_position
keyword variable is obvious the keyword which user typed for search, and res_position is the position in results listing – I need it to navigate between next and previous.
Ofc my next item has url
myurl.com/keyword/res_position+1
and previous
myurl.com/keyword/res_position-1
That’s it. Works like a charm.
My problem is that I want to have some method that could be used only to show single image. I thought about
mysite.com/image/id
and that will do the job – but I’m worried about duplicate content and SEO aspect.
As you can see, my “next-previous” URL structure has a lot of variations, because user can type a lot of other keywords, and single image “res-position” can be a different number every time.
Can you recommend me some soultions for this problem?
Just a thought –
Providing multiple URI’s for the same content is gonna cause duplicate problem but I don’t think you can do much about this. However, you can try disallowing certain URLs from searching engines using
robots.txt– this should help you stop duplicate content problem…UPDATE
Reference : http://seoroi.com/seo-faq/robotstxt-what-it-is-why-its-used-and-how-to-write-it/