Created
November 6, 2012 00:03
-
-
Save anonymous/4021271 to your computer and use it in GitHub Desktop.
PJAX Apache rewrite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{HTTP:X-PJAX} true | |
RewriteRule blog/(.*)/ content/$1.html | |
RewriteCond %{HTTP:X-PJAX} true | |
RewriteRule ^$ content/index.html | |
RewriteCond %{HTTP:X-PJAX} true | |
RewriteRule about-kyle-rush about-kyle-rush-content.html | |
RewriteCond %{HTTP:X-PJAX} true | |
RewriteRule contact contact-content.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment