Setup Wordpress Inward A Sub-Domain Inward Godaddy's Windows Hosting

This configuration is for windows only.

Configuration:
For event you lot convey domain anime.com that is powered past times wordpress, you lot gear upward permalinks to operate postname as well as then post volition last accessible at http://anime.com/postname.

The employment is when you lot usage a sub-domain, for event shounen.anime.com as well as laid permalinks similar that of the primary domain as well as then that you lot tin usage SEO. Obviously this volition non piece of work every minute the primary domain permalinks volition interfere, as well as then you lot convey to laid a redirect rule.

Taken into employment organisation human relationship that it's a windows hosting, thence nosotros ask to configure Web.config rather than .htaccess.
 <?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> 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.