![]() |
Add rel="next" and rel="prev" to <head>
If this has been done, please link me.
Otherwise, anyone know of a way I can achieve this? If on page 3 of a thread it will show: <link rel="next" href="http://www.example.com/article?1234-thread/page4" /> <link rel="prev" href="http://www.example.com/article?1234-thread/page2" /> Having a real hard time finding anything conclusive on this - which is very strange as I would have thought it's pretty important. Cheers, hilaryl |
1 Attachment(s)
So basically you want this (see attached) yet a simpler version only two links in your header template?
|
Yeah exactly.
I have looked at getting those variables into the header - as that would be the easiest way - but haven't had much luck. |
Anyone have any ideas? Or have seen this done somewhere else?
|
I think this is what we were doing here: https://vborg.vbsupport.ru/showthread.php?t=306081. It looks like post #7 has the final code that works.
|
Thanks kh99 - I'm not sure why I wasn't able to find that thread.
I've Googled the heck out of all those keywords, and even done a search on this site - still nothing came up. I've just had one more question in that thread. Cheers, hilaryl |
Yeah, sometimes it's hard to find things using search. I had actually started to type a response then it was sounding familiar so I went back to find that thread. Anyway, I think I misled you in my above post in that you don't need to change the headinclude template manually since the plugin code adds on to it automatically. Sorry about that.
|
Yeah I noticed after changing the template and adding the plugin that I then had two instances of the block I needed - figured it out though.
The plugin method is a great way of doing this - thanks again for your help. Cheers! |
All times are GMT. The time now is 07:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|