Link to home
Start Free TrialLog in
Avatar of joomla
joomlaFlag for Australia

asked on

SEO friendly urls

I have a custom built PHP/MYSQL based CMS
Using .htaccess I can create short urls
ie
www.mysite.com/index.php?p=page&id=2 is converted to www.mysite.com/page/2

I want the url to read www.mysite.com/page/article_name.html
where article_name is a the title of the article stored in the database.

Joomla has a plugin to do this.
thanks
Michael
Avatar of joomla
joomla
Flag of Australia image

ASKER

I must point out i'm not using joomla.
I simply want to replicate the joomla plugin that allows you to have friendly names
ASKER CERTIFIED SOLUTION
Avatar of p_nuts
p_nuts
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi
You need to configure your application to meet your requirements short url are done using cobmination of tewchnique some hard code and using apache rewrite module
Avatar of landalf
landalf

Hi,
Have you tried in the backend site/global configuraton/ ?  in site SEO settings

There you can do magic

@joomla
with a name like that assuming you're using joomla isn't that strange...

any luck?
Avatar of joomla

ASKER

I have applied your solution
I had blinkers on and was presuming I had to work with the page number (which is based on it's record number)

Rather easy once someone points the way
thanks

Brilliant ;)