Search This Blog
Popular Posts
-
Elegant Themes has been developing WordPress themes for a long time. It has developed lots of popular themes including Divi, Nexus, Fa...
-
Engagement, engagement, engagement. My brother Lee and I are web developers and entrepreneurs. We try to capitalize on every opportunity a...
-
League Table Premium WordPress Plugin makes it able to add in a successful manner customizable, and responsive tables to your Word...
-
Hello there! My blog post 'Spikes' was published on Sept. 22nd; however, the post before it called 'Flow' was published on...
-
Quick question: Do you know what IFC, The New York Post, The Walt Disney Company, and WNBA have in common? Ponder the answer for a momen...
-
WordPress has evolved to be much more than just a blogging platform, from online stores to full-on business platforms, there is ve...
-
Hi, I am new to wordpress, and still figuring things out. I have been experimenting with different themes, and have been changing settings...
-
Amelia is a Premium WordPress Theme is Perfect for any Blog or Magazine.Theme has a unique design with a lot of options, that can help...
-
The best Black Friday / Cyber Monday WordPress Deals in 2016 all in one place. If you missed the huge deals last year, be sure to get in...
-
So you want to sell a product online. We think that's awesome! Now all that's left is to decide how. Lucky for you WordPress makes...
Blog Archive
- December (18)
- November (29)
- October (27)
- September (29)
- August (31)
- July (30)
- June (29)
- May (29)
- April (30)
- March (31)
- February (28)
- January (31)
- December (31)
- November (30)
- October (31)
- September (30)
- August (43)
- July (42)
- June (33)
- May (43)
- April (36)
- March (37)
- February (31)
- January (4)
- December (1)
- November (1)
- October (24)
- September (24)
- August (25)
- July (28)
- June (18)
- September (1)
Total Pageviews
Powered by Blogger.
Blogroll
Thursday, June 23, 2016
WordPress MultiSite 404 on Admin Dashboard
If you are experiencing a 404 when switching to the dashboard of a given site, verify the web.config is accurate.
We've found that older versions of WordPress have incorrect rules within web.config.
Try the following web.config:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="WordPress Rule 1" stopProcessing="true"> <match url="^index\.php$" ignoreCase="false" /> <action type="None" /> </rule> <rule name="WordPress Rule 2" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> </rule> <rule name="WordPress Rule 3" stopProcessing="true"> <match url="^" ignoreCase="false" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" /> </conditions> <action type="None" /> </rule> <rule name="WordPress Rule 4" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 5" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 6" stopProcessing="true"> <match url="." ignoreCase="false" /> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>Thanks to Toan Nguyen for reporting the regular expression bug.
Back to topSource: WordPress MultiSite 404 on Admin Dashboard
Subscribe to:
Post Comments
(Atom)
0 comments:
Post a Comment