Bit of an advanced question, possibly, but here goes.
I have a shopping cart within a WP installation
I've found some mod rewrite code that will change the urls of the shopping cart to nicer-looking urls
http://www.mysite.co.uk/proddetail.php?prod=monitor
goes to
http://www.mysite.co.uk/monitor
However, this now rewrites the single posts in WordPress and sends me back into the shopping cart error page.
Has anyone got the skill to disentangle this problem for me?
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^([A-Za-z0-9]+)(/)?$ proddetail.php?prod=$1 [L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /proddetail\.php\?prod=([^&]+)\ HTTP/
RewriteRule ^proddetail\.php$ http://www.mysite.co.uk/%1? [R=301,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress