The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Creating SEF URL's
PostPosted: Fri May 11, 2012 10:58 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Fri Dec 02, 2005 1:32 pm
Posts: 289
Hi,

I'm trying to create a list of category URL's from a Section. I'm running into differences in SEF off vs. SEF on. Joomla 1.5.26

Quote:
$route_url = JRoute::_( 'index.php?option=com_content&view=category&layout=blog&id=' . $row->id . ':' . $row->alias);


With SEF off I get a URL like this:

Code:
http://example.com/index.php?option=com_content&view=category&layout=blog&id=283:lmtjanfeb&Itemid=225


And it will display the contents of the category.

However when SEF is ON I get this:

Code:
http://example.com/lmt-articles/lmt-articles-test/283-lmtjanfeb.html?layout=blog


and throws error 500.

Any direction would be appreciated.

- Mike

_________________
JIKOmetrix - Reliable web hosting
 http://www.jikometrix.net


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group