As we discussed on this wordpress permalinks configuration there’re several methods to configure friendly URLs for wordpress site. Here’re some issues I would like to discuss.
On windows server 2008 with URL rewrite mode configured environment, you can enable permalinks the same as you did from linux server and it will auto generate the URL rewrite rules from web.config in your website root. The content is the following:
If you would like to configure password protect for some of your website folders you can do it via web.config directly instead disable the anonymous access on IIS. Just make a new web.config in that folder and paste into the following
<add accessType="Deny" users="?"
URLs such as the following are both working
However they’re recognized as different addresses in search engine. to make your website more seo friendly it’s better to make the address unique. Here’re the rules you can add to .htaccess or web.config
If you’re using linux server and .htaccess is supported, you can add the following code to remove url trailing slash.
When you try to publish your local database to remote server using database publish wizard you might get following error:
This wizard will close because it encountered the following error:
For help, click: