Setup wordpress in a sub-domain in Godaddy's windows hosting
Tech-Today

Setup wordpress in a sub-domain in Godaddy's windows hosting


This configuration is for windows only.

Configuration:
For example you have domain anime.com that is powered by wordpress, you set up permalinks to use postname so post will be accessible at http://anime.com/postname.

The problem is when you create a sub-domain, for example shounen.anime.com and set permalinks like that of the main domain so that you can do SEO. Obviously this will not work as the main domain permalinks will interfere, so you have to set a redirect rule.

Taken into account that it's a windows hosting, therefore we need 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>




- How To Handle An Xmlrcp Wordpress Attack On Nginx Server
I'm not really a system administrator and these steps are just based on my personal experience in securing our own wordpress websites. Lately there has been a lot of attacks on wordpress sites (since it's a popular framework) specially on windows...

- How To Setup A Subdomain In Your Nginx Server
Lately I've created a sub-domain for one of my website. I hope you follow this blog on how to setup your nginx wordpress site. In the same server where I host my maindomain.com, I've added a subdomain.maindomain.com. And here is how: I created...

- How To Migrate Your Godaddy Web Hosting To Digitalocean
Lately I've been reading some good articles about DigitalOcean as a cheap VPS option in online hosting and so I decided to try and subscribe to one. Since my wordpress website hosting is already expiring I decided to moved the hosting to DigitalOcean...

- What You Should Know Before Getting Your Own Website
So you want to get your own website? Do you know what you should take into account before agreeing to have your website created by the experts? You will be tempted by the many offers that website developers have. It is all too easy to get overwhelmed...

- How To Setup A Magento System In A 1and1 Vps Server 2 - Updating The Default 1and1 Php Image Installed
For this you must have a root access to your database There is a built it script to test your system whether it is ready for magento deployment or not, you can download it here: http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento...



Tech-Today








.