469,612 Members | 1,620 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

Make long url search engine friendly by using fake folder in address bar

24
Hi,
I have searched on the internet but can't find a way to disguise a long ugly php url such as www.domain.com/companies.php?id=543 into this:
www.domain.com/companyname
the folder "companyname" shouldnt really exist. There should be some instructions in .htaccess or something like that (not sure) to show www.domain.com/companies.php?id=543 instead but still keep www.domain.com/companyname in the address bar. I dont want to actually create a folder. The purpose of this is to make it search engine friendly. Is this possible?
All help will be greatly appreciated,
Miraan Tabrez
Oct 4 '08 #1
1 3439
pbmods
5,821 Expert 4TB
Heya, Miraan.

You're looking for mod_rewrite, an Apache plugin.
Oct 4 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by George | last post: by
reply views Thread by Dave | last post: by
4 posts views Thread by Sandy.Pittendrigh | last post: by
6 posts views Thread by scottyman | last post: by
4 posts views Thread by MDW | last post: by
8 posts views Thread by Bruno Rafael Moreira de Barros | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.