Change the way WordPress assigns Post ID

Completado Publicado Mar 22, 2007 Pagado a la entrega
Completado Pagado a la entrega

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.

Ingeniería MySQL PHP Arquitectura de software Verificación de software Web Hosting Gestión de páginas web Verificación de páginas web

Nº del proyecto: #2893261

Sobre el proyecto

1 propuesta Proyecto remoto Activo Mar 22, 2007

Adjudicado a:

shebkhan2007

See private message.

$17 USD en 5 días
(667 comentarios)
7.0