Welcome, Guest
Username: Password: Remember me
EventList 1.0.2 for Joomla 1.6 - 2.5
  • Page:
  • 1

TOPIC:

EventList1.0.2: how to make the URL more beautiful? 5 years 11 months ago #15934

  • hhtmp88
  • hhtmp88's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 68
  • Karma: 1
  • Thank you received: 4
Dear all,

The Eventlist(Event-Venue) URL is something like that:
mysite.org/mfy/component/eventlist/detai...Kwun-Tong-Yoga-Class

If I want to replace "component/eventlist/details" with "class", and rewrite this URL into:
mysite.org/mfy/class/250-Kwun-Tong-Yoga-Class
-> what should be the rewrite code of ".htaccess" file look like?

Thanks for any kind of help!
JMY(晉明夷)
mfYoga.org -- Mindfulness Yoga Association 靜觀瑜伽協會
YogaJM.com -- YogaJM 晉明瑜伽
jmy89.me -- JMY 晉明日誌
jm3ime.com -- JinMing 3-Key Chinese Input Method 晉明三鍵輸入法

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

EventList1.0.2: how to make the URL more beautiful? 5 years 11 months ago #15936

  • Hoffi
  • Hoffi's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 2279
  • Karma: 52
  • Thank you received: 449
Hi hhtmp88,

you could take a look on this post where I provided a solution for EL I use to get a proper Itemid.
It' not exact what you want but maybe it helps. Possibly you could create (invisible) menu items for each category (e.g. with alias "class") to get nearly the url you like. But I don't remember how good my adaptions work to find the best matching menu item.
The .htaccess I only use to redirect to the home page as fallback. I hadn't taken the time to understand all the possibilities there.
Pessimists are optimists with experience!

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

  • Page:
  • 1
Time to create page: 0.285 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......