Enabling Wordpress Permalinks in Windows Hosting with GoDaddy
Actually this is an Update to the Previous Post about Getting Permalinks to work with Godaddy Hosting. This time I will try to explain getting Permalinks working if you are using Windows Hosting plan with Godaddy.
If you are not using shared hosting, then it is easy for you as you can just install Microsoft URL Rewrite Module(x86/x64) update for IIS7 and enable global rules. See creating distributed rules section in this walkthrough. All URL rewrite walkthroughs are here.
If you are hosting in Shared Hosting plan, then you do not have direct access to IIS manager. One good news here is that GoDaddy’s windows shared hosting supports IIS URL rewrite module. So distributed rules is the way to go. Applying distributed rules is explained here
In essence, here are the steps you have to follow.
- Navigate to your permalinks page in your Wordpress admin portal.
- On this page, choose the select your preferred permalink structure and click Update Permalink Structure
- Create a Web.config file located in the same directory where WordPress files are installed and add the following contents to the in the web.config file.
This rule matches any request that is not physically present on the system and will rewrite the URL to index.php and allows Wordpress to handle from there on and you should be good to go.
Hope this helps some one out there looking for this info.
UPDATE: It seems the URL Rewriting module is not enabled on all GoDaddy Windows Hosting servers. If you get a “500 Internal server error” when you try to access your site after uploading the web.config file, that means URL rewriting module is not installed on that server. You might have to follow up with GoDaddy support.
For a Better SEO.
Keep hitting that Ctrl+F5