Incorrect download links when using mod_rewrite

Incorrect download links when using mod_rewrite

Incorrect download links when using mod_rewrite
divider

I am using mod_rewrite and .htaccess to make my URL's more user-friendly.
Problem is now the download link is all wrong for download files and it gives a 404 error.
How can I get rid of the "seo rewriting"

A very simple way of fixing the problem is by simply adding the following line of code directly following the closing head tag

<base href="http://www.yourdomain.tld/" />

This simply tells the browser to "forget" the seo rewriting and "reset" everything back to normal

Written by:  - 16 Sep, 2009