Posts Tagged ‘htaccess’

WordPress running on IIS and ugly permalinks starting with index.php

Wednesday, November 3, 2010 12:27 No Comments

You may have experienced when running WordPress on IIS that the permalinks have that ugly index.php included. Pretty way: www.mysite.com/2010/11/mypost IIS way: www.mysite.com/index.php/2010/11/mypost By tweaking the .htaccess and using some rewrite rules this can be fixed. (ISAPI_Rewrite required)

This was posted under category: Web, Wordpress Tags: , , , , , , , ,

Apache .htaccess – Allow / Deny access from certain IPs

Tuesday, March 2, 2010 0:02 No Comments

If  your website is under contruction and you want to allow access just to certain IP numbers, placing the following code in the .htaccess  file, in the website root directory, you can block access to everyone except the IP numbers you specify. order deny,allow deny from all allow from 76.33.193.98 allow from 84.23.122.204 allow from 93.34.133.203 [...]

This was posted under category: Unix/Linux, Web Tags: , , , , , ,