Any help would be awesome. Cheers
![Cheesy :D](./images/smilies/icon_cheesygrin.gif)
Moderator: General Support Moderators
RussW wrote:setup your menu's with aliases (should do this for you anyway) and enable the SEF option in the Global Configuration.
please see: http://docs.joomla.org/GlossaryJuliaLee wrote:I have updated the page alias but the page url did not change. How do I do this?
The Alias
The first step is the generation of the so called alias. The alias is used in the URL instead of the title (the alias is the text you want to have in the URL). The alias has to be URI safe, which means accented UTF8 characters are replaced by their ASCII7 equivalents, white spaces by hyphens, etc.
The alias can be defined by the user, but you should ensure that the above requirements for a URL safe alias are met. A good way to do so is to use the JTable::check() method during the save process. Have a look at this example code:Code: Select all
function check() { jimport( 'joomla.filter.output' ); if(empty($this->alias)) { $this->alias = $this->title; } $this->alias = JFilterOutput::stringURLSafe($this->alias); /* All your other checks */ return true; }