Route problem - eternity number of doubles

More
8 years 1 month ago - 7 years 7 months ago #64355 by MikeM
in my case I create a type, category and >100 items (latest J! and FC)
as example id of category - 8
then i do a menu module and all for all items i create a menu item (there is a landings for multyple cities)

what i was see?

this:

my_site_with_my_goods.com - as a main page and
my_site_with_my_goods.com/paris
my_site_with_my_goods.com/london
...
my_site_with_my_goods.com/moscow

etc as a landigs
it works ok! it works fine

BUT a big problem

if i do this
my_site_with_my_goods.com/london/8 (any valid url and /8 - id of category) we see a category view!!!
if another number - we open another category (if exist)
if we do this whis any menu item
my_site_with_my_goods.com/paris/8 we see a category view!!!

That no all!!!

if we add
my_site_with_my_goods.com/paris/8/10 (where id is id of flexi item) - we open as example
page for london!
my_site_with_my_goods.com/paris/8/10 = my_site_with_my_goods.com/london


i try it on some sites and result was afful dooubles !

if we add any number to flexi item - we see a some page - if id is exist - it show it with new url
Last edit: 7 years 7 months ago by MikeM. Reason: change icon

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

More
More
7 years 7 months ago #67053 by MikeM
somebody answer me?

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

More
7 years 7 months ago - 7 years 7 months ago #67054 by ggppdk
Hello

it is behaving exactly as intended
we have a FAQ article for this, please read it:
www.flexicontent.org/documentation/faq/8...ontent-sef-urls.html

we are given a URL and want to interpret it !

Joomla SEF urls are seperated into segments.
http:://www.ddddommmain.com/menualias1/menualias2/segment3/segment4/segment5/

We have 3 ways of deciding the page to show, (according to the segments AFTER the menu alias segments):
  1. you don't have any extra segments after the menu alias, thus the setting from the Joomla menu item are used to decide which content to show
  2. check if first segment is the 'view': e.g. item,category,tags,favourites, etc, that is followed by various variable values that depend on the view.
  3. decide by the number of segments: e.g. if it is length one it is category view (e.g. /45:cars/), if it is length 2 it is item view (e.g. /45:cars/922:redcar/)


-- 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: 7 years 7 months ago by ggppdk.

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

More
7 years 7 months ago - 7 years 7 months ago #67055 by ggppdk
Hello

Also besides reading my above answer
please note about

www.flexicontent.org/50

the home page is a category view so it falls into this case:

/cat-menu-alias/IDNUM-some-alias/
(just the some-alias is missing)

so it is an item view !

but we have a SEF parameter for new sites the above IDNUM can be either an item view or a category view

Only issue would be is if you have a page:
a category view page that contains inside of it item URLs that are not as intended ?

here please note that typing a URL manually in the address bar can be of course valid

- if it fall into the interpretation rules then it is interpreted !!
- if it does not fall into the interpretation rules then it will give a 404 error

e.g. if an item belong to 2 categories then it can give 2 URLs, and the REL CANONICAL will handling declaring a single URL to search engines


-- 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: 7 years 7 months ago by ggppdk.

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

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