Sunday, May 20, 2012

Wudman on “Platform Theme Framework Feedback”

Thank you. Subsequent sniffing around the web I did come across a post where you said that this was coming in the next update of the pro program.

As we step forward in deploying modern web portals, it would seem that having a color picker intuitive enough to make the CSS change would be excellent design. If we can drag other elements around sites for placement, why is color taking us back to Notepad?

MathSmath on “wp_nav_menu not working on homepage”

I just spent hours on the same symptom.

Try disabling all plugins, and look through your functions.php file to see if you have some code that modifies queries.

Don't know if your underlying issue will be the same, but here's what the problem was for me:

I had code in my functions.php file that was meant to include custom content types in search results, feeds, etc. (this kind of code could also exist in a plugin you're using, which is why I suggested turning them off). My code looked like this:

function include_post_types($query) {

	global $wp_query;

	if ( !is_preview() && !is_singular() && !is_admin() ) {

    	$post_types = array('post', 'press-releases');

		$existing_post_type = get_query_var( 'post_type' ); // Only do this if the post type is not already set
		if ( empty( $existing_post_type ) ) {

			$query->set( 'post_type' , $post_types );

		}

	}

	return $query;

}
add_filter('pre_get_posts' , 'include_post_types');

Pretty sure I found this code (or something similar) on the forum somewhere, so it's possible other people are using it. The problem is, it assumes the global wp_query and the query being parsed by pre_get_posts are the same. But in custom queries using the WP_Query object (which the navigation widget and template tag uses), they're not necessarily the same, and you might accidentally overwrite valid query vars.

I fixed it by doing something I should have done in the first place--removing the reference to the global $wp_query.

function include_post_types( $query ) {

	if ( !is_preview() && !is_singular() && !is_admin() ) {

    	$post_types = array('post', 'press-releases');

		$existing_post_type = $query->query_vars['post_type']; // Only do this if the post type is not already set
		if ( empty( $existing_post_type ) ) {

			$query->set( 'post_type' , $post_types );

		}

	}

	return $query;

}
add_filter('pre_get_posts' , 'include_post_types');

Hope this helps!

ClaytonJames on “fatal error”

http://wordpress.org/support/topic/fatal-error-226?replies=2

ingels on “Custom logo as featured image (and used for links)”

Hi

I use the "Mystique" theme and I have an .png set as custom logo, I found out that Featured images are used as "link images" when you post a link to the website at Facebook and other website. I would love if I could use the custom logo or another image I have uploaded as the "image link".

I've made a post, saved it as a draft )not published) and included an Featured image in it and I'll see if that has what it takes to be able to use that image when I link to my website.

Is there a plugin or some other solution for this ?

FrankCellistino on “how to change text in footer and line it up in center”

I'm new here. If I posted this is wrong area I apologize. I am using the twenty ten theme. At the end of my blog in the bottom right hand corner it says "proudly powered by wordpress". I tried editing the footer.php, and seem only to be able to remove the code from examples I've seen from other people. I would like to change that to something else, probably a disclaimer. I would also like to center the disclaimer.

Can someone help me with if I'm on the right track by editing the footer.php, and is there something else I need to modify? Thanks,

Frank

BenjaminSommer on “NetBlog overwrites post content”

Which version of Netblog and Wordpress do you use? Do you use a custom editor or possibly a plugin which heavily changes the way Wordpress works internally?

Can you describe exactly what happens when you want to create, save and/or publish a post, please?

The tag "<!--{NETBLOG_EXPORT} [encoded embedded export data] -->" is used internally to ensure export and import capability. The tag "<!netblog reference comment !>", or any tag starting with "<!netblog" cannot be directly generated by Netblog 1.5.2 under known circumstances, since it does not make much sense to use such a tag - "<!-- -->" is a HTML comment tag and thus not directly visible to your Website visitor. To ensure maximum security and privacy, Netblog filters the content of your posts before they are send to your visitor so that this EED (embedded export data) is not transmitted over the Internet for a Website access. This tag was made because Wordpress lacks a filter for filtering a post's content just before exporting it.

Many thanks for your report.

ClaytonJames on “login page not found”

index.php is missing from your /wpsystem directory. Start there and see how you progress.

voyagerfan5761 on “[Plugin: Subscribe To Comments Reloaded] Feature ideas”

Had I taken the time to read the Installation section... But using the source code worked, too. I'll deactivate/activate now, just in case there's something else it needs to do that I didn't do manually.

I'll definitely look for 1.3. :)

floydrose5150 on “jQuery Slider Issues – Images bleed through – All Sliders”

I just tried removing the audio player from the header and still no go. I am open to new sliders, however, this has happened with every one I have used.

Leading me to believe there is a problem with my site config somewhere.

I am relatively experienced with Wordpress, but for the life of me, can't find the culprit to this issue.

Thanks so far though, hopefully more ideas may come in. Greatly appreciated!

Dennis8 on “Internal errors – htaccess mess?”

Ive been getting a lot of 500 and 503 errors lately when Im in WordPress. There have been some changes made to the htaccess and Im having a hard time figuring out where the faulty entries/orders are. Can someone please take a look and tell me where things need to be fixed? Also I dont understand where theres always a huge blank space popping up whenever I edit a setting via the W3 Total Cache plugin. Any reason for that? Thanks for any help!

# BEGIN W3 Total Cache

<IfModule mod_setenvif.c>

SetEnvIfNoCase Accept-Encoding (gzip|deflate) APPEND_EXT=.$1

</IfModule>

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{REQUEST_URI} \/$

RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register).php|wp-.*\.php|index\.php) [OR]

RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC]

RewriteCond %{REQUEST_METHOD} !=POST

RewriteCond %{QUERY_STRING} =""

RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC]

RewriteCond %{HTTP_USER_AGENT} !(bot|ia_archive|slurp|crawl|spider) [NC]

RewriteCond /home/valor88/public_html/wp-content/w3tc/pgcache/$1/_default_.html%{ENV:APPEND_EXT} -f

RewriteRule (.*) wp-content/w3tc/pgcache/$1/_default_.html%{ENV:APPEND_EXT} [L]

</IfModule>

# END W3 Total Cache

RewriteEngine on

RewriteCond %{HTTP_HOST} ^usbmemorysticks.net

RewriteRule (.*) http://www.usbmemorysticks.net/$1 [R=301,L]

RewriteRule ^find-usb-dog-bone-memory-sticks$ /bone-skull-skeleton-flash-drives [R=301,L]

RewriteRule ^find-super-talent-swivel-sm-memory-sticks$ /super-talent-swivel-s-flash-drives [R=301,L]

RewriteRule ^find-24gb-memory-sticks$ /category/32gb-flash-drives [R=301,L]

RewriteRule ^find-usb-santa-claus-memory-sticks$ christmas-flash-drives [R=301,L]

RewriteRule ^find-bacon-and-chicken-flash-drives$ usb-bacon-and-chicken-flash-drives [R=301,L]

RewriteRule ^find-wooden-usb-memory-sticks$ wooden-flash-drives [R=301,L]

RewriteRule ^find-2gb-memory-sticks$ 2gb-flash-drives [R=301,L]

RewriteRule ^memory-sticks-vs-dvd-rs$ flash-drives-vs-dvd-rs [R=301,L]

RewriteRule ^find-super-talent-customizable-d-memory-sticks$ super-talent-customizable-d-flash-drives [R=301,L]

RewriteRule ^find-4gb-memory-sticks$ 4gb-flash-drives [R=301,L]

RewriteRule ^find-5gb-memory-sticks$ 5gb-flash-drives [R=301,L]

RewriteRule ^find-8gb-memory-sticks$ 8gb-flash-drives [R=301,L]

