Hi
Checking a project that's live for a month now on Google indexation and discovered that after my website also a page for "Next page" and "Previous page" is created. Ofcourse this doesn't make a lot of sense and isn't quite looking professional.
I used on my index.php the following code:
That is working fine.
I see when you click on next or previous, the site is linking to /?pg=2.
I assume this is the reason that google sees this as a new indexable page.
Is there any way of changing the format of this url structure?
Or to prevent Google to index it?
Thanks!
Checking a project that's live for a month now on Google indexation and discovered that after my website also a page for "Next page" and "Previous page" is created. Ofcourse this doesn't make a lot of sense and isn't quite looking professional.

I used on my index.php the following code:
- Code: Select all
<cms:if k_paginated_bottom >
<cms:if k_paginate_link_prev >
<a class="pagination" href="<cms:show k_paginate_link_prev />"><span class="glyphicon glyphicon-circle-arrow-left"></span> VORIGE PAGINA</a>
</cms:if>
<cms:if k_paginate_link_next >
<a class="pagination" href="<cms:show k_paginate_link_next />">VOLGENDE PAGINA <span class="glyphicon glyphicon-circle-arrow-right"></span></a>
</cms:if>
</cms:if>
That is working fine.
I see when you click on next or previous, the site is linking to /?pg=2.
I assume this is the reason that google sees this as a new indexable page.
Is there any way of changing the format of this url structure?
Or to prevent Google to index it?
Thanks!