Title: thttpd and wordpress: some modifications required
Last modified: August 19, 2016

---

# thttpd and wordpress: some modifications required

 *  [hironico](https://wordpress.org/support/users/hironico/)
 * (@hironico)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/thttpd-and-wordpress-some-modifications-required/)
 * Hi everyone !
    Just to post here (is this the right place?) some modifications
   I’ve made to wordpress 2.5 for making it working with my ISP’s HTTP server.
 * My ISP (club Internet France: [http://www.club.fr](http://www.club.fr)) uses 
   thttpd for hosting the personal pages of the subscribers. However, thttpd does
   not support mod_rewrite like we have in Apache httpd. So the use of the permalinks
   cannot work. Worse, the URLs returned by the links functions are not including
   the index.php page in the URL. this makes the welcome page always being displayed,
   whatever you click on the page.
 * To make it work, I’ve done the following updates in two files:
    – link_template.
   php – category_template.php
 * When an URL was returned in various functions, the URL was of the form: [base
   address]/?[param]=1234
    So I corrected it to be: [base address]/index.php?[param]
   =1234
 * The site is seems to be correctly working, but I may have missed something.
 * Please note that this is not a 2.5 specific issue, since the same patches had
   to be done in the previous version I had. To be accurate, with this thttpd, the
   site upgrades correctly when doing the update from version 2.3 to 2.5.
 * More information about thttpd:
    [http://www.acme.com/software/thttpd/](http://www.acme.com/software/thttpd/)
 * Hope this helps people like me, find below the line numbers where I’ve done the
   modifications.
 * cheers,
 * Hironico.
 * —————————->
    link_template.php ——————- – 117: permalinks – 160: page links – 
   191: attachments – 206: year link – 222: month link – 242: day link – 269: feeds
   link – 291, 294 : comments feed link – 330: author feed link – 368: category 
   link – 398: tag feed link – 422: search feed link – 438: search comment feed 
   link
 * category_template.php
    ———————- – 31: category link

The topic ‘thttpd and wordpress: some modifications required’ is closed to new replies.

## Tags

 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [links](https://wordpress.org/support/topic-tag/links/)
 * [modifications](https://wordpress.org/support/topic-tag/modifications/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 0 replies
 * 1 participant
 * Last reply from: [hironico](https://wordpress.org/support/users/hironico/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/thttpd-and-wordpress-some-modifications-required/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
