[Skip to main content](#vessel-content)

#   Pagination SEO

##

- **[Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")**
- [![Holmes-Pierce's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile") Topic Author
- [ Offline](/forum/user/31881-holmes-pierce)

Less More

- Posts: 265
- Thank you received: 1
-
-

12 years 3 weeks ago [\#178081](#178081) by [Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")  *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#178081 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")* was created by *[Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- Error-message(debug-mod must be tuned on) -- : none

Hello,

I want to include rel="next" and rel="prev" on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?

Thanks,
Hal

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 weeks ago [\#178104](#178104) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#178104 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Hello,
To do that you'll have to edit the files of the "product" view of your front-end template via "Hikashop-&gt;Display-&gt;Views".
Note that we'll need more information about where do you exactly want your code to be added if you want more details about how to do it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")**
- [![Holmes-Pierce's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile") Topic Author
- [ Offline](/forum/user/31881-holmes-pierce)

Less More

- Posts: 265
- Thank you received: 1
-
-

12 years 3 weeks ago [\#178266](#178266) by [Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")  Replied by *[Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#178266 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Hello Mohamed,

Thanks for your reply. I would like it on all the category pages with pagination.

i.e. /womensshoes or /mensshoes and all the 'brands' pages.

I've had a look and I think I may need to make changes to the category/listing.div

I look forward to you reply.

Kind Regards,
Hal

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 weeks ago [\#178292](#178292) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#178292 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Hello,
If you want to edit the pagination html code you'll have 2 solutions :
1. Create a plugin based on the "onAfterRender" trigger and which will check if you have a pagination on your page and then replace/add the html code "rel=next/prev"
2. Directly edit your Joomla file to add the html code : "rel=next/prev"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")**
- [![Holmes-Pierce's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile") Topic Author
- [ Offline](/forum/user/31881-holmes-pierce)

Less More

- Posts: 265
- Thank you received: 1
-
-

12 years 3 weeks ago [\#178471](#178471) by [Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")  Replied by *[Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#178471 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Good Morning,

Thank you for your reply. I thought there would be an easy fix. I have no idea how to go about implementing either of those options ![:(](/media/kunena/emoticons/22.png ":(").

Is this a Joomla limitation rather than hikashop? Do you know of any publication that will help me do this?

Thanks,
Hal

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 2 weeks ago [\#178501](#178501) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#178501 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Hi,

I think that Mohamed didn't understand your question.

The prev/next can be added to the previous and next links of the pagination without too much issue by changing for example the code: Code:

$html .= "&lt;a class=\"pagenav_previous_chevron\" onclick=\"javascript: document.adminForm".$this-&gt;hikaSuffix.$this-&gt;form.".limitstart".$this-&gt;hikaSuffix.".value=".$list['previous']['base']."; document.adminForm".$this-&gt;hikaSuffix.$this-&gt;form.".submit();return false;\"&gt; &amp;lt; &lt;/a&gt;";

to: Code:

$html .= "&lt;a rel=\"prev\" class=\"pagenav_previous_chevron\" onclick=\"javascript: document.adminForm".$this-&gt;hikaSuffix.$this-&gt;form.".limitstart".$this-&gt;hikaSuffix.".value=".$list['previous']['base']."; document.adminForm".$this-&gt;hikaSuffix.$this-&gt;form.".submit();return false;\"&gt; &amp;lt; &lt;/a&gt;";

in administrator/components/com_hikashop/helpers/pagination.php

however, as the pagination is handled with a form (that's because we use the Joomla way of having a pagination), I don't think that it will help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")**
- [![Holmes-Pierce's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile") Topic Author
- [ Offline](/forum/user/31881-holmes-pierce)

Less More

- Posts: 265
- Thank you received: 1
-
-

12 years 2 weeks ago [\#178683](#178683) by [Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")  Replied by *[Holmes-Pierce](/forum/user/31881-holmes-pierce "View Holmes-Pierce's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#178683 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Thanks Nicolas,

I have put this code in and also \"next\"

I think it has worked.

Kind Regards,
Hal

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")**
- [![Jimmy Business's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")
- [ Offline](/forum/user/57570-jimmy-business)

Less More

- Posts: 14
- Thank you received: 0
-
-

8 years 1 month ago -  8 years 1 month ago [\#299600](#299600) by [Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")  Replied by *[Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#299600 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

is this solution still valid?

Last edit: 8 years 1 month ago by [Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")**
- [![Jimmy Business's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")
- [ Offline](/forum/user/57570-jimmy-business)

Less More

- Posts: 14
- Thank you received: 0
-
-

8 years 1 month ago [\#299603](#299603) by [Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")  Replied by *[Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#299603 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

This doesn’t seem to work anymore on latest Hikashop version?

Ive tried this solution but nothing happend. The rel next/prev does not appear in sourch code.

Ive attached a screenshot.

Ive added the file: pagination.php around line 109.

Could you please help me out to fix this??

- [ ![CB0A9DAA-8CB1-4040-B7A3-B2BBEAD524B8.png](/forum/attachment/45187) ](/forum/attachment/45187 "...BBEAD524B8.png") [ ](/forum/attachment/45187?download=1 "...BBEAD524B8.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 1 month ago [\#299604](#299604) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#299604 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Hi,

Yes, this is still valid.
However, if your template has a pagination override, you might have to do that in the pagination override of the template (please check the file templates/YOUR_TEMPLATE/html/pagination.php).
Also, this thread is about the next/previous buttons of the listings. Not about the next/previous button you can have on the product page itself.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")**
- [![Jimmy Business's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")
- [ Offline](/forum/user/57570-jimmy-business)

Less More

- Posts: 14
- Thank you received: 0
-
-

8 years 1 month ago [\#299716](#299716) by [Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")  Replied by *[Jimmy Business](/forum/user/57570-jimmy-business "View Jimmy Business's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#299716 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Im using regular protostar template, not having an override.

Im not talking about the next and prev in the productpage. Im talking about the pagination on the productlisting.

I did exactly what you suggest in this post, as you can see on the attached picture. But the rel next prev aint visible in the source code. Thats why i posted my question...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 4 weeks ago [\#299737](#299737) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pagination SEO](/forum/26-product-category-display/872769-pagination-seo#299737 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- Error-message(debug-mod must be tuned on) -- : none  Hello,  I want to include rel=&quot;next&quot; and rel=&quot;prev&quot; on my listing pages, but I don't know where these tags need to be placed. Can anyone please help?  Thanks, Hal")*

Hi,

Then, can you provide a link to the listing page with the pagination ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI3NjktcGFnaW5hdGlvbi1zZW8/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.091 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
