This isn’t even Magento 101, it’s Magento Middle School, but it accounts for 25% of the questions people email me about Magento.
If you want to avoid URLs in the form of
and instead have
Make sure your webserver is setup toead
.htaccess files, and that the following Magento configuration field is set to Yes
Web -> Search Engine Optimization -> Use Web Server Rewrites