If you want to exclude all URIs containing the string "x45poty" (case insensitive) use the following:
Code:
# Don't rewrite URI if contains "x45poty" string
RewriteCond %{REQUEST_URI} !x45poty [NC]
When checking I was able to get into the blog without any issues... Take it you were able to get things sorted? Without seeing the problematic behavior one can only guess what the problem was. Could you post what was needed for future readers of this thread?
Other thoughts:
When uploading I highly recommend using FTPS or SFTP with WinSCP, Filezilla, or similar. They do not care what the file extension is and using a secure version of FTP with an ecommerce site is always a good idea.
As for the matching to exclude the blog... Do you really have images for your blog at /wp-images instead of under /blog/wp-content? The less excludes, the simpler it will be to debug and the faster the request can be processed. If you want to exclude both /blog and /blog/someurl (some incoming links might incorrectly specify /blog instead of /blog/) you can change the RewriteCond for the blog to match the EOL or /.
Code:
# Don't rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog($|/) [NC]
I also noticed you are running multiple domains using nested Document Roots (public_html). This is not best practice and can lead to some negative situations. You may want to look into (or have your hosting provider) remove the nested Document Roots and provide separate physical paths for each domain. See
this post for an example.
Bookmarks