Tag: htaccess

Link from Google Redirecting

After years of not having a client get hacked, I got 2 in a few weeks.  One client (client A) has a WordPress site which I developed the theme on.  Another client (client B) was brand new, no WordPress.  Client

Posted in Coding, Server Stuff Tagged with: , , ,

htaccess Examples

Common .htaccess redirects are available on github: https://gist.github.com/ScottPhillips/1721489 How nice.  I need this.

Posted in Server Stuff Tagged with:

WordPress htaccess Explained

A great post explaining each line of WordPress’ htaccess file.   http://randomtype.ca/blog/the-wordpress-htaccess-file-explained/

Posted in Server Stuff Tagged with: ,

jPlayer doesn’t play in IE9

Problem Using jPlayer to play video works fine in Chrome and Firefox and the iPhone, but does not play in Internet Explorer 9 (IE9).  In IE9 it just shows a black screen and goes back to the first frame.  

Posted in Coding Tagged with: , ,

Page Speed SEO

One of the metrics for Search Engine Optimization is the time it takes to load a page.  With Google’s PageSpeed tool, you can see if your page is loading optimally.  One of the ways to better your page loading is

Posted in Coding, Server Stuff Tagged with: , , ,

WordPress .htaccess Exclude folder from RewriteRule

To exclude a folder from the wordpress rewrite in .htaccess, add the following line before the other RewriteConds, replacing somedir with your folder name: RewriteCond %{REQUEST_URI} !^/(somedir|somedir/.*)$

Posted in Server Stuff Tagged with: ,

GoDaddy Password Protect Home Directory

Problem: GoDaddy makes it simple to password protect a directory.  You just go to their file manager, click on a directory, click on Permissions, fill out a user and password and you’re done.  Bad thing is that you can’t password

Posted in Server Stuff Tagged with: , , ,

wordpress mod_rewrite exception url

Problem: I added a wordpress blog to a website, but I still needed to get to a url that was on the same website and not part of wordpress. Search terms: wordpress mod_rewrite exception url Solution Found: http://stackoverflow.com/questions/6428448/rewriterule-exception-for-static-page-outside-wordpress Use: RewriteRule

Posted in Server Stuff Tagged with: , ,