RewriteRule ^find-16gb-memory-sticks$ 16gb-flash-drives [R=301,L]

RewriteRule ^find-32gb-memory-sticks$ /category/32gb-flash-drives [R=301,L]

RewriteRule ^find-64gb-memory-sticks$ /category/64gb-flash-drives [R=301,L]

RewriteRule ^find-usb-lanyard-memory-sticks$ usb-lanyard-flash-drives [R=301,L]

RewriteRule ^future-memory-stick-capacities$ future-flash-drive-capacities [R=301,L]

RewriteRule ^find-usb-medical-flash-drives$ usb-medical-flash-drives [R=301,L]

RewriteRule ^find-usb-guitar-memory-sticks$ usb-guitar-flash-drives [R=301,L]

RewriteRule ^memory-sticks-vs-hard-drives$ flash-drives-vs-hard-drives [R=301,L]

RewriteRule ^find-usb-pizza-memory-sticks$ usb-pizza-flash-drives [R=301,L]

RewriteRule ^find-usb-memory-stick-necklaces-pendants$ usb-flash-drive-necklaces-pendants [R=301,L]

RewriteRule ^usb-memory-stick-uses$ usb-flash-drive-uses [R=301,L]

RewriteRule ^find-usb-donut-memory-sticks$ usb-donut-flash-drives [R=301,L]

RewriteRule ^find-usb-fortune-cookie-memory-sticks$ usb-fortune-cookie-flash-drives [R=301,L]

RewriteRule ^find-various-usb-food-memory-sticks$ various-usb-food-flash-drives [R=301,L]

RewriteRule ^find-usb-pepper-memory-sticks$ usb-pepper-flash-drives [R=301,L]

RewriteRule ^find-usb-heart-pendant-memory-sticks$ usb-heart-flash-drives [R=301,L]

RewriteRule ^find-secure-memory-sticks$ secure-flash-drives [R=301,L]

RewriteRule ^find-usb-watermelon-memory-sticks$ usb-watermelon-flash-drives [R=301,L]

RewriteRule ^find-super-talent-customizable-b-memory-sticks$ super-talent-customizable-b-flash-drives [R=301,L]

RewriteRule ^find-super-talent-customizable-a-memory-sticks$ super-talent-customizable-a-flash-drives [R=301,L]

RewriteRule ^find-bootable-memory-sticks$ bootable-flash-drives [R=301,L]

RewriteRule ^find-usb-hamburger-memory-sticks$ usb-hamburger-flash-drives [R=301,L]

RewriteRule ^find-usb-cookie-memory-sticks$ usb-cookie-flash-drives [R=301,L]

RewriteRule ^find-super-talent-godfather-memory-sticks$ super-talent-godfather-flash-drives [R=301,L]

RewriteRule ^find-usb-strawberry-memory-sticks$ usb-strawberry-flash-drives [R=301,L]

RewriteRule ^find-usb-humping-dog-memory-sticks$ usb-humping-dog-flash-drives [R=301,L]

RewriteRule ^find-super-talent-luxio-memory-sticks$ super-talent-luxio [R=301,L]

RewriteRule ^find-usb-brick-memory-sticks$ usb-brick-flash-drives [R=301,L]

RewriteRule ^find-usb-syringe-memory-sticks$ usb-syringe-flash-drives [R=301,L]

RewriteRule ^find-smallest-nano-memory-sticks$ smallest-nano-flash-drives [R=301,L]

RewriteRule ^find-bone-skull-skeleton-memory-sticks$ bone-skull-skeleton-flash-drives [R=301,L]

RewriteRule ^find-usb-handbag-memory-sticks$ usb-handbag-flash-drives [R=301,L]

RewriteRule ^find-usb-banana-memory-sticks$ usb-banana-flash-drives [R=301,L]

RewriteRule ^find-usb-tree-memory-sticks$ usb-tree-flash-drives [R=301,L]

RewriteRule ^find-usb-cake-memory-sticks$ usb-cake-flash-drives [R=301,L]

