Supposing you have uploaded the Drupal codebase on htdocs, you have to:
- Verify that htdocs/.htaccess files is present
- Modify htdocs/.htaccess:
- uncomment the RewriteBase line and set it to:
RewriteBase /
- uncomment the RewriteBase line and set it to:
- Run the Clean URL test on admin/settings/clean-urls and then Enable clean URLs
- Job done!
See also: