WordPress Tip on Permalink Options WordPress punta en las opciones de Permalink
This tip covers configuration in Options/Permalinks [Edit Permalink Structure] for WordPress users. Este extremo se refiere a la configuración en Opciones / Permalinks [Editar Estructura Permalink] para los usuarios de WordPress. My version is WordPress 1.5. Mi versión es WordPress 1,5.
By default WordPress uses a query string to identify a post. Por defecto WordPress utiliza una cadena de consulta para identificar un puesto. This is neither search engine friendly nor human friendly. Esto no es ni motor de búsqueda de amistad ni de amistad humana. A better way is to use a custom URI to better identify your posts. Una mejor manera es usar una costumbre URI para identificar mejor sus entradas. Many bloggers include a date as part of the permalink. Muchos usuarios de Blogger incluye una fecha como parte de los perm. I advise against it Aconsejo su contra . The date of the post is not so important as to be part of the URI! La fecha de la entrada no es tan importante como para ser parte de la URI!
My suggestion is to use a simple structure containing the post-slug as your Permalink URI. Mi sugerencia es utilizar una estructura simple que contenga el poste-lingote como su permanente URI. I use: Yo uso:
Structure: /index.php/archive/%postname%/ Estructura: / index.php / archive /% postname% /
Note that there is an index.php embedded. Tenga en cuenta que hay un index.php incrustados. This is fine with search engines and humans too. Esto está bien con los motores de búsqueda y los seres humanos también. And it will work great. Y es un gran trabajo. It doesn’t require mod_rewrite functionality or change to htaccess. No requiere mod_rewrite funcionalidad o cambiar a htaccess. Something as simple as this will work in all configurations. Algo tan simple como esta funcionará en todas las configuraciones.
For category base I use simply: /index.php/category Para la categoría base que utilizo simplemente: / index.php / categoría
This is just a simple example. Esto es sólo un ejemplo sencillo. You can make your URI as complicated as you want. Usted puede hacer su URI tan complicado como usted desea. Just remember to test it. Simplemente recuerde a probarlo.
Personally I like it short and simple. Personalmente me gusta es corto y simple.
Update 1 : Please refer to the comments below for points and counterpoints on this topic. Update 1: Sírvase remitirse a los comentarios por debajo de los puntos y contrapuntos sobre este tema.
Update 2 : The objections raised by some people is that having an identical named title for posts will cause problems with WordPress. Actualización N º 2: Las objeciones planteadas por algunas personas es que tengan un nombre idéntico título para puestos causar problemas con WordPress. This is not a valid observation anymore. No se trata de una observación más válida. In other words you can have 10 posts named “Happy New Year” and WordPress will assign unique post-slug to each. En otras palabras usted puede tener 10 puestos llamado "Feliz Año Nuevo" y WordPress asignará único poste-lingote para cada uno. Simply said this approach is without any drawbacks AFAIK. Simplemente dijo este enfoque es sin ningún tipo de inconvenientes AFAIK.
Update 3 : Cem commented: Actualización N º 3: Cem comentó:
For future reference, I was able to get permalink URL rewriting working in WordPress by creating a php.ini at my domain root with the following configuration: Para futura referencia, tuve la oportunidad de obtener la reescritura de URL del permalink en WordPress de trabajo mediante la creación de un php.ini a raíz de mi dominio con la siguiente configuración:
cgi.fix_pathinfo = 1 cgi.fix_pathinfo = 1
cgi.force_redirect = 0 cgi.force_redirect = 0
Several people have found it useful on various environments including but not limited to IIS on windows as can be seen from the comments. Varias personas han encontrado útil en diversos ambientes incluyendo pero no limitado a IIS en las ventanas como puede verse en los comentarios. Thanks Cem for sharing! Cem Gracias por compartir!
BTW: Personally I use /archive/%postname%/ for my BTW: Personalmente yo uso / archive /% postname% / para mi Stem Cell Research Blog La investigación con células madre blog without requiring any changes. sin necesidad de ningún cambio.
The greatest benefit is that you don’t have to embed index.php as part of URL, possibly slightly increasing your SERP. El mayor beneficio es que usted no tiene que integrar index.php como parte de la URL, posiblemente aumentando ligeramente su SERP.
Filed under Filed under Headline News Headline News , How To Cómo , Pro Blogging Blogging Pro , Web , Windows Ventanas , WordPress | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Enviar artículo
You may also like to read También puede leer |