RewriteRule ^find-thinnest-small-data-memory-sticks$ thinnest-small-data-flash-drives [R=301,L]

RewriteRule ^find-crazy-funny-usb-memory-sticks$ crazy-funny-memory-sticks [R=301,L]

RewriteRule ^category/flash-drive-brands/pny-flash-drives$ /category/pny-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/lacie-flash-drives$ /category/lacie-flash-drives [R=301,L]

RewriteRule ^secure-kingston-datatraveler$ kingston-datatraveler-200-310-5000 [R=301,L]

RewriteRule ^kingston-datatraveler-200-to-vault$ kingston-datatraveler-200-310-5000 [R=301,L]

RewriteRule ^super-talent-luxio-flash-drives$ super-talent-luxio [R=301,L]

RewriteRule ^category/flash-drive-brands/corsair-flash-drives$ /corsair-flash-drives [R=301,L]

RewriteRule ^sandisk-ultra-flash-drives$ sandisk-ultra [R=301,L]

RewriteRule ^32gb-flash-drives$ /category/32gb-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-capacities/32gb-flash-drives$ /category/32gb-flash-drives [R=301,L]

RewriteRule ^64gb-flash-drives$ /category/64gb-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-capacities/64gb-flash-drives$ /category/64gb-flash-drives [R=301,L]

RewriteRule ^flash-drive-capacities/64gb-flash-drives$ /category/64gb-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/edge-flash-drives$ /category/edge-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/kingmax-flash-drives$ /category/kingmax-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/ocz-flash-drives$ /category/ocz-flash-drives [R=301,L]

RewriteRule ^find-beer-and-coca-cola-memory-sticks$ usb-beer-and-coca-cola-flash-drives [R=301,L]

RewriteRule ^find-1gb-memory-sticks$ 1gb-flash-drives [R=301,L]

RewriteRule ^find-usb-sushi-memory-sticks$ usb-sushi-flash-drives [R=301,L]

RewriteRule ^find-512mb-memory-sticks$ 512mb-flash-drives [R=301,L]

RewriteRule ^find-generic-and-other-brand-memory-sticks$ generic-flash-drives [R=301,L]

RewriteRule ^find-256mb-memory-sticks$ 256mb-flash-drives [R=301,L]

RewriteRule ^find-super-talent-swivel-s-memory-sticks$ super-talent-swivel-s-flash-drives [R=301,L]

RewriteRule ^find-usb-memory-stick-keychains$ usb-flash-drive-keychains [R=301,L]

RewriteRule ^find-hello-kitty-memory-sticks$ hello-kitty-flash-drives [R=301,L]

RewriteRule ^find-128mb-memory-sticks$ 128mb-flash-drives [R=301,L]

RewriteRule ^usb-30-memory-sticks$ usb-30-flash-drives [R=301,L]

RewriteRule ^find-usb-memory-stick-bracelets$ usb-flash-drive-bracelets [R=301,L]

RewriteRule ^category/flash-drive-brands/lexar-flash-drives$ /category/lexar-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/hp-flash-drives$ /category/hp-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/centon-flash-drives$ /category/centon-flash-drives [R=301,L]

RewriteRule ^find-hp-memory-sticks$ /category/hp-flash-drives [R=301,L]

RewriteRule ^find-16mb-32mb-64mb-memory-sticks$ 16mb-32mb-64mb-flash-drives [R=301,L]

RewriteRule ^category/crazy-funny-flash-drives/usb-food-flash-drives$ /category/usb-food-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/transcend-flash-drives$ /category/transcend-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/super-talent-flash-drives$ /category/super-talent-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/sandisk-flash-drives$ /category/sandisk-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/pqi-flash-drives$ /category/pqi-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-brands/kingston-flash-drives$ /category/kingston-flash-drives [R=301,L]

RewriteRule ^find-usb-chainsaw-memory-sticks$ /usb-chainsaw-flash-drives [R=301,L]

