[Explained] No correct canonical and base urls after filtering

More
6 years 9 months ago - 6 years 9 months ago #72173 by lipatovroman
Hello!
For example we have page
site.com/bwm

after filtering ulr = site.com/bwm?p=all&filter_30 []=1&filter_24[1]=0&filter_33[1]=2&listall=0&cc=p

But canonical and base url still site.com/bwm

But
site.com/bwm
and
site.com/bwm?p=all&filter_30 []=1&filter_24[1]=0&filter_33[1]=2&listall=0&cc=p

is different urls, different pages with different content.

How to fix it?
Last edit: 6 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #72175 by ggppdk
Hello

i can not confirm either of the 2 issues

see explanation below

1. base url correctly does not change, why it should ?
query string (URL variable) are not part of the base URL !!

2. rel-canonical is not inserted by FLEXIcontent thus current URL is implied as canonical
the above happens when rel-canonical is an exact match of current URL

if you see a rel-canonical that does not include the variables then it was probably not added by FLEXIcontent


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #72177 by lipatovroman

ggppdk wrote: Hello

i can not confirm either of the 2 issues

see explanation below

1. base url correctly does not change, why it should ?
query string (URL variable) are not part of the base URL !!

2. rel-canonical is not inserted by FLEXIcontent thus current URL is implied as canonical
the above happens when rel-canonical is an exact match of current URL

if you see a rel-canonical that does not include the variables then it was probably not added by FLEXIcontent



Hello.
Let's check it on your site.

This is your page flexicontent.org/documentation/faq.html
Code:
<link href="https://flexicontent.org/documentation/faq.html" rel="canonical" />

This your page with filters

flexicontent.org/documentation/faq.html?...b4dea53248cff3f8a808


Code:
<link href="https://flexicontent.org/documentation/faq.html" rel="canonical" />

So we have different page, with different urls and different content but with same canonical URL.

Filtered pages should have canonical URL with variables!!!
Last edit: 6 years 9 months ago by lipatovroman.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #72178 by ggppdk
Hello

hhmm there is different behaviour when filtering in home page

about your example

yes i see that the filtering variables are not part of the rel-canonical URL

- only variables like "tagged" category-id(slug), multi-category ids ets are part of the rel canonical

not sure if we should add the filtering variables
they just reduce the displayed items

probably best to use the full listing URL


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #72180 by ggppdk
Hello

like in an mult-page article
most recommended option is to add rel-canonical to "All article pages" view

similar in the filtered category view we add rel-canonical to the "All items (unfiltered) view"

If you would want some filtered category views to have unique rel-canonical , you can create a new menu item and add the filtered values as "Locked filters values"

I am not sure if we should add the filtering variable to the rel-canonical, but you can try to convince me, and / or link to relevant information / discussion about it


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #72181 by lipatovroman
[quote="ggppdk" post=72178
they just reduce the displayed items

probably best to use the full listing URL[/quote]

Yes, they reduce the displayed items - and after that we have new content page.
In my case, I use filters for getting apps for different operating systems.

For example, I have tag "Video Editors".
I created filters for this tag and now I have 4 different pages:
Video Editors for Android
Video Editors for Windows
Video Editors for iOS
Video Editors for macOS


But all those pages have same canonical page.
So, I lost sense of this filtering for search engines.

May be we can get new parameter - to include all variables in canoniacal url?



So, if users do not need this option, they can set No.

But in my case - it should be Yes.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.413 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline