Hi,
I have read almost all related docs and forum posts regarding this issue, but I am unable to apply the setup.
Lets say I have these pre-created filter urls :
http://{siteurl}/index.php?option=com_cobalt&task=records.filter§ion_id=4&Itemid=101&filter_name[0]=filter_tag&filter_val[0]=59
http://{siteurl}/index.php?option=com_cobalt&task=records.filter§ion_id=4&Itemid=101&filter_name[0]=filter_tag&filter_val[0]=34
http://{siteurl}/index.php?option=com_cobalt&task=records.filter§ion_id=4&Itemid=101&filter_name[0]=filter_tag&filter_val[0]=55
If you notice all these 3 example url filters my records based on TAGs ID, which is great, the problem is these pages although have diffrent content they have only 1 single sef url that search engines will index and that is
http://{siteurl}/en/Menu_item_alias/items/4-section_alias
Which is not good for indexing, my question is how to add the TAGs filter value to the URL to make it unige.
Lets say TAG ID 59 = "text1", TAG ID 34 = "text2", TAG ID 55 = "text3"
I need the sef URL that is generated to be indexed to look somthing like this:
http://{siteurl}/en/Menu_item_alias/text1/items/4-section_alias ---> for filters using TAG ID 59
http://{siteurl}/en/Menu_item_alias/text2/items/4-section_alias ---> for filters using TAG ID 34
http://{siteurl}/en/Menu_item_alias/text3/items/4-section_alias ---> for filters using TAG ID 55
And to make thing cleaner if possible remove the section_alias from the URL aswell to look like this
http://{siteurl}/en/Menu_item_alias/text3/items/4
Is that possible, from my readings I know it is possible to do by editing router.php and Main_router.php
But I am unable to gifure it out.
Thank you for taking the time to read this.
regards.
Hi, I have read almost all related docs and forum posts regarding this issue, but I am unable to apply the setup.
Lets say I have these pre-created filter urls :
http://{siteurl}/index.php?option=com_cobalt&task=records.filter§ion_id=4&Itemid=101&filter_name[0]=filter_tag&filter_val[0]=59
http://{siteurl}/index.php?option=com_cobalt&task=records.filter§ion_id=4&Itemid=101&filter_name[0]=filter_tag&filter_val[0]=34
http://{siteurl}/index.php?option=com_cobalt&task=records.filter§ion_id=4&Itemid=101&filter_name[0]=filter_tag&filter_val[0]=55
If you notice all these 3 example url filters my records based on TAGs ID, which is great, the problem is these pages although have diffrent content they have only 1 single sef url that search engines will index and that is
http://{siteurl}/en/Menu_item_alias/items/4-section_alias
Which is not good for indexing, my question is how to add the TAGs filter value to the URL to make it unige.
Lets say TAG ID 59 = "text1", TAG ID 34 = "text2", TAG ID 55 = "text3"
I need the sef URL that is generated to be indexed to look somthing like this:
http://{siteurl}/en/Menu_item_alias/text1/items/4-section_alias ---> for filters using TAG ID 59 http://{siteurl}/en/Menu_item_alias/text2/items/4-section_alias ---> for filters using TAG ID 34 http://{siteurl}/en/Menu_item_alias/text3/items/4-section_alias ---> for filters using TAG ID 55
And to make thing cleaner if possible remove the section_alias from the URL aswell to look like this
http://{siteurl}/en/Menu_item_alias/text3/items/4
Is that possible, from my readings I know it is possible to do by editing router.php and Main_router.php
But I am unable to gifure it out.
Thank you for taking the time to read this. regards.