WordPress Permalinks Solution

PHP

WordPress Permalinks Solution


tim254 03-27-2006, 10:11 PM

Create a file called php.ini and put the following information in it:

cgi.fix_pathinfo = 1
cgi.force_redirect = 0
register_globals = On
extension_dir = "./"
extension=php_gd2.dll

Copy the file to your website root directory. 

This not only fixes permalinks, but fixed my thumbnail creation AND my ability to run other PHP scripts.


 

Re: WordPress Permalinks Solution


SarekOfVulcan 11-01-2006, 3:55 PM
 tim254 wrote:
Create a file called php.ini and put the following information in it:

cgi.fix_pathinfo = 1
cgi.force_redirect = 0
register_globals = On
extension_dir = "./"
extension=php_gd2.dll

Copy the file to your website root directory. 

This not only fixes permalinks, but fixed my thumbnail creation AND my ability to run other PHP scripts.


I put that file in both my domain and subdomain root, with no results. Any other thoughts on how to get Permalinks working?

Re: WordPress Permalinks Solution


Einar Egilsson 07-30-2007, 5:08 AM
The solution above isn't needed for webhost4life, at least not in my case. You can get permalinks of the form /index.php/2007/07/30/somepost/ working without a problem. However, if you want to get rid of the index.php too you'll need some other fixes. I wrote about it here: http://tech.einaregilsson.com/2007/07/30/pretty-wordpress-permalinks-on-iis/

It requires that you can set your own 404 page, so it won't work with the cheapest package.
webhost4life.com

Powered by Community Server, by Telligent Systems