Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

SEF Url rewrite rule
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: SEF Url rewrite rule

SEF Url rewrite rule 11 years, 6 months ago #33578

Hi,

I am using Joomla 2.5 with JoomSEF 4.2.9 on IIS 7. Whenever I create a new tag in my blog JoomSEF is using the tag name as SEF Url. For example:

Real Url: index.php?option=com_zoo&app_id=1&tag=Kinderurlaub&task=tag&Itemid=103
SEF Url: kinderurlaub

I would like to achieve that JoomSEF adds blog/tag at the beginning so that the final SEF Url will look like this: blog/tag/kinderurlaub.

How can I do that? Any help would be greatly appreciated.
The topic has been locked.

Re: SEF Url rewrite rule 11 years, 6 months ago #33587

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
In our Zoo extension parameters (accessible from Manage Extensions page in JoomSEF) there's an option called "Add 'tag' to URL" which will add the 'tag' word if enabled.
To add the 'blog' at the beginning, you can set Custom menu title to "blog" on the Common tab of Zoo extension parameters, but that will add the word to all Zoo URLs, not just the tag URLs. Other than that a customization in Zoo extension's code would be needed.
ARTIO Support Team
The topic has been locked.

Re: SEF Url rewrite rule 11 years, 6 months ago #33593

Thank you. Somehow I have missed this option before. Would you mind to give me a quick start which file I have to customize?
The topic has been locked.

Re: SEF Url rewrite rule 11 years, 6 months ago #33601

  • dajo
  • OFFLINE
  • Posts: 5069
Extensions files are stored in /components/com_sef/sef_ext/ directory, so the file for Zoo extension is /components/com_sef/sef_ext/com_zoo.php. The resulting SEF URL is built in the create(&$uri) function and the URL parts are stored in the $title array.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty