antcms
Forum Replies Created
-
Hi there,
I used the bgmp_post-type-params as per your pastebin (http://pastebin.com/ActzpkwX) and keep getting a php error (line 213 in wp-plugins) from memory, and instead of displayiong ‘vendors’ as per your example the url reverts to ‘bgmp/%postname%’
Any idea as to why this may be happening?Thank you, most appreciated! Apologies for (very) delayed response – have been caught up on other projects and only revisiting this one now.
I have not been able to prevent this either through the plugin or any adjustment to the code, but added the following lines to my htaccess file:
RewriteCond %{HTTP_REFERER} !^http://(www\.)?localhost [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?localhost.*$ [NC]
RewriteRule \.(doc|docx)$ – [F]Done one test through the cart and seems to work perfectly (so far). Can purchase but not access directly. Just add the file formats you want blocked in the third line.