Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

search engine friendly urls

I am using query string urls

website.com/category.php?a=apples
website.com/category.php?a=oranges
website.com/category.php?a=grapes

how can I change these urls to be search engine friendly

also in the php I use a get statement in the begining of code
$a=$_GET['a']
would there be a different way to do this if I have to use search engine friendly url

and why is a url search engine friendly, what is the difference
ASKER CERTIFIED SOLUTION
Avatar of Erdinç Güngör Çorbacı
Erdinç Güngör Çorbacı
Flag of Türkiye 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
Avatar of rgb192

ASKER

How would I do this in windows. And could I still use the a=apples as a variable throughout the new page
SOLUTION
Avatar of Jagadishwor Dulal
Jagadishwor Dulal
Flag of Nepal 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
SOLUTION
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
How would I do this in windows. And could I still use the a=apples as a variable throughout the new page

You can do same on windows too. just make sure your apache configuration enables modrewrite engine .
And yes you can still use old style links to reach that page both works.
Avatar of rgb192

ASKER

different opinions, which I think could both be correct