Title: Htaccess Syntax
Last modified: June 7, 2020

---

# Htaccess Syntax

 *  Resolved Anonymous User 17203929
 * (@anonymized-17203929)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/htaccess-syntax/)
 * Hi,
 * First of all, thank you for the amazing plugin!
 * When I add the Apache config (.htaccess block) something breaks syntax.
 * [⌊Screen-Shot-2020-06-06-at-21.19.34b569f2d18c9a5d16.png⌉⌊Screen-Shot-2020-06-
   06-at-21.19.34b569f2d18c9a5d16.png⌉[
 * Here is the sample code:
 *     ```
       	RewriteCond %{QUERY_STRING} (<|%3c)(.*)(s|%73|%53)(c|%63|%43)(r|%72|%52)(i|%69|%49)(p|%70|%50)(t|%74|%54)(.*)(>|%3e) [NC,OR]
       	RewriteCond %{QUERY_STRING} (\+|%2b|%20)(d|%64|%44)(e|%65|%45)(l|%6c|%4c)(e|%65|%45)(t|%74|%54)(e|%65|%45)(\+|%2b|%20) [NC,OR]
       	RewriteCond %{QUERY_STRING} (\+|%2b|%20)(i|%69|%49)(n|%6e|%4e)(s|%73|%53)(e|%65|%45)(r|%72|%52)(t|%74|%54)(\+|%2b|%20) [NC,OR]
       	RewriteCond %{QUERY_STRING} (\+|%2b|%20)(s|%73|%53)(e|%65|%45)(l|%6c|%4c)(e|%65|%45)(c|%63|%43)(t|%74|%54)(\+|%2b|%20) [NC,OR]
       	RewriteCond %{QUERY_STRING} (\+|%2b|%20)(u|%75|%55)(p|%70|%50)(d|%64|%44)(a|%61|%41)(t|%74|%54)(e|%65|%45)(\+|%2b|%20) [NC,OR]
       	RewriteCond %{QUERY_STRING} (\\x00|(\"|%22|\'|%27)?0(\"|%22|\'|%27)?(=|%3d)(\"|%22|\'|%27)?0|cast(\(|%28)0x|or%201(=|%3d)1) [NC,OR]
       	RewriteCond %{QUERY_STRING} (g|%67|%47)(l|%6c|%4c)(o|%6f|%4f)(b|%62|%42)(a|%61|%41)(l|%6c|%4c)(s|%73|%53)(=|[|%[0-9A-Z]{0,2}) [NC,OR]
       	RewriteCond %{QUERY_STRING} (_|%5f)(r|%72|%52)(e|%65|%45)(q|%71|%51)(u|%75|%55)(e|%65|%45)(s|%73|%53)(t|%74|%54)(=|[|%[0-9A-Z]{0,2}) [NC,OR]
       	RewriteCond %{QUERY_STRING} (j|%6a|%4a)(a|%61|%41)(v|%76|%56)(a|%61|%31)(s|%73|%53)(c|%63|%43)(r|%72|%52)(i|%69|%49)(p|%70|%50)(t|%74|%54)(:|%3a)(.*)(;|%3b|\)|%29) [NC,OR]
       ```
   
 * Thanks in advance!
    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/htaccess-syntax/#post-12951818)
 * Hi. Would you please open an issue in GitHub instead? See here: [https://github.com/westonruter/syntax-highlighting-code-block/issues](https://github.com/westonruter/syntax-highlighting-code-block/issues)
 *  Thread Starter Anonymous User 17203929
 * (@anonymized-17203929)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/htaccess-syntax/#post-12967650)
 * Sorry for the delay. I opened an issue in Github:
    [https://github.com/westonruter/syntax-highlighting-code-block/issues/110](https://github.com/westonruter/syntax-highlighting-code-block/issues/110)
 * Once again thank you very much for the fantastic plugin and unique support! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Htaccess Syntax’ is closed to new replies.

 * ![](https://ps.w.org/syntax-highlighting-code-block/assets/icon.svg?rev=3406002)
 * [Syntax-highlighting Code Block (with Server-side Rendering)](https://wordpress.org/plugins/syntax-highlighting-code-block/)
 * [Support Threads](https://wordpress.org/support/plugin/syntax-highlighting-code-block/)
 * [Active Topics](https://wordpress.org/support/plugin/syntax-highlighting-code-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syntax-highlighting-code-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syntax-highlighting-code-block/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: Anonymous User 17203929
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/htaccess-syntax/#post-12967650)
 * Status: resolved