Menu Content

Support

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

Using JoomSEF in an outside PHP script
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Using JoomSEF in an outside PHP script

Using JoomSEF in an outside PHP script 16 years ago #5294

Hi everybody,

I'm a newbie of this forum and JoomSEF.

I've installed the component which rewrite my joomla URLs and everything works fine, except for one thing.

I have a page which uses AJAX. AJAX calls an external PHP script which prints some links. These links are in the format 'index.php?option=....' and are not rewritten by JoomSEF.

How cuold I fix this problem?

Re:Using JoomSEF in an outside PHP script 16 years ago #5301

  • miun
  • OFFLINE
  • A pesimist is just a well-informed realist.
  • Posts: 563
Hello,

to make JoomSEF translate correctly the URLs, all URLs generated by your script need to be parsed by function sefRelToAbs() funciton in Joomla 1.0.x or via JRouter class in Joomla 1.5.x.

I think the problem is that your script does not generate the URLs using these methdos. Refer to Joomla APIs for more details on this.
ARTIO Support Team
  • Page:
  • 1
User Login Empty