Skip to content

Instantly share code, notes, and snippets.

@Marian0
Created October 22, 2015 12:07
Show Gist options
  • Select an option

  • Save Marian0/4d689c33164bc9daf0e1 to your computer and use it in GitHub Desktop.

Select an option

Save Marian0/4d689c33164bc9daf0e1 to your computer and use it in GitHub Desktop.

Revisions

  1. Marian0 created this gist Oct 22, 2015.
    19 changes: 19 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_URI} !/wp-admin
    RewriteCond %{REQUEST_URI} !/wp-includes
    RewriteCond %{REQUEST_URI} !/wp-login\.php$
    RewriteCond %{REQUEST_URI} !/wp-content
    RewriteCond %{REQUEST_URI} !/feed
    RewriteRule (.*) http://www.groween.com/novedades [R=301,L]

    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordP