Title: htaccess Script?
Last modified: August 31, 2016

---

# htaccess Script?

 *  [ddreher](https://wordpress.org/support/users/ddreher/)
 * (@ddreher)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/htaccess-script/)
 * Does htacccess need the Twentythirteen script below?
    Thanks Dennis
 * # 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
    <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME}!-
   d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([0-9a-zA-Z]+)$ /wp-content/
   themes/twentythirteen/webdirect.php?link=$1 [NE] </IfModule>
 * # BEGIN Protect Against Script Injections
 * Options +FollowSymLinks
    RewriteEngine On RewriteCond %{QUERY_STRING} ((left 
   pointy bracket)|%3C).*script.*((right pointy bracket)|%3E) [NC,OR] RewriteCond%{
   QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(
   =|[|%[0-9A-Z]{0,2}) RewriteRule ^(.*)$ index.php [F,L]
 * # END Protect Against Script Injections

Viewing 1 replies (of 1 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 4 months ago](https://wordpress.org/support/topic/htaccess-script/#post-6955082)
 * > Does htacccess need the Twentythirteen script below?
 * I’m afraid your site is compromised and is thoroughly hacked. Please remain calm
   and start with this guide.
 * [https://codex.wordpress.org/FAQ_My_site_was_hacked](https://codex.wordpress.org/FAQ_My_site_was_hacked)
 * Once you’ve secured your installation then consider this document.
 * [http://codex.wordpress.org/Hardening_WordPress](http://codex.wordpress.org/Hardening_WordPress)

Viewing 1 replies (of 1 total)

The topic ‘htaccess Script?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/htaccess-script/#post-6955082)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
