.htaccess code for tracking pixel for multisite
-
On the Advanced settings page, Tracking pixel this code is shown to enable the tracking pixel feature:
RewriteBase /www.thesite.com/ #Begin Knews (add this lines just after the RewriteBase line) RewriteRule ^wp-content/uploads/knewsimages/([^/]+).(jpg|jpeg|gif|png)$ /www.thesite.com/wp-content/plugins/knews/direct/track.php?img=$1 [L,NC] #End Knews (that's all, your htaccess should continue as is...)
The above RewriteRule ofcourse doesn’t work for a multisite setup.
What is the correct rewrite rule in case of multisite?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘.htaccess code for tracking pixel for multisite’ is closed to new replies.