[Explained] No correct canonical and base urls after filtering

More
6 years 1 month ago - 6 years 1 month ago #72215 by ggppdk
Hello

&cc=p exists only to allow our code to send 'can-cache' HTTP headers to proxies / browser
- so it must not be and does not NEED to be in re-canonical URLs

the contents with and without &cc=p (public) are the same !


&p=all (p is text-search word combination, all words, any words, etc)
should appear only if it is not the default value

With new code &p=* should not appear at all
- if it appears it means you have changed it default value, and in that case (yes it should appear in rel-canonical, since we allow searches to be indexed)

the above is not so important unless you create text-search URLs and add them in your views


-- 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 1 month ago by ggppdk.

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

More
6 years 1 month ago #72217 by lipatovroman
Hello.
Ok, it's clear about &cc=p

But how to disable ?p=all ?

I open category and choose and filter (not text) and url becomes ?p=all&filter_24[]=0&cc=p

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

More
6 years 1 month ago #72218 by ggppdk
Hello

with the new code if you submit without change the
"word combination" selector

then it should not appear !


Also in most case you can skip/hide the "word combination"
because the default value "require ALL words" is good enough for 90% / 95% of searching cases


-- 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 1 month ago #72221 by lipatovroman

ggppdk wrote: Hello

with the new code if you submit without change the
"word combination" selector

then it should not appear !

Also in most case you can skip/hide the "word combination"
because the default value "require ALL words" is good enough for 90% / 95% of searching cases


Hello.

I don't know why it happens, but when I use any filters - URLs contains ?p=all

I configured global settings for that



See this short video

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

More
6 years 1 month ago #72224 by ggppdk
Hello

ok the recent fix / imporvement
works only when the "word combination" selector is shown

but when it is hidden, then it submits the value as a hidden input 'p' field that has as value the default value

Fixed this case too, by removing the not needed input 'p' field
also added 'p' to rel-canonical (when it is present in submit 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...
The following user(s) said Thank You: lipatovroman

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

More
6 years 1 month ago - 6 years 1 month ago #72226 by lipatovroman
Now everything works as it should.
I have hidden "word combination" selector and ?p=all not displays!!!

Thank you very much!
Last edit: 6 years 1 month ago by lipatovroman.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.293 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