1789 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 1\" stopProcessing=\"true\">".$end_of_line; |
1790 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^index\.php$\" ignoreCase=\"false\" />".$end_of_line; |
1791 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"None\" />".$end_of_line; |
1792 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1793 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 2\" stopProcessing=\"true\">".$end_of_line; |
1794 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^files/(.+)\" ignoreCase=\"false\" />".$end_of_line; |
1795 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"Rewrite\" url=\"wp-includes/ms-files.php?file={R:1}\" appendQueryString=\"false\" />".$end_of_line; |
1796 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1797 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 3\" stopProcessing=\"true\">".$end_of_line; |
1798 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^\" ignoreCase=\"false\" />".$end_of_line; |
1799 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<conditions logicalGrouping=\"MatchAny\">".$end_of_line; |
1800 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent.$indent."<add input=\"{REQUEST_FILENAME}\" matchType=\"IsFile\" ignoreCase=\"false\" />".$end_of_line; |
1801 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent.$indent."<add input=\"{REQUEST_FILENAME}\" matchType=\"IsDirectory\" ignoreCase=\"false\" />".$end_of_line; |
1802 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."</conditions>".$end_of_line; |
1803 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"None\" />".$end_of_line; |
1804 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1805 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 4\" stopProcessing=\"true\">".$end_of_line; |
1806 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\".\" ignoreCase=\"false\" />".$end_of_line; |
1807 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"Rewrite\" url=\"index.php\" />".$end_of_line; |
1808 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
| 1792 | $rules .= ' |
| 1793 | <rule name="wordpress - Rule 1" stopProcessing="true"> |
| 1794 | <match url="^index\.php$" ignoreCase="false" /> |
| 1795 | <action type="None" /> |
| 1796 | </rule> |
| 1797 | <rule name="wordpress - Rule 2" stopProcessing="true"> |
| 1798 | <match url="^files/(.+)" ignoreCase="false" /> |
| 1799 | <action type="Rewrite" url="wp-includes/ms-files.php?file={R:1}" appendQueryString="false" /> |
| 1800 | </rule> |
| 1801 | <rule name="wordpress - Rule 3" stopProcessing="true"> |
| 1802 | <match url="^" ignoreCase="false" /> |
| 1803 | <conditions logicalGrouping="MatchAny"> |
| 1804 | <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> |
| 1805 | <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" /> |
| 1806 | </conditions> |
| 1807 | <action type="None" /> |
| 1808 | </rule> |
| 1809 | <rule name="wordpress - Rule 4" stopProcessing="true"> |
| 1810 | <match url="." ignoreCase="false" /> |
| 1811 | <action type="Rewrite" url="index.php" /> |
| 1812 | </rule> |
| 1813 | '; |
1810 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 1\" stopProcessing=\"true\">".$end_of_line; |
1811 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^index\.php$\" ignoreCase=\"false\" />".$end_of_line; |
1812 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"None\" />".$end_of_line; |
1813 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1814 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 2\" stopProcessing=\"true\">".$end_of_line; |
1815 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^([_0-9a-zA-Z-]+/)?files/(.+)\" ignoreCase=\"false\" />".$end_of_line; |
1816 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"Rewrite\" url=\"wp-includes/ms-files.php?file={R:2}\" appendQueryString=\"false\" />".$end_of_line; |
1817 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1818 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 3\" stopProcessing=\"true\">".$end_of_line; |
1819 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^([_0-9a-zA-Z-]+/)?wp-admin$\" ignoreCase=\"false\" />".$end_of_line; |
1820 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"Redirect\" url=\"{R:1}wp-admin/\" redirectType=\"Permanent\" />".$end_of_line; |
1821 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1822 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 4\" stopProcessing=\"true\">".$end_of_line; |
1823 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^\" ignoreCase=\"false\" />".$end_of_line; |
1824 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<conditions logicalGrouping=\"MatchAny\">".$end_of_line; |
1825 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent.$indent."<add input=\"{REQUEST_FILENAME}\" matchType=\"IsFile\" ignoreCase=\"false\" />".$end_of_line; |
1826 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent.$indent."<add input=\"{REQUEST_FILENAME}\" matchType=\"IsDirectory\" ignoreCase=\"false\" />".$end_of_line; |
1827 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."</conditions>".$end_of_line; |
1828 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"None\" />".$end_of_line; |
1829 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1830 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 5\" stopProcessing=\"true\">".$end_of_line; |
1831 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)\" ignoreCase=\"false\" />".$end_of_line; |
1832 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"Rewrite\" url=\"{R:2}\" />".$end_of_line; |
1833 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1834 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 6\" stopProcessing=\"true\">".$end_of_line; |
1835 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\"^([_0-9a-zA-Z-]+/)?(.*\.php)$\" ignoreCase=\"false\" />".$end_of_line; |
1836 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"Rewrite\" url=\"{R:2}\" />".$end_of_line; |
1837 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
1838 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."<rule name=\"wordpress - Rule 7\" stopProcessing=\"true\">".$end_of_line; |
1839 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<match url=\".\" ignoreCase=\"false\" />".$end_of_line; |
1840 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent.$indent."<action type=\"Rewrite\" url=\"index.php\" />".$end_of_line; |
1841 | | $rules .= $extra_indent.$indent.$indent.$indent.$indent."</rule>".$end_of_line; |
| 1815 | $rules .= ' |
| 1816 | <rule name="wordpress - Rule 1" stopProcessing="true"> |
| 1817 | <match url="^index\.php$" ignoreCase="false" /> |
| 1818 | <action type="None" /> |
| 1819 | </rule> |
| 1820 | <rule name="wordpress - Rule 2" stopProcessing="true"> |
| 1821 | <match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false" /> |
| 1822 | <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false" /> |
| 1823 | </rule> |
| 1824 | <rule name="wordpress - Rule 3" stopProcessing="true"> |
| 1825 | <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> |
| 1826 | <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> |
| 1827 | </rule> |
| 1828 | <rule name="wordpress - Rule 4" stopProcessing="true"> |
| 1829 | <match url="^" ignoreCase="false" /> |
| 1830 | <conditions logicalGrouping="MatchAny"> |
| 1831 | <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> |
| 1832 | <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" /> |
| 1833 | </conditions> |
| 1834 | <action type="None" /> |
| 1835 | </rule> |
| 1836 | <rule name="wordpress - Rule 5" stopProcessing="true"> |
| 1837 | <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> |
| 1838 | <action type="Rewrite" url="{R:2}" /> |
| 1839 | </rule> |
| 1840 | <rule name="wordpress - Rule 6" stopProcessing="true"> |
| 1841 | <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> |
| 1842 | <action type="Rewrite" url="{R:2}" /> |
| 1843 | </rule> |
| 1844 | <rule name="wordpress - Rule 7" stopProcessing="true"> |
| 1845 | <match url="." ignoreCase="false" /> |
| 1846 | <action type="Rewrite" url="index.php" /> |
| 1847 | </rule> |
| 1848 | '; |