Migrating to Windows server
-
After migrating to windows sever, following web.config uploaded.
Error: Clicking any link redirects to home page.
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="wordpress" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Please advise correct web.config. (Not multi-site). Unsuccessfully tried examples from various websites. I suppose some redirection code is missing in the web.config above.
website: https://dainikpurvoday.in/news
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Migrating to Windows server’ is closed to new replies.