I am working on a wordpress site.
A page contains a listing of different insurance companies and each list item has a button which redirects to a wordpress page where I display other details of that insurance company. I pass the ID of the company with the url and display the records through ID.
<a href="<?php echo $row->Kiesuwverzekering."?id=".$row->health_id;?>">
<img src="<?php echo $img_path."img-1.png"; ?>" />
</a>
$row->Kiesuwverzekering is the link of that page, i want to display more details of company.
When redirected to that page url becomes
http://xyz.net/zorgverzekeringg/?id=40
Now I want it to be like -
http://xyz.net/zorgverzekeringg/companyname
Can I replace ?id=40 with companyname? Or should I pass company name in url? If yes then what if company name is like "my company"(without ") I mean what if company name have longer name having space?