Joomla 1.5: Allow Uppercase in Title Alias

Hi,…..I got this  from .. http://joomlawebhosting.ca/joomla-15-tips/194-joomla-15-allow-uppercase-in-title-alias.html

So I want share & be with me..

Joomla forces the Title Alias to be lowercase.

The Title Alias is used in Joomla SEF URL.

 

Some reasons to allow uppercase in SEF URL:

  1. conform to an incoming url that has uppercase characters in it.
  2. using uppercase is better for SEO some say.

 

This is a core edit that could be overwritten on the next Joomla update.

Backup first.

 

The file to edit is:

libraries/joomla/filter/filterout.php

 

Around line 94 change this :

$str = trim(strtolower($str));

return $str;

 

to this:

$str = trim($str);

return $str;

 

Perhaps a better way to handle this would be to force all incoming urls to be lowercase using htaccess (along with RewriteMap or possibly mod_speling), but on a shared server this may not be possible.

 

Advertisements

PHP Developer..

Posted in Joomla 1.5
One comment on “Joomla 1.5: Allow Uppercase in Title Alias
  1. Hi I am so happy I found your webpage, I really found you by error, while I was researching on Aol for something else, Nonetheless I am here now and would just like to say kudos for a marvelous post and a all round thrilling blog (I also love the theme/design), I don’t have time to read through it all at the minute but I have bookmarked it and also included your RSS feeds, so when I have time I will be back to read more, Please do keep up the great job.|

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: