Change the way WordPress assigns Post ID

Selesai Dipasang Mar 22, 2007 Dibayar saat pengiriman
Selesai Dibayar saat pengiriman

Hello, I'm looking for someone to guide me through the process of modifying the WordPress .php file(s) responsible for assigning a post i.d. My web hosting service allows me to have multiple domains on one account, but only the primary domain supports MySQL. So, in order for me to set up WordPress on my secondary domains, I used the domain's fixed I.P. address. This works fine (in fact, it seems to be the only way WP will work in this situation) except for the fact that the generated links include the IP (which, of course, makes sense) instead of the domain name. I'd like to have WordPress assign a post id that uses the domain name and not the IP. I already have a PHP routine in place that will convert the domain-name-based link back to an IP-based link. My goal is that users only see the pretty name in the links. Also, if in the future, I get the blog its own webhosting account (which would mean that WordPress could assign its IDs as normal), I don't want all the previous links to become invalid (which they will if I leave them associated with the site IP). Thanks.

## Deliverables

I just need someone to answer the question posed above, specifically: 1) A list of locations in the .php file(s) responsible for assigning the WordPress post i.d. 2) The replacement code that would let me change the current i.d. assignment from: http://

123.456.789.0/categoryname/etc1/etc2 to: http://MyDomainName/categoryname/etc1/etc2

## Platform

WordPress (version 2.1.1) running on Unix server with MySQL.

Teknik MySQL PHP Perancangan Perangkat Lunak Pengujian Perangkat Lunak Hosting Web Manajemen Situs Web Pengujian Situs Web

ID Proyek: #2893261

Tentang proyek

1 proposal Proyek online Aktif Mar 22, 2007

Diberikan kepada:

shebkhan2007

See private message.

$17 USD dalam 5 hari
(667 Ulasan)
7.0