March 16th, 2005 at 12:19 pm 16 de Marzo, 2005 a las 12:19 pm
I think you’re making a mistake discouraging the use if the date in URI’s. Creo que estás cometiendo un error desalentar el uso si la fecha en la URI. Wordpress does not require post slugs to be unique. Wordpress no requiere post babosas que ser único. So if all you is ‘/archive/slug’ the chances of having a collision go increase greatly over time. Por lo tanto, si todo lo que es "/ archive / babosas" las posibilidades de tener una colisión ir aumentar en gran medida a través del tiempo. Can you really be sure that in the next x years you’ll never recycle a post title, ever? ¿Se puede realmente estar seguros de que en los próximos x años que nunca reciclar un puesto título, nunca?
Adding the category helps, of course, because then you’d have to duplicate the title and category to cause problems. La adición de la categoría ayuda, por supuesto, porque entonces tendrían que duplicar el título y la categoría a causar problemas. But the date adds a unique identifier to the string that is guaranteed not to be repeated. Pero la fecha agrega un identificador único a la cadena que está garantizado que no se repita.
I use a month-year combination for my date field, figuring that within anygiven month I’m unlikely to repeat slugs. Yo uso un mes-año combinación de mi campo de fecha, que figuran dentro de anygiven meses que estoy poco probable que repita babosas. But even that could be seen as too restrictive by some. Pero incluso eso podría ser visto como demasiado restrictivo por parte de algunos.
You’re also overlooking that adding the date adds a sense of relevance to your links. Está también con vistas a que la adición de la fecha añade un sentido de pertinencia a sus vínculos. Do i care about content more than a year old? ¿Me preocupo por el contenido de más de un año de edad? No? ¿No? Then maybe I don’t need to follow that link i saved that’s dated 1999. Entonces tal vez no es necesario que siga este vínculo i que salvó la fecha de 1999.
March 20th, 2005 at 4:03 am 20 de marzo de 2005, a las 4:03 am
Why I discourage embedding date in URL’s (including WordPress Permalinks and also other CMS) ¿Por qué me desalentar la integración de la fecha en la URL (incluyendo WordPress Permalinks y también otros CMS)
The reasons I discourage date’s in a permalink are: It is redundant information as date is already part of the post information and need not be additionally within the url. Las razones por las que desalentar la fecha en un permalink son los siguientes: Se trata de información redundante como la fecha ya es parte del puesto de información, y no es necesario, además, dentro de la url. Search engines like google, which gives importance to words in URL’s will … Los motores de búsqueda como google, lo que da importancia a las palabras de URL en la voluntad de…
March 20th, 2005 at 4:05 am 20 de marzo de 2005, a las 4:05 am
Squeg,
Please read my Por favor, lea mi article on this topic artículo sobre este tema to specifically address your concern. específicamente para abordar su preocupación.
Let me know your thoughts. Quiero saber tus pensamientos.
March 21st, 2005 at 9:53 am Marzo 21, 2005 a las 9:53 am
I definitely agree that the data is not always necessary in a url. Yo definitivamente de acuerdo en que los datos no siempre es necesaria en una url. But I still think using it in most permalink structures does more good than bad. Pero sigo pensando usarlo en la mayoría de las estructuras permalink hace más buenas que malas.
I will concede that the date makes the url “uglier.” So I recommend using the most compact date structure you can to meet your needs. Voy a admitir que la fecha hace que la url "uglier." Así que le recomiendo usar la fecha más compacta estructura de lo que puede para satisfacer sus necesidades. For some that may mean leaving it out. Para algunos puede significar que salir de él. For me it means domain/archives/MM-YYYY/slug. Para mí significa dominio / archives / MM-AAAA / babosas. I wish i’d left the word “archives” out as the date pretty much implies that. Deseo me salió la palabra "archivos" como la fecha más o menos implica que.
I’m not sure that I follow how having the date in the address “poisons” the search engines. No estoy seguro de que sigo teniendo la forma en la fecha en la dirección "venenos" los motores de búsqueda. I’d like to hear more clarification on what you mean by this. Me gustaría escuchar más aclaraciones sobre lo que se entienda por esto.
Almost all non “time-sensitive” information really is time sensitive if it’s old enough. Casi todos los que no "el tiempo es un factor" realmente la información es sensible si el tiempo es la edad suficiente. The only real exceptions are pages where the content is continually updated/replaced with new information as it ages. La única excepción son las páginas donde el contenido se actualiza continuamente y sustituye con nueva información, ya que las edades.
Take for instance, a guide to creating web-pages written in 1998. Tome por ejemplo, una guía para la creación de páginas web escritas en 1998. If it was well-written in 1998 it may have attracted many links, moving it up the search engines. Si bien fue escrito en 1998 puede haber atraído a muchos enlaces, que se desplazan hasta los motores de búsqueda. But if it has not been updated, then it is really quite behind the times with reguard to today’s best practices. Pero si no se ha actualizado, entonces es realmente bastante detrás de las veces con reguard hoy a las mejores prácticas. It may still be technically accurate within the framework for which it was created, but it’s still dated. Puede que todavía sea posible técnicamente precisos en el marco para el que fue creado, pero es todavía fecha. Someone looking at this page today needs to know right away that it’s old information and they should look elsewhere. Alguien ver esta página hoy en día necesita saber enseguida que se trata de información antigua y que debería buscar en otros lugares.
As you can see from your own kubrik installation under wordpress, not every page actively displays the date in a prominent location. Como se puede ver desde su propia instalación kubrik en virtud de wordpress, no todas las páginas activamente muestra la fecha en un lugar prominente.
It’s also worth mentioning that Wordpress (and probably other such systems) use the permalink you specifiy in your RSS as well as on your webpage. También es de destacar que Wordpress (y probablemente otros sistemas) el uso permalink usted especificar en su RSS, así como en su página web. Many RSS readers will use the permalink, if it’s identified, as a unique identifier for the item in the feed. Muchos lectores RSS se utiliza el perm, si es identificado, como un identificador único para el tema en el feed. Reader software can use that unique ID to enable further functionality for managing feeds and posts. Reader software que puede utilizar número de identificación exclusivo de permitir el funcionamiento de la gestión de los piensos y los puestos. In these circumnstances it’s even more beneficial to ensure that your permalinks are unique. En estos circumnstances es aún más beneficioso para asegurarse de que sus permalinks son únicas.
In the end, my comment isn’t so much about any given individual leaving the date out of their permalink structure. Al fin y al cabo, mi comentario no es tanto acerca de cualquier persona que deja la fecha de su estructura perm. It’s about dissuading all users from including it without first considering both the pro’s and con’s of doing so. Se trata de disuadir a todos los usuarios de su inclusión sin antes considerar tanto los pro y con la de la posibilidad de hacerlo. Using the date may not always seem necessary, but it does add a bit of “future-proofing” should your needs change. Utilizando la fecha puede que no siempre parece necesario, pero sí añadir un poco de "a prueba de futuro" que cambien sus necesidades.
My advice to new wordpress users when choosing a permalink structure would be to stick with “ugly” links for awhile until they can really get a feel for how they’d like to use their blog. Mi consejo a los nuevos usuarios de wordpress la hora de elegir un permalink estructura sería a palo con "feo" que por un tiempo hasta que realmente puede obtener una idea de cómo desea utilizar su blog. You can always add permalinks without causing damage. Siempre se puede añadir permalinks sin causar daños. But once you set them up, you can’t really change the system without causing a lot of stuff that used to work, to fail. Pero una vez que las crean, no se puede realmente cambiar el sistema sin causar un montón de cosas que solía trabajar, al fracaso.
March 23rd, 2005 at 6:12 pm 23 de Marzo, 2005 a las 6:12 pm
Actually, mainstream WP user and WP developers argue against NOT using a date structure in the permalinks. En realidad, incorporar usuario GT y GT desarrolladores argumentan en contra de no utilizar una fecha en la estructura de permalinks. This has been argued on the forums several times. Esto ha afirmado en los foros en varias ocasiones.
Let’s say that on January 1st, 2004, you post “Happy New Year!”, and then on January 1st, 2005, you post “Happy New Year”. Digamos que el 1 de enero de 2004, puesto que "Feliz Año Nuevo!" Y, a continuación, el 1 de enero de 2005, puesto que "Feliz Año Nuevo". You now have two posts at domain.com/happy-new-year and this sends your site into a spiral of chaos. Ahora tiene dos puestos a domain.com /-feliz año nuevo-y este envía su sitio en una espiral de caos. Having some sort of date structure will prevent this. Después de haber algún tipo de estructura de fecha evitarlo.
March 24th, 2005 at 4:40 pm 24 de marzo de 2005, a las 4:40 pm
@MacManx I realize that this is a situation we need to guard against. @ MacManx me doy cuenta de que esta es una situación que debemos evitar. Wouldn’t it however be better to modify WordPress to ensure uniqueness of post slug? ¿No es mejor, sin embargo, para modificar WordPress para garantizar la singularidad del puesto de babosas? Let the title be same. Deje que el título de ser el mismo. When WordPress realizes that the title is duplicate while publishing, it changes the post-slug to be unique by adding say date. Cuando WordPress se da cuenta de que el título está duplicado, mientras que la edición, cambia el poste-lingote a ser único mediante la adición de decir la fecha. However as the post slug is not viewed by the public at large it doesn’t affect the user and the viewer? Sin embargo, como el puesto babosa no es visto por el público en general que no afecta al usuario y el espectador?
What do you think. ¿Cuál es su opinión.
@Squeg Thanks for your informative comments. @ Squeg Gracias por tus comentarios informativos. I understand your concerns. Yo entiendo sus preocupaciones. I have updated both my post to include a link to your comments, so people can read both and choose whatever suits them best. He actualizado mi post para incluir un enlace a sus comentarios, para que la gente puede leer tanto y escoger el más les convenga.
Personally I like it simpler without the date as I have already stated, accepting the risk of duplicate post-slug. Personalmente me gusta más simples sin la fecha como ya he dicho, aceptando el riesgo de duplicar la poste-lingote. I may actually do something to remedy the situation wrt. Me puede llegar a hacer algo para remediar la situación wrt. duplication in line with my idea described above. la duplicación de acuerdo con mi idea se ha descrito anteriormente.
Thoughts? Pensamientos?
March 25th, 2005 at 7:58 am 25 de marzo, de 2005 a las 7:58 am
While i like the date for a lot of things, I do agree sometimes it would be nice to ditch it. Si bien i como la fecha para un montón de cosas, me acuerdo que a veces sería bueno zanja. As we’ve both discussed, the biggest single inhibitor to leaving the date out of wordpress is that it doesn’t enforce unique post slugs. Como hemos discutido tanto, el principal inhibidor para salir de la fecha de wordpress es que no hace cumplir único puesto de babosas. It does seem like it would be pretty simple to hack wordpress so that it guaranteed a unique post slug by checking the database for exising instances of it’s proposed slug and then appending a number or something to the end of the slug. Parece como que sería bastante fácil de cortar wordpress de manera que garantiza un único puesto de lingote de control de la base de datos para exising los casos de que la propuesta de babosas y, a continuación, añadir un número o algo al final de la babosa. ( A warning at that time would be nice too, so you could modify the slug if you wanted. ) (Una advertencia en ese momento sería bueno, por lo que podría modificar las babosas si quería.)
I’d also like it to automatically truncate long slugs. También me gustaría que automáticamente truncar largo babosas. I know that might make it harder to determine what to type into the URL if you’re trying to guess (who really does that?) but it would definitely simplify the URLs. Sé que podría hacer más difícil determinar qué tipo en la URL si usted está tratando de adivinar (que realmente eso?), Pero sin lugar a dudas simplificar la URL. Some kind of options setting where you specified a maximum number of characters for the slug, would do the trick. Algún tipo de opciones de configuración donde se especifica un número máximo de caracteres para la babosa, hacer el truco.
April 2nd, 2005 at 9:39 pm 2 de Abril, 2005 a las 9:39 pm
[...] rs, Link-blog03. [...] Rs, Link-blog03. April 2005 .htaccess 파일을 건드릴 필요 없는 방법 WordPress Tip on Permalink Options Comment RSS - [...] De abril de 2005. Htaccess 파일 을 건드릴 필요 없는 방법 WordPress Sugerencia en permanente Comentario Opciones RSS - [...]
April 9th, 2005 at 6:00 am 9 de abril de 2005, a las 6:00 am
WordPress Permalinks Updated WordPress permalinks actualizado
I have updated my WordPress permalinks from: He actualizado mi WordPress permalinks de:
/year/month/day/TITLE / año / mes / día / TÍTULO
to: a:
/archives/month/day/TITLE / archives / mes / día / TÍTULO
I just think It would look alot better like that. Me parece que sería mucho mejor así. That’s all :)…. Eso es todo:)….
April 14th, 2005 at 6:51 am 14 de abril de 2005, a las 6:51 am
My server is running on Windows Server (brinkter.com) so I guess I’m SOL regarding permalinks. Mi servidor se está ejecutando en Windows Server (brinkter.com) así que creo que estoy SOL en relación con los permalinks.
Any workarounds? Cualquier Workarounds?
April 14th, 2005 at 7:04 am 14 de abril de 2005, a las 7:04 am
edit: that should be “brinkster.com” on the above post. editar: que debería ser "brinkster.com" en el post anterior.
April 14th, 2005 at 12:56 pm 14 de abril de 2005, a las 12:56 pm
@Carlos The ideas in this post works on Windows server too. @ Carlos Las ideas en este puesto funciona en Windows servidor. In fact I have a copy of the site running on my Windows Apache server at Home. De hecho tengo una copia del sitio corriendo en mi servidor Apache Windows en casa.
This is the beauty of the idea. Esta es la belleza de la idea. It requires no special features enabled for it to work on any platform. Se requiere características especiales no habilitado para que funcione en cualquier plataforma.
April 16th, 2005 at 4:47 pm 16 de abril de 2005, a las 4:47 pm
Yes, but it seems you need to have Apache running. Sí, pero parece que hay que tener corriendo Apache. What I meant was that brinkster runs Windows Server 2003 as their web server platform, as opposed to Apache for Windows. Lo que quise decir fue que brinkster se ejecuta Windows Server 2003 como su plataforma de servidor web, a diferencia de Apache para Windows. It seems you need apache’s mod_rewrite for the permalink options to work. Parece que usted necesita mod_rewrite del apache para el perm opciones para trabajar.
Thanks. Gracias.
April 16th, 2005 at 11:22 pm 16 de abril de 2005, a las 11:22 pm
@Carlos @ Carlos
No it doesn’t need apache running. No, no es necesario apache corriendo. To use my tip above you do not need mod_rewrite capability nor do you need .htaccess. Para utilizar la punta por encima de mi no es necesario ni mod_rewrite capacidad de hacer que usted necesita. Htaccess. That is the beauty and simplicity of the solution. Esa es la belleza y sencillez de la solución. Just try it. Simplemente trate de hacerlo. It will work. Se va a trabajar.
April 17th, 2005 at 4:50 am 17 de abril de 2005, a las 4:50 am
I get a “No input file specified.” when I try anything with the permalinks. He recibido un "archivo de entrada no se especifique lo contrario." Al intentar cualquier cosa con los permalinks.
April 17th, 2005 at 10:16 pm 17 de abril de 2005, a las 10:16 PM
Am having issues too, trying to setup permalinks on Win2K3/IIS server. Estoy teniendo problemas demasiado, tratando de configuración de permalinks en Win2K3/IIS servidor. It throws a 404 error, no matter what permalink structure i try! Se lanza un error 404, no importa lo que perm i estructura intentar!
April 17th, 2005 at 10:32 pm 17 de abril de 2005, a las 10:32 pm
@Sajin & @Carlos Sajin & @ @ Carlos
Try these exactly as typed (in Options/Permalinks) and let me know if you still have problems. Pruebe estas exactamente como escrito (en Opciones / Permalinks) y quiero saber si todavía tiene problemas.
Structure: /index.php/archive/%postname%/ Estructura: / index.php / archive /% postname% /
Category base: /index.php/category Categoría base: / index.php / categoría
April 18th, 2005 at 6:00 am 18 de abril de 2005, a las 6:00 am
Angsuman, tried again, making sure to copy-paste from your message. Angsuman, juzgado de nuevo, asegurándose de copiar y pegar de su mensaje. I still get a “No input file specified” message. Sigo obtener un "archivo de entrada no especificada" mensaje. I’m waiting a while now, to see if this is some sort of database or configuration issue that needs some time to set itself. Estoy esperando un tiempo ahora, para ver si se trata de algún tipo de base de datos o un problema de configuración que necesita un tiempo para sí mismo conjunto.
For example, this is how one of my post links looks like now: Por ejemplo, así es como uno de mis post vínculos ahora se ve así:
http://www.carlanga.com/blog/index.php/archive/using-crypto-hashes-salts-to-protect-database-privacy/ http://www.carlanga.com/blog/index.php/archive/using-crypto-hashes-salts-to-protect-database-privacy/
Does that look ok to you? ¿Tiene que ver ok?
Thanks! Gracias!
April 18th, 2005 at 6:06 am 18 de abril de 2005, a las 6:06 am
Waited a while… added a post… no luck. Esperó un rato… añadido un puesto… no suerte. It doens’t seem like this will work on non-Apache boxes. Se doens't parecer esto no trabajar en las casillas de Apache.
April 19th, 2005 at 2:09 am 19 de abril de 2005, a las 2:09 am
@Carlos I will check it out. @ Carlos I comprobará a cabo. It should be possible as it is using something very basic. Debería ser posible ya que está utilizando algo muy básico.
The reason I don’t have IIS, even on my home machine, is due to security concerns. La razón no tengo IIS, incluso en mi casa de máquinas, se debe a preocupaciones de seguridad.
BTW: Have you faced aany security related issue with your IIS deployment? BTW: ¿Ha enfrentado aany cuestión relacionada con la seguridad con su despliegue IIS?
April 19th, 2005 at 2:17 pm 19 de abril de 2005, a las 2:17 pm
@angsuman, @ angsuman,
Not that I know of, as Brinkster handles all the hosting (shared hosting). No que yo conozca, como Brinkster se ocupa de todas las hosting (alojamiento compartido). They should keep all patches up to date, etc. But I haven’t had any problems so far in the 3 or 4 years I’ve been with them. Ellos deben mantener todos los parches hasta la fecha, etc, pero no he tenido ningún problema hasta ahora en los 3 o 4 años he estado con ellos.
Just now I noticed they offered PHP/MySQL support and thus installed Wordpress. Hace un momento me di cuenta de que ofrecen PHP / MySQL apoyo y, por tanto, instalado Wordpress. I was using Radio Userland, via FTP, before. Yo estaba utilizando Radio Userland, a través de FTP, antes.
April 22nd, 2005 at 5:34 pm 22 de abril de 2005, a las 5:34 pm
My server runs Win2000/IIS5 and no problem with “index.php” permalinks. Mi servidor se ejecuta Win2000/IIS5 y no hay problema con "index.php" permalinks. Perhaps this is specifically a Windows 2003 or IIS6 problem? Tal vez esto es específicamente un equipo con Windows 2003 o IIS6 problema?
I run Apache2 on the same server and that’s where all the WP1.5 installs are. Corro en Apache2 en el mismo servidor y ahí es donde todos los WP1.5 se instala. Permalink structure is defaulted to /%year%/%month%/%postname%/ for clarity. Permalink estructura omisión /% year% /% mes% /% postname% / para mayor claridad.
April 24th, 2005 at 1:25 am 24 de abril de 2005, a las 1:25 am
@rust, @ rust,
Do you have your Wordpress installation running on IIS5 or on the Apache server you have on the same machine? ¿Tiene su instalación de Wordpress corriendo en IIS5 o en el servidor Apache que usted tiene en la misma máquina?
April 25th, 2005 at 10:33 am 25 de abril de 2005, a las 10:33
Just chiming in, but Carlos, any chance you have your index.php in a nonstandard location? Sólo en chiming, pero Carlos, cualquier oportunidad que tenemos un index.php en una ubicación no estándar? Maybe the link that’s supposed to be pointing at your index file really isn’t? Tal vez el vínculo que supone que se apunta a su archivo de índice no es realmente?
If that doesn’t seem to be the issue and you’re not using a default theme, you might try switching back to classic or kubrik. En caso de que no parece ser la cuestión y usted no está usando un tema por defecto, es posible que vuelva a cambiarlo al clásico o kubrik. It’s *possible* that whatever theme you’re using doesn’t link to the code that parses the URL string aside from the standard GET stuff. * Es posible que, cualquiera que sea * tema que se está usando no se vincula con el código que analiza la URL cadena aparte de la norma GET cosas. Admittedly, I’ve not actually gone spelunking to find the code that’s supposed to be doing that parsing. Es cierto, no he ido realmente espeleología para encontrar el código que se supone que debe hacerlo al analizar.
April 25th, 2005 at 3:49 pm 25 de abril de 2005, a las 3:49 pm
Thanks Squeg. Gracias Squeg.
I’m running the default theme… let me check if location has anything to do with this. Estoy corriendo el tema por defecto… quiero comprobar si la ubicación tiene nada que ver con esto. I have everything installed in a folder (www.carlanga.com/blog) but otherwise, it’s just as it came in the original file. Tengo todo instalado en una carpeta (www.carlanga.com / blog), pero de otra manera, es tal cual como sucedió en el archivo original. I unzipped and FTP’d. I descomprimido y FTP'd.
Thanks. Gracias.
April 26th, 2005 at 10:17 am 26 de abril de 2005, a las 10:17 am
Well that sounds like a pretty standard configuration. Bueno, eso suena como una bonita configuración estándar. Double-check the options screen in your dashboard to make sure that both location boxes point at the correct location. Vuelve a comprobar la pantalla de opciones en su tablero de instrumentos para asegurarse de que las dos cajas de punto de ubicación en la ubicación correcta. You might (and i’m totally just shotgunning here) try setting the blog address to Es posible (y estoy totalmente justa shotgunning aquí) intenta establecer la dirección de blog a http://www.carlanga.com/blog/index.php instead of just /blog. en lugar de limitarse a / blog.
Aside from that, I’d say it’s going to come down to server configuration. Aparte de eso, yo diría que va a venir abajo a la configuración del servidor. It’s possible the web server itself is choking on the oddly-formed URL. Es posible que el servidor web se está asfixiando a la extrañamente formadas URL. And at that point, I don’t really have a lot of good ideas. Y en ese punto, yo realmente no tienen una gran cantidad de buenas ideas. Honestly, what’s really wrong with “ugly” url’s anyway? Honestamente, ¿qué es realmente malo "feo" url's de todos modos?
April 26th, 2005 at 8:45 pm 26 de abril de 2005, a las 8:45 pm
@Squeg @ Squeg
> what’s really wrong with “ugly” url’s anyway? > Lo que está realmente mal con "feo" url's de todos modos?
?p=3756 type of url’s don’t get much google-love (not to mention they are ugly) ? p = 3756 tipo de url's no reciben mucho amor-google (por no hablar de que son feos)
April 28th, 2005 at 2:42 pm 28 de abril de 2005, a las 2:42 pm
So, has anyone gotten this to work under IIS? Así que, ¿alguien le ha llegado a este trabajo bajo IIS?
April 29th, 2005 at 5:12 am 29 de abril de 2005, a las 5:12 am
Not me, not yet. No soy yo, todavía no.
April 30th, 2005 at 7:01 am 30 de abril de 2005, a las 7:01 am
Okay, last resort, you could try and get rewrites to actually work in IIS using something like this: Bueno, último recurso, puede tratar de obtener reescribe a trabajar en IIS usando algo como esto:
http://www.isapirewrite.com/
The lite version is free and might be enough for what you’re trying to do. La versión lite es gratuita y puede ser suficiente para lo que estamos tratando de hacer.
April 30th, 2005 at 7:15 am 30 de abril de 2005, a las 7:15 am
Here’s another possible option (free) Aquí hay otra opción posible (gratis)
http://www.motobit.com/help/url-replacer-rewriter/iis-mod-rewrite.asp
May 1st, 2005 at 2:43 pm 1 de Mayo, de 2005 a las 2:43 pm
Thanks Squeg. Gracias Squeg.
Carlos, did you have any luck with these solutions? Carlos, ¿usted tiene alguna suerte con estas soluciones?
May 4th, 2005 at 2:55 am 4 de mayo, de 2005 a las 2:55 am
From what I see, I don’t think I could get either of those to work, as I’m on a hosted server. De lo que veo, no creo que yo podría obtener uno de estos al trabajo, como estoy alojada en un servidor. I’ll look closer at Isapirewrite and comment if anything good comes up. Voy a ver más cerca a Isapirewrite comentario y si algo bueno viene.
Thanks! Gracias!
May 4th, 2005 at 5:16 am 4 de mayo, de 2005 a las 5:16 am
How about changing your hosting provider ¿Qué hay de cambiar su proveedor de alojamiento
I found Linux hosting providers are normally cheaper and comes with addl. Encontré Linux proveedores de alojamiento normalmente son más baratas y viene con addl. capabilities like ssh, vps (some) etc. capacidades como ssh, vps (algunos), etc
May 4th, 2005 at 3:04 pm 4 de mayo, de 2005 a las 3:04 pm
I thought about that… but then my hosting provider offered me a nice plan with PHP that was competitive with everything else out there and I decided the hassle of switching wasn’t worth it. Pensé en eso… pero entonces mi proveedor de alojamiento me ofreció un buen plan con el que PHP fue competitivo con todo lo demás por ahí y yo decidimos la molestia de cambiar no vale la pena. I’d have to move all my data plus my email domain. Me tienen que mover todos mis datos más mi dominio de correo electrónico.
They are about to start offering Linux hosting, so maybe all is not lost. Ellos están a punto de comenzar ofreciendo hosting Linux, por lo que tal vez no todo está perdido.
May 9th, 2005 at 5:52 pm 9 de mayo de 2005, a las 5:52 pm
I have tried to search the site for the reason for using index.php as part of the permalink structure. He tratado de buscar en el sitio para la razón para usar index.php como parte de la estructura del permalink. And of course it is hard to search for that since it is included on every page Y por supuesto es difícil para buscar que ya que se incluye en cada página
May 9th, 2005 at 11:27 pm 9 de mayo de 2005, a las 11:27 pm
@Gary Gary @
Finally a downside of using “index.php” as part of permalink Finalmente, un inconveniente de utilizar "index.php" como parte de permalink
Looks like however you succeeded. Parece que sin embargo le sucedió.
May 10th, 2005 at 1:17 pm Mayo 10, 2005 a las 1:17 pm
Well, you won me over to the NoDateURI side. Bueno, usted me ganó al NoDateURI lado. Being a noob with php, apache, etc, I was reluctant to do anything that might ‘break’ my site. Al ser un noob con PHP, Apache, etc, yo era reacio a hacer todo lo que pueda "romper" mi sitio. But I backed up everything (including a spare copy of .htaccess) and said - go for it. Pero yo respaldo todo (incluyendo una copia de repuesto. Htaccess) y dijo - No te lo pienses más.
It worked!! Funcionó!
Then I realized all the links out in the wild world to my site were now probably broken. Entonces me di cuenta de todos los eslabones en el salvaje mundo a mi sitio ahora probablemente roto. And even though I like my 404 message - I prefer people not get it. Y aunque me gusta mi mensaje 404 - que prefiero la gente no conseguirlo.
So, since I was being brave, I opened that back up copy of .htaccess and compared it with the new one. Así que, desde que estaba siendo valiente, que me abrió una copia de seguridad de copia. Htaccess y la comparó con el nuevo. I think I figured out how all the regular expressions were doing what they were supposed to do enought to try something bold. Creo que descubrir cómo todas las expresiones regulares están haciendo lo que se supone que tiene que hacer suficientemente para intentar algo audaz. I copied the lines that started with ^([0-9]{4}) and replaced the pattern at the end: He copiado las líneas que se inició con ^ ([0-9] (4)) y sustituye el patrón al final:
`index.php?year=$1&monthnum=$2&day=$3&name=$4` »index.php? year = $ 1 & monthnum = $ & 2 días = $ 3 & name = $ 4»
with just: con sólo:
index.php?name=$4` index.php? name = $ 4 »
In other words I removed: En otras palabras, eliminado:
`year=$1&monthnum=$2&day=$3&` »year = $ 1 & monthnum = $ & 2 días = $ 3 &`
A quick test shows it worked - now the old links on my pingbacks, tracklogs, etc still should work. Un rápido test muestra que trabajó - ahora los viejos vínculos de mi pingbacks, tracklogs, etc aún deben trabajar. I emphasize ’should’ since I really have no clue about this stuff since I am an insurance agent and not a professional propeller head. Hago hincapié en «debería», ya que realmente no tienen ninguna pista acerca de estas cosas ya que soy un agente de seguros y no un profesional hélice cabeza.
May 10th, 2005 at 1:56 pm Mayo 10, 2005 a las 1:56 pm
WordPress Permalink Options WordPress Permalink opciones
As I read 2 posts on the Simple Thoughts blog about permalinks in WordPress I realized I wanted my permalinks to be ‘cleaner’. Como he leído 2 puestos en los pensamientos simples blog sobre permalinks en WordPress me di cuenta de que quería mi permalinks a ser 'más limpias'.
In the first article, [Why I discourage embedding date in URL’s (including WordPress Permalinks and also other CMS)](htt… En el primer artículo, [I ¿Por qué desalentar la integración de la fecha en la URL (incluyendo WordPress Permalinks y también otros CMS)] (htt…
May 25th, 2005 at 10:16 am 25 de mayo de 2005, a las 10:16 am
[...] permalinks. [...] Permalinks. At the very least, include the post name. Por lo menos, incluir el nombre puesto. Another recommendation can be found here. Otra recomendación puede encontrarse aquí. 05.25.2005 @ 10:15 AM by paul @ rwt [...] 05.25.2005 @ 10:15 AM por Paul @ rwt [...]
June 1st, 2005 at 10:56 am 1 de junio de 2005, a las 10:56 am
Carlos:
I have just set up WP on Win2k3/IIS6, and was pleasantly surprised to find no problems with permalinks. Acabo de crear en WP Win2k3/IIS6, y fue gratamente sorprendido al no encontrar problemas con los permalinks. I have not installed any of the rewrite ISAPI filters. No he instalado ninguno de los filtros de reescritura de ISAPI. This site is for internal organizational use only, so is not accessable to the public — you’ll have to trust me that permalinks are working! Este sitio es para uso interno de organización única, por lo que no es accesible al público - tendrá que confiar en que me permalinks están trabajando!
My guess is that you don’t have access to the php.ini file (I wouldn’t give access to all users if I was the host!) Mi adivinar es que usted no tiene acceso al archivo php.ini (no quiero dar acceso a todos los usuarios si se me fue el anfitrión!)
If I’m right, ask your host to turn on the cgi.fix_pathinfo option for PHP. Si yo soy derecho, pregunte a su anfitrión a su vez en la cgi.fix_pathinfo opción para PHP. Even if they make the change in php.ini, it requires a restart of IIS to take effect, so they may not be able to do that immediately. Incluso si hacen el cambio en php.ini, se requiere un reinicio de IIS para tener efecto, por lo que pueden no ser capaces de hacerlo de inmediato.
If you begin hosting on your own server, and need to use IIS instead of Apache for some reason, try the suggestion on the WordPress Codex: Si usted comienza su alojamiento en su propio servidor, y la necesidad de utilizar IIS en lugar de Apache, por alguna razón, trate de la sugerencia en el WordPress Codex: http://codex.wordpress.org/User:ringmaster/IIS
Hope that helps. Espero que ayude.
June 8th, 2005 at 10:13 pm 8 de junio de 2005, a las 10:13 pm
Well, this discussion make me, a newbie in WP, confused. Bueno, este debate me hacen, un novato en GT, confundido. What should I choose? ¿Qué debo elegir?
June 8th, 2005 at 11:43 pm 8 de junio de 2005, a las 11:43 pm
Choose the simple structure I suggested in the article. Elija la simple estructura que se sugiere en el artículo. It will take you about a minute to setup, very search engine friendly and requires no special capability of your server like mod_rewrite or htaccess. Se le llevará aproximadamente un minuto para la configuración, motor de búsqueda muy amigable y no requiere ninguna capacidad especial de su servidor como el mod_rewrite o htaccess.
I summarized in the last line of the article: I resume en la última línea del artículo:
Simply said this approach is without any drawbacks AFAIK. Simplemente dijo este enfoque es sin ningún tipo de inconvenientes AFAIK.
June 19th, 2005 at 9:40 pm Junio 19, 2005 a las 9:40 pm
For future reference, I was able to get permalink URL rewriting working in WordPress by creating a php.ini at my domain root with the following configuration: Para futura referencia, tuve la oportunidad de obtener la reescritura de URL del permalink en WordPress de trabajo mediante la creación de un php.ini a raíz de mi dominio con la siguiente configuración:
cgi.fix_pathinfo = 1 cgi.fix_pathinfo = 1
cgi.force_redirect = 0 cgi.force_redirect = 0
June 20th, 2005 at 4:32 pm 20 de junio de 2005, a las 4:32 pm
I have posted this query at WP Forum but received no response. He publicado esta consulta al Foro WP pero no recibió respuesta.
Server: Linux/Apache Server: Linux / Apache
WP: 1.5.1 WP: 1.5.1
Themes: both my own and wordpress default. Temas: tanto el mío y wordpress por defecto.
Plugins: Extensiones:
Include page 1.0 Incluir página 1,0
Last Post Since 1.0 Última desde 1,0
Static Front Page 1.0.2 Static Front Page 1.0.2
I have edited my Permalink structure as: He editado mi estructura permanente como:
/%year%/%monthnum%/%day%/%postname%/ /% year% /% monthnum% /% day% /% postname% /
/category/%postname%/ / categoría /% postname% /
The links seems to be working fine but I get the following error at every post or category: Los enlaces parece estar funcionando bien, pero me sale el siguiente error en cada puesto o categoría:
WordPress database error: [You have an error in your SQL syntax. WordPress base de datos de error: [Tienes un error en su sintaxis SQL. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] Revise el manual que corresponde a su versión del servidor MySQL para el derecho a utilizar la sintaxis de cerca''en la línea 1]
SELECT category_nicename FROM wp_categories WHERE cat_ID= SELECT category_nicename DE wp_categories WHERE cat_ID =
Then to make it simple I used: A continuación, para que sea simple he utilizado:
/index.php/%year%/%postname%/ / index.php /% year% /% postname% /
/index.php/archives/%post_id% / index.php / archives /% post_id%
without .htaccess sin. htaccess
Same result. Mismo resultado.
Any idea? Cualquier idea?
June 20th, 2005 at 5:39 pm 20 de junio de 2005, a las 5:39 pm
Look like a plugin related problem or related to the theme. Vea como un problema relacionado con el plugin o relacionadas con el tema. Start by disabling all the plugins and see of the problem is solved. Comience por desactivar todos los plugins y de ver que el problema se solucione. Then activate them one at a time to isolate the exact plugin causing it. Luego, active una a la vez para aislar el plugin exacta causando.
To test the theme try using the default theme and see if that solves the problem. Para probar el tema de tratar de usar el tema por defecto y ver si se soluciona el problema.
This is not related to the permalink structure as far as I can tell from this description. Esto no está relacionado con la estructura del permalink en la medida de lo que puedo decir de esta descripción.
June 20th, 2005 at 10:51 pm 20 de junio de 2005, a las 10:51 pm
Angsuman thanks for your response. Angsuman gracias por su respuesta. The error shows up despite the theme or the plugin used. El error aparece a pesar de el tema o el plugin utilizado. I have tested and got the same error using the WP default theme and without plugins. He probado y he conseguido el mismo error utilizando el WP tema por defecto y sin plugins. Weird isn’t? No es extraño?
My server provider says the system is okay but I have no arguments to discuss the database error. Mi proveedor de servidor dice que el sistema está bien pero no tengo argumentos para discutir la base de datos de error. So, it would be great if someone explains what the error message means. Por lo tanto, sería genial que alguien explique lo que el mensaje de error indica.
June 21st, 2005 at 12:19 am 21 de junio de 2005, a las 12:19 am
@Stopthepress Check the version of MySQL installed on your site. @ Stopthepress comprobar la versión de MySQL instalado en su sitio. You should be able to find it in the control panel or your hosting provider will be able to tell you. Usted debe ser capaz de encontrar en el panel de control o con su proveedor de alojamiento será capaz de decirle a usted.
AFAIK WordPress doesn’t support MySQL 5.x versions. AFAIK WordPress no es compatible con las versiones 5.x de MySQL. It works with 4.x versions. Funciona con las versiones 4.x.
June 21st, 2005 at 12:15 pm 21 de junio de 2005, a las 12:15 pm
Angsuman,
MySQL version is 4.0.22-standard MySQL versión 4.0.22-estándar
June 21st, 2005 at 12:46 pm 21 de junio de 2005, a las 12:46 pm
This is not linked to permalinks at all. Esto no está vinculado a permalinks en absoluto. Comment out references to the_category() function everywhere in your theme. Comente referencias a the_category () de todo el mundo en tu tema.
Then your site will work. Luego, su sitio de trabajo.
However it shouldn’t have been a problem in the first place. Sin embargo, no debería haber sido un problema en el primer lugar. Search/Ask in WP forum if your version of MySQL is supported. Buscar / Pregunte a WP foro si tu versión de MySQL es compatible.
Re-instllating often helps with such spurious errors. Re-instllating a menudo ayuda con esos falsos errores. That is an option too. Esa es una opción demasiado.
June 21st, 2005 at 10:44 pm 21 de junio de 2005, a las 10:44 pm
Done!!! Hecho!
Deleting the ‘the_category()’ function at the theme’s index.php solved the problem. Eliminar el 'the_category ()' en función del tema del index.php resuelto el problema. Fortunately the ‘the_category()’ function is not so important. Afortunadamente el 'the_category ()' función no es tan importante.
The question is why the_category() function caused that weird behaviour in my theme and in the WP Default theme as well? La pregunta es ¿por qué the_category () causado que el comportamiento extraño en mi tema y en el tema por defecto WP también? Hmmm if I get some spare time I will re-install to see what happen. Hmmm si me da tiempo libre voy a volver a instalar a ver lo que sucederá.
Thanks a lot Angsuman for your valuable comments. Muchas gracias por su Angsuman valiosos comentarios. Will post a link to this thread at the WP Forum in order to help other users suffering “Permalinkcitis”. Publicaremos un enlace a este hilo en el Foro WP con el fin de ayudar a otros usuarios de sufrimiento "Permalinkcitis".
July 1st, 2005 at 10:33 am 1 de julio de 2005, a las 10:33
Genius here: Genius aquí:
I already gave up de permalink-stuff, but today i upgraded wp to 1.5.1.3 . Yo ya entregó de permalink de cosas, pero hoy He actualizado a wp 1.5.1.3.
I thought lets give it a try. Pensé permite darle una oportunidad.
I followed Cems advice and voila it is working! He seguido CEMS asesoramiento y voila es trabajo!
without the .htacces, because i don’t have that file in my (shared) webspace. sin el. htacces, porque no tengo ese archivo en mi (compartido) webspace.
Big thanks to Cem. Big gracias a Cem.
July 8th, 2005 at 11:46 pm 8 de julio de 2005, a las 11:46 pm
Just wanted to add my 2 cents, the trick Cem said seemed to work for me. Sólo quería añadir mis 2 centavos, el truco Cem dice parecía trabajar para mí. Specifically: En concreto:
Running Win2k3 on IIS6 and now it works perfectly fine. Atletismo Win2k3 en IIS6 y ahora funciona perfectamente bien. Thanx a bunch. Gracias un montón.
July 11th, 2005 at 3:08 pm 11 de julio de 2005, a las 3:08 pm
I didn’t believe it would work, but like CEM (comment #44) and others said, this did the trick for me on Win2003 and IIS. Yo no creo que funcionaría, pero como CEM (comentario # 44) y otros han dicho, este hizo el truco para mí en Win2003 y IIS.
August 2nd, 2005 at 12:22 pm 2 de agosto de 2005, a las 12:22 pm
Thank you so much! Muchísimas gracias! I’ve been looking around forever for a solution to the IIS/Wordpress/Permalinks problem, and the php.ini thing worked! He estado buscando siempre alrededor de una solución para el IIS / Wordpress / Permalinks problema, y el php.ini cosa trabajado! I’m so happy, thank you all so much. Estoy tan feliz, gracias a todos tanto.
August 9th, 2005 at 5:41 pm Agosto 9, 2005 a las 5:41 pm
thanks, the tip about php.ini on iis saved me from tearing any more hair out. gracias, sobre la punta en php.ini iis me salvó de desgarro más el pelo.
October 8th, 2005 at 11:33 pm Octubre 8, 2005 a las 11:33 pm
[...] Wordpress is sooooooo cool. [...] Wordpress es sooooooo cool. Just changed the url’s to be “search engine friendly.” I was researching how to do this manually, but then ran across a link from one of Wordpress’ support pages, which mentioned to change the options in the local Wordpress install’s permalinks section, add some code to the .htaccess file, and that was it! Simplemente cambiado las url's de ser "motor de búsqueda amistoso." Yo estaba investigando la manera de hacerlo manualmente, pero luego se corrió a través de un enlace de una de Wordpress apoyo páginas, se menciona que para cambiar las opciones en el local de instalación de Wordpress permalinks sección, añadir algo de código para el. htaccess archivo, y que era él! How easy. ¿Qué tan fácil. I’ll probably donate some money to them soon. Yo probablemente donar algo de dinero para ellos en breve. They’ve built a fantastic tool. Han construido una herramienta fantástica. [...]
October 20th, 2005 at 7:46 pm 20 de octubre de 2005, a las 7:46 pm
OMG HOLY 5H17 SANTO OMG 5H17
CEM, you rule CEM, usted gobierna
Thank you, I spent a couple days looking for this work around (came across this post more than once, just was too lazy to read the comments before Gracias, pasé un par de días, buscando en todo este trabajo (llegó a través de este puesto más de una vez, sólo era demasiado perezoso para leer los comentarios antes de
) ),
u guys rock u guys rock
October 20th, 2005 at 8:05 pm 20 de octubre de 2005, a las 8:05 pm
has anyone noticed their admin console stop doing page redirects after executing actions since they installed the php.ini file to fix permalink? nadie ha notado su consola del administrador de dejar de hacer redirecciones página después de ejecutar las acciones, ya que instalado el fichero php.ini para fijar perm?
I imagne it’s just something I’m missing from my php.ini… but I don’t know what to put in there I imagne es sólo algo me falta en mi php.ini… pero no sé qué poner allí
this happened to anyone else? esto ocurrió a nadie?
October 26th, 2005 at 7:18 am 26 de octubre de 2005, a las 7:18 am
Hi Hola
maybe it’sa good tip to know that when you use other seperation characters like: . quizá es un buen consejo para saber que cuando se usa la separación de otros caracteres como:. , | + instead of the / or - you can get serious errors , | + En lugar de la / o - puede obtener errores graves
so: /%year%.%monthnum%.%day%.%postname%.%post_id% a fin de: /% year%.% monthnum%.% day%.% postname%.% post_id%
does not work, but no funciona, pero
/%year%-%monthnum%-%day%-%postname%-%post_id% /% year% -% monthnum% -% day% -% postname% -% post_id%
does… ¿…
October 31st, 2005 at 9:29 pm 31 de octubre de 2005, a las 9:29 pm
It worked! Funcionó! Thanks, really! Gracias, de verdad!
November 9th, 2005 at 3:30 am 9 de noviembre de 2005 a las 3:30 am
Using the structure you suggested solved all my problems of no comments showing and categories not working. El uso de la estructura que sugiere resolver todos mis problemas de ningún comentario que muestra las categorías y no funciona. I don’t really know php and am new to this kind of blogging, but I’m so relieved and so thankful I could dance! ¡No se php y estoy nuevo a este tipo de blogs, pero me siento tan aliviado y agradecido por lo que podía bailar!
Thanks from Italy Gracias de Italia
November 24th, 2005 at 1:50 am 24 de noviembre de 2005, a las 1:50 am
I suggest using the default structure: /index.php/%year%/%monthnum%/%day%/%postname%/ because this is computable with the other archive URL. Yo sugiero utilizar la estructura por defecto: / index.php /% year% /% monthnum% /% day% /% postname% / porque este es computable con las demás URL de archivo. For example /index.php/%year%/%monthnum%/ shows all posts in that month and /index.php/%year%/ shows all posts in that year. Por ejemplo / index.php /% year% /% monthnum% / muestra todos los puestos en ese mes y / index.php /% year% / muestra todos los puestos de ese año. /index.php/%year%/%monthnum%/%day%/%postname%/ seams like the logical extension to me. / index.php /% year% /% monthnum% /% day% /% postname% / costuras como la extensión lógica para mí.
November 27th, 2005 at 10:16 pm 27 de noviembre de 2005, a las 10:16 PM
Any suggestions for fixing this when the Windows web host provider won’t modify php.ini with the fix above? ¿Alguna sugerencia para la fijación del mismo cuando el servicio de alojamiento web Windows proveedor no modificar php.ini con la solución anterior? WebHost4Life can’t/won’t make the change, and it doesn’t look like they’ll install the ISAPI filters referred to above, either. WebHost4Life no puede / no hacer el cambio, y no ver como se va a instalar el filtro ISAPI antes mencionados, ya sea.
November 27th, 2005 at 11:41 pm 27 de noviembre de 2005, a las 11:41 pm
How about uploading the file php.ini to your home directory yourself instead of relying on your web host? ¿Qué hay de subir el fichero php.ini a su casa usted mismo directorio en lugar de confiar en su servicio de alojamiento web?
December 3rd, 2005 at 12:47 am 3 de diciembre de 2005, a las 12:47 am
[...] You can also try to follow blog.taragana.com by putting a php.ini file in your root folder. [...] Usted también puede tratar de seguir blog.taragana.com poniendo un fichero php.ini a su carpeta raíz. Have a look at their update 3 it may be of some help. ¡Echa un vistazo a sus Actualización N º 3 puede ser de alguna ayuda. [...]
December 8th, 2005 at 10:38 pm 8 de diciembre de 2005, a las 10:38 pm
I am attempting to get /archive/%postname%/ to work without having to write to WP’s .htaccess, but ran into a few problems. Estoy tratando de obtener / archive /% postname% / a trabajar sin tener que escribir a: WP. Htaccess, pero tropezó con algunos problemas. Allowing wp to write the code to WP’s .htaccess file overrides my RewriteEngine canonical redirect in my domain root .htaccess, that automatically parses all non-www versions of my domain to the www version to avoid possible duplicate content penalties. Permitir que el wp a escribir el código para WP. Htaccess archivo invalida mi Reescribirmotor canónica redirigir a raíz de mi dominio. Htaccess, que analiza automáticamente todos los no-www versiones de mi dominio www a la versión de evitar posibles sanciones contenido duplicado. This problem only effects my /blog/ folder. Este problema sólo efectos de mi / blog / carpeta.
Adding php.ini to my domain root with: Agregando php.ini a raíz de mi dominio con:
cgi.fix_pathinfo = 1 cgi.fix_pathinfo = 1
cgi.force_redirect = 0 cgi.force_redirect = 0
Doesn’t work. No funciona. Changing /index.php/archive/%postname%/ to /archive/%postname%/ results in “Not found on server” errors for all my other blog pages. Cambiar / index.php / archive /% postname% / al / archivo /% postname% / resultados en "No se encuentra en el servidor" para todos los errores de mi blog otras páginas.
I tried adding a similar RewriteEngine code to WP’s .htaccess, but that didn’t work. He intentado añadir un código similar Reescribirmotor a WP. Htaccess, pero que no funcionó.
December 31st, 2005 at 10:01 pm 31 de diciembre de 2005, a las 10:01 pm
I think you would be better of including index.php in your path like this blog. Creo que sería mejor incluir index.php en su camino, como este blog.
January 5th, 2006 at 8:34 am 5 de enero de 2006, a las 8:34 am
I’ve got a wordpress site running on Win2K/IIS5 (it’s an internal demo @ work, so not a huge choice of operating system and server). Tengo un sitio corriendo wordpress en Win2K/IIS5 (es una demo @ internos de trabajo, por lo que no una gran elección de sistema operativo y servidor).
Yesterday i set up permalinking with the following structure (and the php.ini file) and it worked fine: Ayer i permalinking creado con la siguiente estructura (y el fichero php.ini) y funcionó bien:
Structure: /index.php/%year%/%monthnum%/%day%/%postname%/ Estructura: / index.php /% year% /% monthnum% /% day% /% postname% /
Category Base: /index.php Categoría Base: / index.php
Today i’ve tried installing a plugin (wp-hashcash), and now i find that my structure doesn’t work and i get loads of 404 errors. However my categories do still work.
So I tried rolling back the only thing that had changed and uninstalled the plugin, but that doesn’t fix the problem.
Would be grateful for any ideas at all, i’m completely at a loss. I’m wondering if the act of installing the plugin has made some irrevocable change, but i can’t see how..
January 5th, 2006 at 9:42 am
Stephen,
As I mentioned in the post above please use the following structure:
I do not encourage embedding date information in permalinks and Google engineer Matt Cutts agrees with me.
Angsuman
January 14th, 2006 at 11:35 am
Hey everyone. So after wrestling with this for a long time (Window XP sp2, IIS 5.1, PHP latest, WP 2.0, MySql 5) I started digging to figure out why my permlinks weren’t working (after following all your good instructions).
I ran into this msft article: http://www.microsoft.com/technet/security/tools/urlscan.mspx
I installed the newer version of urlscan, and turned on the following line in the ini file:
AllowDotInPath=1 ; if 1, allow dots that are not file extensions
(the ini file is in : D:\WINDOWS\system32\inetsrv\urlscan on my machine)
Then refreshing works (be sure to re-install urlscan and restart iis or reboot in order to get it to see the new ini info).
I hope that helps those who are still stuck with windows + iis & permalinks.
Cheers,
Danny
February 19th, 2006 at 2:13 am
[...] Secara otomatis WordPress dapat me-generate file .htaccess namun ada semacam bug -mungkin- yang menyebabkan permalink tidak berjalan, dari hasil search sama mbah Google saya dapat bbrp petunjuk antara lain di Using_Permalinks, wordpress-tip-on-permalink-options, How to configure WordPress to create search engine friendly URLs for permalinks? akhirnya dari petunjuk yang ada saya menambahkan kode berikut pada file .htaccess # BEGIN WordPress [...]
March 5th, 2006 at 11:20 pm
Kewl blog you got goin on up here.
Peace, JiggyWittit
May 5th, 2006 at 6:11 pm
[...] Das halten wir mal schnell fest. In der Wordpress FAQ wird beschrieben wie man auch ohne mod_rewite permalink-ähnliche links in wp-erhält. Mehr dazu auch hier [...]
May 7th, 2006 at 3:06 pm
I have wordpress 1.5.2 installed on window. My attempt to create permalinks without mod_rewrite using a php.ini file worked. see my blog at: http://www.multiculturaladvantage.com/ diversity-recruiting/
However, my posts are striped of all style sheet information. See a sample post: http://www.multiculturaladvantage.com/ diversity-recruiting/ index.php/ archive/ test-shaker-receives-top-honors-for-excellence-in-recruitment-advertising/
I have limited prgramming knowledge and no idea what it means or how to correct it. Does anyone have ny ideas?
Thanks Tracey
May 8th, 2006 at 11:31 am
Check how you specified your CSS file. It should be absolute path and not relative path (as it is most likely now).
July 21st, 2006 at 8:07 pm
All I know is - this is the ONLY thing that has worked for me to change my permalinks from the default to pretty. I used my postname only.
Thank you, thank you! No amount of reading I was doing was working for me and I finally found a link here from WP codex.
July 22nd, 2006 at 4:38 pm
Wow thanks so much for this tip. It is incredibly simple and works great. Just had to make sure the php.ini file is in the domain root. I used the following custom structure: “/index.php/%year%/%monthnum%/%postname%/”, on a Windows IIS 6.0 acct on shared hosting. The only thing I’m worried about now is if WP or the PHP installation on my host gets upgraded and this stops working in the future… THANKS!
July 22nd, 2006 at 7:52 pm
It will continue to work.
July 27th, 2006 at 8:12 am
Christy & Parker,
I am happy that it worked for you. Feel free to spread the word in your blogs
– Angsuman
August 3rd, 2006 at 8:05 pm
[...] I got stuck at this point because the resources I was finding online indicated that to do this on IIS, I needed to muck around with ISAPI rewriting. I can’t do that in a shared hosting environment, so I was in limbo until I found this link through the WordPress Codex. [...]
August 24th, 2006 at 10:06 pm
I am glad that my suggestion was helpful.
August 30th, 2006 at 8:04 am
[...] I finally managed to change my permalinks structure…from downright ugly (ie. http://www.sooyin.com/?p=296578907243 ) to something more bearable. Thanks to this tip! [...]
August 31st, 2006 at 5:25 am
[...] [...]
August 31st, 2006 at 10:00 am
@Cem
Yes it was. Thanks. Gracias.
September 4th, 2006 at 7:49 pm
[...] I’ve made a couple of other small changes to the site as well; The article and page links have been altered to a more aesthetically pleasing format using Angusman’s Advice posted here and I’ve added a link exchange section to the sidebar with a link to Matt’s Blog ‘Abort. Retry. Fail?‘. Matt is the author of the Article on how to remove the Sony Ericsson file manager I linked to in my last post and his stuff is well worth a read. [...]
September 11th, 2006 at 9:44 am
I still can’t get the friendly permalinks to work. I am on win 2003, IIS 6, PHP 5. I have a dedicated server.
I tried all tricks you saif here but it still printing “no input file specified”.
If anyone know how to get it to work, please let me know!
Thanks, Gracias,
Stephane
September 12th, 2006 at 4:13 pm
Finally, I got it to work on IIS 6 and win 2k3 with this:
http://www.nathanm.com/2006/07/02/wordpress_permalinks_removing_indexphp_in_iis.html
The plugin is here:
http://www.nathanm.com/wordpress-plugins/
Stephane
October 14th, 2006 at 5:58 am
[...] This reference from Cem via http://blog.taragana.com/index.php/archive/wordpress-tip-on-permalink-options/ [...]
October 30th, 2006 at 2:43 am
[...] XDForum (example: Anaconda Forum) is a nice basic forum software which works seamlessly with WordPress blogs (download our free theme and plugins). Unfortunately it works out-of-the-box with default permalinks only. Most site today use nice permalinks. This mini-tutorial will teach you how to use XDForum with nice permalinks (how to enable; tips and more). [...]
December 18th, 2006 at 5:32 am
I am trying to get some sort of friendly article names to work on my site http://www.fancyacar.co.uk at the moment. I have already made the rewrite rules in .htaccess file but i cant find a way to deal with duplicate post titles. Maybe i could just append a number to the post like http://www.fancyacar.co.uk/hello-world and y http://www.fancyacar.co.uk/hello-world-2 ?? This will ensure that no post titles are the same, wouldnt it? What do you guys think?
April 5th, 2007 at 10:23 am
Wordpress adds the number by default in URLs to duplicate post name
April 11th, 2007 at 5:21 am
I had started my blog with Default format and then changed to Date and Name based.
But now it is custom format %category%/%postname% which I think is good in terms of search engine.
Not very sure!!
May 29th, 2007 at 5:33 am
Thanks for this great info. I have changed the settings of my permalink and hopefully it will attract more search engine to come…
Thanks…
June 5th, 2007 at 1:42 am
Thanks for the information - very helpful when changing my permalink structure. A caution for beginners however: be careful about using %category% unless you are sure you will not change your categories, as doing so will break some of your permalinks. I wrote about this in my blog: http://www.scratch99.com/2007/06/wordpress-permalink-customisation-caution-for-beginners/
As you can see I no longer use category
July 17th, 2007 at 5:01 am
I prefer to have only postname after domain name.fellow webmasters like short urls to link to and i am as a visitor much fond of short urls.
July 25th, 2007 at 9:58 pm
I look at dates in the URL when reading search results to find articles that are most recent.
August 27th, 2007 at 12:18 pm
I used your advice a year ago when I first set up WordPress on our Compulabel site and everything worked fine. The categories of the blog worked with the extra php.ini files to my blog root folder.
However, recently my hosting company updated their version of PHP on the server from PHP5.1.1 to PHP5.2.3. The category pages no longer display properly.
If you visit a category in our blog, like…
Compulabel Labels you’ll see (as of this date), you’ll get an error message…
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
If tried everything, including uploading the entire latest version of Wordpress 2.2 and that hasn’t resolved the problem.
Does anyone have a solution to this problem, short of transferring our site to another server that has the older version of PHP software installed on it (which I don’t want to do)? Thanks Gracias
August 27th, 2007 at 1:56 pm
Try updating your permalinks in Options->Permalink
Then look at your .htaccess file to see if something is screwed up.
August 27th, 2007 at 1:57 pm
Also you can try creating a php.ini at my domain root with the following configuration:
cgi.fix_pathinfo = 1
cgi.force_redirect = 0
August 29th, 2007 at 10:13 pm
Thanks for the feedback, but the PHP.ini is correct.
I forgot to mention that I have my version of Wordpress hosted on a shared hosting company and it runs on a Windows IIS. So I’m not able to access the .htaccess file.
I’ve tried UPDATING the permalinks files and some become corrected and others don’t.
It seems Wordpress add /category/ or /archive/ to some of the Permalinks and it’s not always the same. Especially for the PREVIOUS links when a page is too full.
Also, when you create a new CATEGORY, and add a post to it. And click on the new Category link, it doesn’t seem to find the category or the link.
Feel free to explore the blog at
Compulabel and you’ll see my frustration.
Do you think the PHP incompatibility issue could be the issue? It seems like a long-shot but that was upgraded right around the same time the perma links started going bad.
Any other suggestions would be appreciated.
Thanks Gracias
October 27th, 2007 at 6:58 am
Its workking…Great tip for wordpress and seo begineers…
November 26th, 2007 at 11:06 am
hi , Thanks i was fighting with this Ugly Permalink problem of my blog http://www.shankerbakshi.com . Thanks i got the solution here. Thanks again, you can’t imagine how happy i am to see permalink working on my blog
December 16th, 2007 at 6:46 am
Seconding Shanker Bakshi’s sentiments, I also was battling the permalink problem for about two evenings, on and off.. reloading probably 50 times, and slipping the php.ini code definitely saved my sanity, so thanks for making my day!
December 18th, 2007 at 12:57 pm
I DO NOT LIKE INDEX.PHP WUWUWUWU….
December 23rd, 2007 at 7:54 am
The new Wordpress has features built in to do that sort of stuff, what I find works well is /%postmonth%/%postname%.html , or similar
January 3rd, 2008 at 6:42 pm
Well, since everyone else seems to be sh!tting all over your post, I\’m going to go ahead and congratulate you, as it has helped me alot and I\’ve now got my blog working the way I want it. Thank you very much! Muchas gracias!
January 12th, 2008 at 6:19 pm
Thank you for this post! I have been really dragging my feet about changing my URL structure, I followed your directions here and it was almost too easy!
Thanks again
February 17th, 2008 at 3:50 am
Thank you. Gracias. Very beatiful post.
February 27th, 2008 at 5:05 pm
Damn, good stuff… That helped and took me a while
February 29th, 2008 at 12:16 pm
Worked great - thanks so much! After several failed attempts with some plugins, this was the exact simple, effective fix we needed.
March 29th, 2008 at 11:29 pm
The PHP.ini trick stopped working with WordPress 2.5. Any suggestions?
April 13th, 2008 at 6:04 pm
Anyone home?
May 11th, 2008 at 2:40 pm
Awesome this worked for me. Thank you to people who share and respond.
cgi.fix_pathinfo = 1
cgi.force_redirect = 0
in php.ini file.
Wordpress shuld detect this in their next version.!
May 21st, 2008 at 4:20 pm
Thanks, this worked out fine!
May 22nd, 2008 at 3:37 pm
Using WP v2.5 and it worked out fine…Keep up the good work!