Welcome to Webhost4life Forum Sign in | Join | Faq

PHP

Started by tim254 at 03-27-2006 10:11 PM. Topic has 2 replies.

Print Search
Sort Posts:    
   03-27-2006, 10:11 PM
tim254 is not online. Last active: 3/28/2006 2:07:51 PM tim254

Top 50 Posts
Joined on 09-30-2005
Posts 5
WordPress Permalinks Solution
Reply Quote

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.


 


   Report 
   11-01-2006, 3:55 PM
SarekOfVulcan is not online. Last active: 9/18/2007 10:42:08 PM SarekOfVulcan

Top 25 Posts
Joined on 09-24-2005
Posts 9
Re: WordPress Permalinks Solution
Reply Quote
 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?


   Report 
   07-30-2007, 5:08 AM
Einar Egilsson is not online. Last active: 7/30/2007 8:05:36 PM Einar Egilsson

Not Ranked
Joined on 07-30-2007
Posts 1
Re: WordPress Permalinks Solution
Reply Quote
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.

   Report 
Webhost4life Fo... » General Discuss... » PHP » WordPress Permalinks Solution

Powered by Community Server, by Telligent Systems