- Posts: 7
COMMUNITY FORUM
Canonical & Pagination
- yaniv rozenman
-
Topic Author
- Offline
- New Member
According to google, on pagination pages ie:Page-2.html , the canonical rel needs to be to itsalfe and not to the main page (root page ) like with k2.
Is there any way to do that with k2?
Thanks
yaniv
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yaniv rozenman
-
Topic Author
- Offline
- New Member
- Posts: 7
That is a great news!
On the same subject, I saw in the last version that there is now a "canonical" in the tags page, and that is great, but i think there is a bug for the SEF link in the canonical. Instead of showing the SEF link, it shows the link with all the parameters, and there is no slash after the domain name that separates the domain from the parameters.
Thanks
yaniv
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
getk2.org/show/tag/tabs
demo.getk2.org/show/tag/blog
Both work as expected.
Perhaps some third-party plugin is messing up with K2's canonical tag.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yaniv rozenman
-
Topic Author
- Offline
- New Member
- Posts: 7
but if you select "Use absolute URL path" like i select for my site, the problem that i describe occur
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yaniv rozenman
-
Topic Author
- Offline
- New Member
- Posts: 7
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Are you using any other extensions that could modify meta tags in general?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yaniv rozenman
-
Topic Author
- Offline
- New Member
- Posts: 7
site.ijoomla.co.il/urbanbridesmag/tag/mood.html
I'm using sh404 but after i cancel it and stay only with joomla SEF, the problem still occur.
When I'm changing in the k2 config to "Use relative URL path", this fix the problem, but i need to use "Use absolute URL path" for my site and with this configuration the problem occur.
Let me know if you need more details to investigate this problem
Thanks
yaniv
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yaniv rozenman
-
Topic Author
- Offline
- New Member
- Posts: 7
I tryied it also with new install on new and fresh joomla with 0 plugin and components only k2 and you can see it
site.ijoomla.co.il/joomla/tag-test.html
On Item and category pages the canonical link work perfect, only the tags pages this bug occur.
If you want you can access the admin:
site.ijoomla.co.il/joomla/administrator
user: [redacted]
password: [redacted]
Thanks
yaniv
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
I made a change in K2 v2.10.3 (dev). Install it from getk2.org/downloads/?f=K2_Development_Release.zip and let me know.
It should work now and the URL will also be SEF when SEF URLs are enabled in Joomla (previously it wasn't).
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
I have fixed that plus made some changes for generated feed links.
Now all canonical and feed URLs have a common format across views (feeds will always be relative though).
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- T M
-
- Offline
- New Member
- Posts: 10
www.website.com/blog/content/travel-blog/whats-new (404 error)
Where /travel-blog/ is not supposed to be in the url. It should be:
www.website.com/blog/content/whats-new (works)
I could setup a redirect but this doesn't solve the issue permanently. The pagination results for the additional pages also result in a 404 error as they include the /travel-blog/ in the path which isn't needed.
I have tried absolute path and relative path. both give me the 404 error.
Please Log in or Create an account to join the conversation.
- T M
-
- Offline
- New Member
- Posts: 10
How can this be fixed?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
What is the path to your K2 category? Is it a first or 2nd, 3rd etc. level category?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- T M
-
- Offline
- New Member
- Posts: 10
I believe it might be the absolute path/relative path being the issue? It's doesn't make a difference if I select either in settings.
It's when you are on a K2 page and the item is displaying the category. If you click the category it goes to a 404 error.
Instead of just www.website.com/blog/content/whats-new - whats-new is the category I am clicking
It for some reason goes to this: www.website.com/blog/content/travel-blog/whats-new - which gives a 404 error because it's the wrong path.
Where /travel-blog/ is not supposed to be in the url. The travel-blog is the alias of the menu item link I have created to display the K2 blog. I assume it things the path of the link is travel-blog/whats-new when it is just /whats-new.
It also ads the additional path on the page pagination at the bottom. So if you click next,prev,end or any of the pages they return a 404 error because it ad's the "travel-blog" to the path.
I don't want to use redirects, there has to be a way to resolve this.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Read how to do it here: www.joomlaworks.net/forum/k2-de/53846-fehlermeldungen-in-router-php-line-292#175618
K2 v2.10.4 will be out by the end of the week to address this issue.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.