RewriteRule ^find-verbatim-memory-sticks$ verbatim-flash-drives [R=301,L]

RewriteRule ^find-pqi-memory-sticks$ /category/pqi-flash-drives [R=301,L]

RewriteRule ^find-super-talent-pico-memory-sticks$ super-talent-pico-flash-drives [R=301,L]

RewriteRule ^find-sony-memory-sticks$ sony-flash-drives [R=301,L]

RewriteRule ^find-toshiba-memory-sticks$ toshiba-flash-drives [R=301,L]

RewriteRule ^find-128gb-memory-sticks$ 128gb-flash-drives [R=301,L]

RewriteRule ^find-kingston-memory-sticks$ /category/kingston-flash-drives [R=301,L]

RewriteRule ^find-sandisk-memory-sticks$ sandisk-cruzer-flash-drives [R=301,L]

RewriteRule ^find-lexar-memory-sticks$ /category/lexar-flash-drives [R=301,L]

RewriteRule ^lexar-flash-drives$ /category/lexar-flash-drives [R=301,L]

RewriteRule ^recent-posts$ / [R=301,L]

RewriteRule ^recent-flash-drive-posts$ / [R=301,L]

RewriteRule ^find-newsmy-memory-sticks$ newsmy-flash-drives [R=301,L]

RewriteRule ^super-talent-flash-drives$ /category/super-talent-flash-drives [R=301,L]

RewriteRule ^sandisk-flash-drives$ /category/sandisk-flash-drives [R=301,L]

RewriteRule ^transcend-flash-drives$ /category/transcend-flash-drives [R=301,L]

RewriteRule ^kingston-flash-drives$ /category/kingston-flash-drives [R=301,L]

RewriteRule ^find-kanguru-memory-sticks$ kanguru-flash-drives [R=301,L]

RewriteRule ^find-corsair-memory-sticks$ corsair-flash-drives [R=301,L]

RewriteRule ^find-patriot-memory-sticks$ patriot-flash-drives [R=301,L]

RewriteRule ^find-usb-bacon-and-chicken-memory-sticks$ usb-bacon-and-chicken-flash-drives [R=301,L]

RewriteRule ^category/flash-drive-designs-specialities$ /category/cool-flash-drives [R=301,L]

RewriteRule ^find-transcend-memory-sticks$ /category/transcend-flash-drives [R=301,L]

RewriteRule ^kingston-datatraveler-2$ kingston-datatraveler-200-310-5000 [R=301,L]

# BEGIN W3TC Skip 404 error handling by WordPress for static files
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !(robots\.txt|sitemap\.xml(\.gz)?)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} \.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ [NC]
RewriteRule .* - [L]
</IfModule>
# END W3TC Skip 404 error handling by WordPress for static files

# BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
AddType text/css .css
AddType application/x-javascript .js
AddType text/html .html .htm
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType text/xml .xml
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A7776000
ExpiresByType application/x-javascript A7776000
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A7776000
ExpiresByType video/avi A7776000
ExpiresByType image/bmp A7776000
ExpiresByType application/java A7776000
ExpiresByType video/divx A7776000
ExpiresByType application/msword A7776000
ExpiresByType application/x-msdownload A7776000
ExpiresByType image/gif A7776000
ExpiresByType application/x-gzip A7776000
ExpiresByType image/x-icon A7776000
ExpiresByType image/jpeg A7776000
ExpiresByType application/vnd.ms-access A7776000
ExpiresByType audio/midi A7776000
ExpiresByType video/quicktime A7776000
ExpiresByType audio/mpeg A7776000
ExpiresByType video/mp4 A7776000
ExpiresByType video/mpeg A7776000
ExpiresByType application/vnd.ms-project A7776000
ExpiresByType application/vnd.oasis.opendocument.database A7776000
ExpiresByType application/vnd.oasis.opendocument.chart A7776000
ExpiresByType application/vnd.oasis.opendocument.formula A7776000
ExpiresByType application/vnd.oasis.opendocument.graphics A7776000
ExpiresByType application/vnd.oasis.opendocument.presentation A7776000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A7776000
ExpiresByType application/vnd.oasis.opendocument.text A7776000
ExpiresByType audio/ogg A7776000
ExpiresByType application/pdf A7776000
ExpiresByType image/png A7776000
ExpiresByType application/vnd.ms-powerpoint A7776000
ExpiresByType audio/x-realaudio A7776000
ExpiresByType application/x-shockwave-flash A7776000
ExpiresByType application/x-tar A7776000
ExpiresByType image/tiff A7776000
ExpiresByType audio/wav A7776000
ExpiresByType audio/wma A7776000
ExpiresByType application/vnd.ms-write A7776000
ExpiresByType application/vnd.ms-excel A7776000
ExpiresByType application/zip A7776000
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
</IfModule>
<FilesMatch "\.(css|js)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag None
</FilesMatch>
<FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml)$">
FileETag None
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag None
</FilesMatch>
# END W3TC Browser Cache

# BEGIN W3TC Page Cache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} (2\.0\ mmp|240x320|alcatel|amoi|asus|au\-mic|audiovox|avantgo|benq|bird|blackberry|blazer|cdm|cellphone|danger|ddipocket|docomo|dopod|elaine/3\.0|ericsson|eudoraweb|fly|haier|hiptop|hp\.ipaq|htc|huawei|i\-mobile|iemobile|j\-phone|kddi|konka|kwc|kyocera/wx310k|lenovo|lg|lg/u990|lge\ vx|midp|midp\-2\.0|mmef20|mmp|mobilephone|mot\-v|motorola|netfront|newgen|newt|nintendo\ ds|nintendo\ wii|nitro|nokia|novarra|o2|openweb|opera\ mobi|opera\.mobi|palm|panasonic|pantech|pdxgw|pg|philips|phone|playstation\ portable|portalmmm|ppc|proxinet|psp|pt|qtek|sagem|samsung|sanyo|sch|sec|sendo|sgh|sharp|sharp\-tq\-gx10|sie|small|smartphone|softbank|sonyericsson|sph|symbian|symbian\ os|symbianos|toshiba|treo|ts21i\-10|up\.browser|up\.link|uts|vertu|vodafone|wap|willcome|windows\ ce|windows\.ce|winwap|xda|zte) [NC]
RewriteRule .* - [E=W3TC_UA:_low]
RewriteCond %{HTTP_USER_AGENT} (acer\ s100|android|archos5|blackberry9500|blackberry9530|blackberry9550|cupcake|docomo\ ht\-03a|dream|htc\ hero|htc\ magic|htc_dream|htc_magic|incognito|ipad|iphone|ipod|lg\-gw620|liquid\ build|maemo|mot\-mb200|mot\-mb300|nexus\ one|opera\ mini|samsung\-s8000|series60.*webkit|series60/5\.0|sonyericssone10|sonyericssonu20|sonyericssonx10|t\-mobile\ mytouch\ 3g|t\-mobile\ opal|tattoo|webmate|webos) [NC]
RewriteRule .* - [E=W3TC_UA:_high]
RewriteCond %{HTTPS} =on
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{SERVER_PORT} =443
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=W3TC_ENC:.gzip]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =""
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail)\.php|wp-.*\.php|index\.php) [NC,OR]
RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC]
RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC]
RewriteCond %{HTTP_USER_AGENT} !(bot|ia_archive|slurp|crawl|spider) [NC]
RewriteCond "/home/valor88/public_html/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}" -f
RewriteRule (.*) "/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}" [L]
</IfModule>
# END W3TC Page Cache

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://usbmemorysticks.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://usbmemorysticks.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.usbmemorysticks.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.usbmemorysticks.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.swivel.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.swivel.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]