I'm starting to understand a little bit more...but still not enough.krileon wrote: Creating thousands of menu items is not maintainable.
What you proposed again is no different than the filters as you can already pre-filter a userlist from GET. For example create an External URL menu item to the below and it'd filter cb_country to USA.
index.php?option=com_comprofiler&view=userslist&cb_country=USA
But Joomla does not utilize SEO for External URL menu items. What you're needing is to be able to create an internal menu item with Community Builder > Userlist menu type and to be able to specify the filters there, but again that's still having to maintain thousands of menu items which is not maintainable.
Could you please explain more in details here? And how could I do that if I do not want to use any external SEO extension? How would I than treat my SEO for each list (by countries, citys...) as it seems to be 100% virtual userlists?Just create custom htaccess rewrite rules and utilize 1 menu item and 1 userlist.
Isn't thousands rewrite rules in htaccess file bad? I've heard the htaccess file shouldn't be that big.custom htaccess rewrite rules
Please Log in or Create an account to join the conversation.
You'll have to write a custom mod_rewrite rule and add it to your htaccess file.Could you please explain more in details here? And how could I do that if I do not want to use any external SEO extension? How would I than treat my SEO for each list (by countries, citys...) as it seems to be 100% virtual userlists?
No, mod_rewrite rules can utilize REGEXP so you'd have 1 rewrite rule, 1 menu item, and 1 userlist to cover your entire needs. See the below guide to help you get started.Isn't thousands rewrite rules in htaccess file bad? I've heard the htaccess file shouldn't be that big.
Please Log in or Create an account to join the conversation.
Ok, great explanation, thanks! I think I know how to do that! I just need to name Country fields values like "usa", "ch", "fr"... and use those same values in htaccess rewrite rule.krileon wrote:
You'll have to write a custom mod_rewrite rule and add it to your htaccess file.Could you please explain more in details here? And how could I do that if I do not want to use any external SEO extension? How would I than treat my SEO for each list (by countries, citys...) as it seems to be 100% virtual userlists?
No, mod_rewrite rules can utilize REGEXP so you'd have 1 rewrite rule, 1 menu item, and 1 userlist to cover your entire needs. See the below guide to help you get started.Isn't thousands rewrite rules in htaccess file bad? I've heard the htaccess file shouldn't be that big.
httpd.apache.org/docs/2.0/misc/rewriteguide.html
So ideally you'd create a Joomla menu item to your userlist. Lets just say its menu alias is "members", which gives you the below URL.
example.com/members
You'll probably want a rewrite rule to rewrite something like the below.
example.com/members/usa
That'd send them to the raw URL like the below, but they'll see the above in their browser.
index.php?option=com_comprofiler&view=userslist&cb_country=usa&Itemid=MENU_ID_HERE
Please Log in or Create an account to join the conversation.
You can't without an SEF extension or I guess CB Auto Actions to insert metatags. SEF extension would likely be the easiest approach and offer the most customization. Joomla does not offer strong SEF out of the box. It's all done on a per menu item basis, which can be limiting based off needs.However,
could you please explain more in details : how would I than treat my SEO for each rewrited by htaccess list (by countries, citys...) - where will I put the metatags (keywords, description) data for each "virtual" userlist without using external SEO extention?
You'd have 1 menu item to your userlist per language so maybe 1-10 menu items. Your htaccess rewrite rule should see the language tag added by Joomlas language filter plugin and you can send them to the appropriate userlist based off that. Otherwise I don't know and I guess you'd need a SEF extension.2) just thought of another very important moment: as we were discussing it in another topic, my site is multilanguage, so as Google says, there must be hreflang tag in the HEAD section of the code. I know that a possibility to make it correcty (and make appear this tag in the code) is to create same menu items for each language and link them in the Associations tab of menu item members. Once again it is possible to achieve this by creating manually thousands of menu items... But how on earth can I manage to do so, by using rewrite rules with htaccess?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You'd have 1 menu item and 1 userlist. The SEO extension would then have your thousands of dynamic URL rewrites. Yes, no matter how you slice it you will be making thousands of something and that's because you want unique URLs and unique metadata per URL.I have the fieling, that with a SEO extention, I would also work with thousands of pages, as I would need to configure each page meta tags...
That's not possible. Joomla does not allow that. See my comment regarding adding filters to a userlist menu item and subsequent feature ticket.And another thought: maybe it's possible to make the Link in the Menu item active? Like on the screenshot we see, by default it's deactivated....
Please Log in or Create an account to join the conversation.