WordPress Tip on Permalink Options WordPress Conseil permanent sur les options
This tip covers configuration in Options/Permalinks [Edit Permalink Structure] for WordPress users. Cette astuce couvre la configuration dans Options / Permalinks [Modifier la structure de permalink] pour les utilisateurs de WordPress. My version is WordPress 1.5. Ma version de WordPress 1,5.
By default WordPress uses a query string to identify a post. Par défaut, WordPress utilise une chaîne de requête d'identifier un poste. This is neither search engine friendly nor human friendly. Ce n'est ni moteur de recherche convivial, ni l'homme convivial. A better way is to use a custom URI to better identify your posts. Une meilleure solution est d'utiliser un URI de coutume afin de mieux identifier vos messages. Many bloggers include a date as part of the permalink. De nombreux blogueurs inclure une date dans le cadre du lien permanent. I advise against it Je conseille à son encontre . The date of the post is not so important as to be part of the URI! La date de la poste n'est pas aussi important que de faire partie de l'URI!
My suggestion is to use a simple structure containing the post-slug as your Permalink URI. Ma suggestion est d'utiliser une structure simple contenant l'après-limaces que votre Permalien URI. I use: Que j'utilise:
Structure: /index.php/archive/%postname%/ Structure: / index.php / archive /% postname% /
Note that there is an index.php embedded. Notez qu'il ya un index.php embarqués. This is fine with search engines and humans too. C'est très bien avec les moteurs de recherche et les humains. And it will work great. Et il travaillera en grand. It doesn’t require mod_rewrite functionality or change to htaccess. Il ne nécessite pas de mod_rewrite fonctionnalité ou changement à htaccess. Something as simple as this will work in all configurations. Quelque chose d'aussi simple que ceci ne fonctionnera dans toutes les configurations.
For category base I use simply: /index.php/category Pour la catégorie de base-je utiliser simplement: / index.php / catégorie
This is just a simple example. Il ne s'agit que d'un exemple simple. You can make your URI as complicated as you want. Vous pouvez faire votre URI aussi compliqué que vous le souhaitez. Just remember to test it. N'oubliez pas de tester.
Personally I like it short and simple. Personnellement j'aime court et simple.
Update 1 : Please refer to the comments below for points and counterpoints on this topic. Mise à jour 1: S’il vous plaît se référer aux commentaires ci-dessous pour les points et de contrepoints sur ce sujet.
Update 2 : The objections raised by some people is that having an identical named title for posts will cause problems with WordPress. Update 2: Les objections soulevées par certaines personnes est que le fait d'avoir un nom identique pour les postes titre la cause de problèmes avec WordPress. This is not a valid observation anymore. Ce n'est pas une observation plus valable. In other words you can have 10 posts named “Happy New Year” and WordPress will assign unique post-slug to each. En d'autres termes, vous pouvez avoir 10 postes nommé "Happy New Year" et WordPress attribuera unique poste-limaces à chacun d'eux. Simply said this approach is without any drawbacks AFAIK. Autrement dit cette approche est sans aucun des inconvénients AFAIK.
Update 3 : Cem commented: MAJ 3: Cem, a déclaré:
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: Pour l'avenir, j'ai pu obtenir l'URL Rewriting permanent de travail dans WordPress par la création d'un fichier php.ini à la racine de mon domaine avec la configuration suivante:
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. Plusieurs personnes ont jugé utile sur divers environnements, y compris mais non limité à IIS sur les fenêtres comme on peut le voir d'après les commentaires. Thanks Cem for sharing! Cem Merci pour le partage!
BTW: Personally I use /archive/%postname%/ for my BTW: Personnellement je utiliser / archive /% postname% / pour mon Stem Cell Research Blog La recherche sur les cellules souches blog without requiring any changes. sans exiger de modifications.
The greatest benefit is that you don’t have to embed index.php as part of URL, possibly slightly increasing your SERP. Le plus grand avantage est que vous n'avez pas à intégrer index.php dans le cadre du Web, peut-être légèrement à la hausse votre SERP.
Filed under Classé sous Headline News Headline News , How To Comment , Pro Blogging Blogging Pro , Web , Windows , WordPress | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Envoyer cet article
You may also like to read Vous mai également à lire |



Add to Technorati Favorites 
March 16th, 2005 at 12:19 pm Mars 16, 2005 at 12:19 pm
I think you’re making a mistake discouraging the use if the date in URI’s. Je pense que vous faites une erreur de décourager l'utilisation si la date dans les URI. Wordpress does not require post slugs to be unique. Wordpress ne nécessite pas de poste limaces être unique. So if all you is ‘/archive/slug’ the chances of having a collision go increase greatly over time. Donc, si vous est '/ archive / limaces "les chances d'avoir une collision vont augmenter considérablement au fil du temps. Can you really be sure that in the next x years you’ll never recycle a post title, ever? Pouvez-vous vraiment être sûr que dans le prochain x années, vous ne serez jamais recycler un titre de poste, jamais?
Adding the category helps, of course, because then you’d have to duplicate the title and category to cause problems. Ajout de la catégorie aide, bien sûr, car alors vous devriez faire double emploi avec le titre et la catégorie de poser des problèmes. But the date adds a unique identifier to the string that is guaranteed not to be repeated. Mais la date ajoute un identifiant unique à la chaîne qui est garanti de ne pas être répété.
I use a month-year combination for my date field, figuring that within anygiven month I’m unlikely to repeat slugs. J'utilise un mois-année combinaison pour mon champ de date, que figurant dans anygiven mois, je suis pas à répéter les limaces. But even that could be seen as too restrictive by some. Mais qui pourrait même être considérée comme trop restrictive par certains.
You’re also overlooking that adding the date adds a sense of relevance to your links. Vous êtes également que l'ajout sur la date ajoute un sens de la pertinence de vos liens. Do i care about content more than a year old? Ne me touche sur le contenu de plus d'un an? No? Non? Then maybe I don’t need to follow that link i saved that’s dated 1999. Alors peut-être que je n'ai pas besoin de suivre ce lien que je économiser en date de 1999.
March 20th, 2005 at 4:03 am Mars 20th, 2005 at 4:03 am
Why I discourage embedding date in URL’s (including WordPress Permalinks and also other CMS) Pourquoi ai-je décourager l'intégration date dans les URL (y compris Permalinks WordPress et aussi d'autres 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. Les raisons que je décourager date dans un permanent sont les suivants: Il est superflu d'information que la date est d'ores et déjà partie du poste d'information et n'a pas besoin d'être en outre dans l'URL. Search engines like google, which gives importance to words in URL’s will … Les moteurs de recherche comme google, qui accorde de l'importance à des mots dans les URL's…
March 20th, 2005 at 4:05 am Mars 20th, 2005 chez 4:05 am
Squeg,
Please read my S’il vous plaît lire mon article on this topic article sur ce sujet to specifically address your concern. spécifiquement pour répondre à vos préoccupations.
Let me know your thoughts. Permettez-moi savoir vos pensées.
March 21st, 2005 at 9:53 am Mars 21, 2005 at 9:53 am
I definitely agree that the data is not always necessary in a url. Je doute d'accord pour dire que les données ne sont pas toujours nécessaires dans une url. But I still think using it in most permalink structures does more good than bad. Mais je continue de penser l'utiliser dans la plupart des structures permanent fait plus de bien que de mal.
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. Je concède que la date fait l'url "uglier." Donc, je vous conseille d'utiliser le plus compact structure de date en votre pouvoir pour répondre à vos besoins. For some that may mean leaving it out. Pour certains mai signifie que laisser. For me it means domain/archives/MM-YYYY/slug. Pour moi, cela signifie domaine / archives / MM / AAAA / limaces. I wish i’d left the word “archives” out as the date pretty much implies that. Je souhaite que j'avais quitté le mot "archives" comme la date à peu près implique.
I’m not sure that I follow how having the date in the address “poisons” the search engines. Je ne suis pas sûr que je suis comment avoir la date dans l'adresse "poisons" les moteurs de recherche. I’d like to hear more clarification on what you mean by this. J'aimerais entendre plus de précisions sur ce que vous voulez dire par là.
Almost all non “time-sensitive” information really is time sensitive if it’s old enough. Presque tous les "temps sensible" information est réellement temps sensible si elle est assez vieille. The only real exceptions are pages where the content is continually updated/replaced with new information as it ages. La seule véritable exceptions sont des pages où le contenu est continuellement mise à jour ou remplacés par de nouveaux renseignements à mesure qu'il vieillit.
Take for instance, a guide to creating web-pages written in 1998. Prenons, par exemple, un guide pour créer des pages web écrites en 1998. If it was well-written in 1998 it may have attracted many links, moving it up the search engines. Si il est bien écrit en mai 1998, ont attiré de nombreux liens, déplacer les moteurs de recherche. But if it has not been updated, then it is really quite behind the times with reguard to today’s best practices. Mais si elle n'a pas été mise à jour, il est vraiment très en retard avec reguard d'aujourd'hui les meilleures pratiques. It may still be technically accurate within the framework for which it was created, but it’s still dated. Il mai encore être techniquement précis dans le cadre de laquelle il a été créé, mais il est encore datée. Someone looking at this page today needs to know right away that it’s old information and they should look elsewhere. Quelqu'un pour retrouver cette page d'aujourd'hui a besoin de savoir tout de suite qu'il s'agit d'anciennes informations et ils doivent chercher ailleurs.
As you can see from your own kubrik installation under wordpress, not every page actively displays the date in a prominent location. Comme vous pouvez le voir de vos propres kubrik installation sous wordpress, pas activement chaque page affiche la date dans un endroit bien en vue.
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. Il vaut aussi la peine de mentionner que Wordpress (et probablement d'autres systèmes) utiliser le lien permanent que vous spécifiez dans votre RSS ainsi que sur votre page Web. Many RSS readers will use the permalink, if it’s identified, as a unique identifier for the item in the feed. De nombreux lecteurs RSS utilisera le permanent, s'il est identifié, comme un identificateur unique pour la question du flux. Reader software can use that unique ID to enable further functionality for managing feeds and posts. Reader pouvez l'utiliser identifiant unique pour permettre de nouvelles fonctionnalités pour la gestion des flux et des effectifs. In these circumnstances it’s even more beneficial to ensure that your permalinks are unique. Dans ces circumnstances il est encore plus bénéfique pour vous assurer que votre permalinks sont uniques.
In the end, my comment isn’t so much about any given individual leaving the date out of their permalink structure. En fin de compte, ma remarque ne porte pas tant sur la même personne de quitter la date de leur structure de permalink. It’s about dissuading all users from including it without first considering both the pro’s and con’s of doing so. Il s'agit de dissuader tous les utilisateurs de l'inclure sans d'abord examiner les avantages et inconvénients de le faire. Using the date may not always seem necessary, but it does add a bit of “future-proofing” should your needs change. Utilisation de la date mai semble pas toujours nécessaire, mais il ajoute un peu de "l'avenir d'épreuvage" l'évolution de vos besoins.
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. Mon conseil aux nouveaux utilisateurs de WordPress dans le choix d'une structure permanent serait de s'en tenir à "laid" liens pour un certain temps jusqu'à ce qu'ils puissent vraiment avoir une idée de comment ils souhaitent utiliser leur blog. You can always add permalinks without causing damage. Vous pouvez toujours ajouter des permalinks sans causer de dommages. 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. Mais une fois qu'on les a créées, vous ne pouvez pas vraiment changer le système sans causer beaucoup de choses que l'habitude de travailler, à l'échec.
March 23rd, 2005 at 6:12 pm Mars 23, 2005 at 6:12 pm
Actually, mainstream WP user and WP developers argue against NOT using a date structure in the permalinks. En fait, les grands WP utilisateur et GT argumenter contre les développeurs de ne pas utiliser une structure de date dans les permalinks. This has been argued on the forums several times. Cela a été dit sur les forums à plusieurs reprises.
Let’s say that on January 1st, 2004, you post “Happy New Year!”, and then on January 1st, 2005, you post “Happy New Year”. Disons que le 1er Janvier 2004, vous publiez "Happy New Year!", Puis le 1er Janvier 2005, vous publiez "Happy New Year". You now have two posts at domain.com/happy-new-year and this sends your site into a spiral of chaos. Vous avez maintenant deux postes de domain.com / happy-new-an, envoie votre site dans une spirale du chaos. Having some sort of date structure will prevent this. Ayant une sorte de structure de date permettra d'éviter cela.
March 24th, 2005 at 4:40 pm Mars 24, 2005 at 4:40 pm
@MacManx I realize that this is a situation we need to guard against. @ MacManx je me rends compte que c'est une situation dont nous avons besoin pour se prémunir contre. Wouldn’t it however be better to modify WordPress to ensure uniqueness of post slug? Serait-il toutefois pas être mieux de modifier WordPress à assurer l'unicité de poste limaces? Let the title be same. Que le même titre. When WordPress realizes that the title is duplicate while publishing, it changes the post-slug to be unique by adding say date. Lorsque WordPress se rend compte que le titre en double alors que l'édition, elle change l'après-lingot d'être unique en ajoutant dire. However as the post slug is not viewed by the public at large it doesn’t affect the user and the viewer? Cependant, comme le poste limace n'est pas perçue par le grand public, il n'a pas d'incidence sur l'utilisateur et le spectateur?
What do you think. Que pensez-vous.
@Squeg Thanks for your informative comments. @ Squeg Merci pour vos commentaires informatifs. I understand your concerns. Je comprends vos préoccupations. I have updated both my post to include a link to your comments, so people can read both and choose whatever suits them best. J'ai mis à jour mon poste d'inclure un lien vers vos commentaires, pour que les gens puissent les consulter et choisir quelle que soit leur convient le mieux.
Personally I like it simpler without the date as I have already stated, accepting the risk of duplicate post-slug. Personnellement, j'aime plus simple sans la date comme je l'ai déjà indiqué, en acceptant le risque de double post-limaces. I may actually do something to remedy the situation wrt. Je mai effectivement faire quelque chose pour remédier à la situation wrt. duplication in line with my idea described above. les doubles emplois en ligne avec mon idée décrite ci-dessus.
Thoughts? Pensées?
March 25th, 2005 at 7:58 am 25 mars 2005 chez 7:58 am
While i like the date for a lot of things, I do agree sometimes it would be nice to ditch it. Bien que j'aime la date pour un tas de choses, je suis d'accord parfois il serait bon de fossé. 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. Comme nous l'avons examiné les deux, le plus grand inhibiteur de quitter la date de wordpress est qu'il n'impose pas de poste unique limaces. 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. Il semble comme il serait très simple de pirater wordpress afin qu'il garanti un poste unique en son genre lingot en cochant la base de données pour exising cas de son projet de limaces et puis ajoutant un numéro ou quelque chose à la fin de la limace. ( A warning at that time would be nice too, so you could modify the slug if you wanted. ) (Un avertissement à ce moment-là serait bien aussi, donc vous pouvez modifier les limaces si vous voulez.)
I’d also like it to automatically truncate long slugs. Je tiens également à long automatiquement tronquer les limaces. 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. Je sais que pourrait rendre plus difficile de déterminer ce que le type dans l'URL si vous êtes en train d'essayer de deviner (qui vraiment?), Mais il serait certainement simplifier les URL. Some kind of options setting where you specified a maximum number of characters for the slug, would do the trick. Certains types d'options où vous avez spécifié un nombre maximum de caractères pour les limaces, ferait l'affaire.
April 2nd, 2005 at 9:39 pm Avril 2nd, 2005 at 9:39 pm
[...] rs, Link-blog03. [...] Rs, Link-blog03. April 2005 .htaccess 파일을 건드릴 필요 없는 방법 WordPress Tip on Permalink Options Comment RSS - [...] Avril 2005. Htaccess 파일 을 건드릴 필요 없는 방법 WordPress Conseil permanent sur Options RSS Commentaire - [...]
April 9th, 2005 at 6:00 am Avril 9th, 2005 à 6:00 am
WordPress Permalinks Updated Mise à jour de WordPress permalinks
I have updated my WordPress permalinks from: J'ai mis à jour mon WordPress permalinks de:
/year/month/day/TITLE / année / mois / jour / TITRE
to: à:
/archives/month/day/TITLE / archives / mois / jour / TITRE
I just think It would look alot better like that. Je viens de penser Il serait beaucoup mieux comme ça. That’s all :)…. C'est tout:)….
April 14th, 2005 at 6:51 am Avril 14th, 2005 at 6:51 am
My server is running on Windows Server (brinkter.com) so I guess I’m SOL regarding permalinks. Mon serveur tourne sur Windows Server (brinkter.com) donc je suppose que je suis en ce qui concerne les permalinks SOL.
Any workarounds? Toute les solutions?
April 14th, 2005 at 7:04 am 14 avril 2005 chez 7:04 am
edit: that should be “brinkster.com” on the above post. edit: que devrait être «brinkster.com" sur le poste susmentionné.
April 14th, 2005 at 12:56 pm Avril 14th, 2005 at 12:56 pm
@Carlos The ideas in this post works on Windows server too. @ Carlos Les idées à ce poste fonctionne sur Windows comme serveur. In fact I have a copy of the site running on my Windows Apache server at Home. En fait, j'ai une copie du site qui fonctionne sur mon serveur Apache Windows à la maison.
This is the beauty of the idea. C'est la beauté de l'idée. It requires no special features enabled for it to work on any platform. Il ne nécessite pas de permis à des caractéristiques particulières pour que ça fonctionne sur n'importe quelle plate-forme.
April 16th, 2005 at 4:47 pm Avril 16th, 2005 at 4:47 pm
Yes, but it seems you need to have Apache running. Oui, mais il semble que vous devez avoir Apache. What I meant was that brinkster runs Windows Server 2003 as their web server platform, as opposed to Apache for Windows. Ce que j'ai voulu dire, c'est que brinkster fonctionne Windows Server 2003 comme leur plate-forme serveur Web, par opposition à Apache pour Windows. It seems you need apache’s mod_rewrite for the permalink options to work. Il semble vous avez besoin de mod_rewrite d'Apache pour les options permanent au travail.
Thanks. Merci.
April 16th, 2005 at 11:22 pm Avril 16th, 2005 at 11:22 pm
@Carlos @ Carlos
No it doesn’t need apache running. Non, il n'a pas besoin d'Apache en cours d'exécution. To use my tip above you do not need mod_rewrite capability nor do you need .htaccess. Pour utiliser mon astuce ci-dessus, vous n'avez pas besoin de capacité de mod_rewrite n'est pas nécessaire. Htaccess. That is the beauty and simplicity of the solution. C'est la beauté et la simplicité de la solution. Just try it. Il suffit de l'essayer. It will work. Cela fonctionnera.
April 17th, 2005 at 4:50 am Avril 17th, 2005 chez 4:50 am
I get a “No input file specified.” when I try anything with the permalinks. - Je obtenir un "Pas de fichier d'entrée." Lorsque j'essaie n'importe quoi avec la permalinks.
April 17th, 2005 at 10:16 pm Avril 17th, 2005 at 10:16 PM
Am having issues too, trying to setup permalinks on Win2K3/IIS server. Am trop rencontrez des problèmes, en essayant d'installer des permalinks sur Win2K3/IIS serveur. It throws a 404 error, no matter what permalink structure i try! Il lance une erreur 404, quelle que soit la structure de permalink i essayer!
April 17th, 2005 at 10:32 pm Avril 17th, 2005 at 10:32 pm
@Sajin & @Carlos @ @ Sajin & Carlos
Try these exactly as typed (in Options/Permalinks) and let me know if you still have problems. Essayez ces exactement comme taper (dans Options / Permalinks) et laissez-moi savoir si vous avez encore des problèmes.
Structure: /index.php/archive/%postname%/ Structure: / index.php / archive /% postname% /
Category base: /index.php/category Catégorie de base: / index.php / catégorie
April 18th, 2005 at 6:00 am Avril 18th, 2005 à 6:00 am
Angsuman, tried again, making sure to copy-paste from your message. Angsuman, a essayé de nouveau, en vous assurant de faire des copier-coller de votre message. I still get a “No input file specified” message. Je continue à obtenir un "Pas de fichier d'entrée spécifié" message. 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. Je suis d'attente un certain temps maintenant, pour voir s'il s'agit d'une sorte de base de données ou de configuration question qui a besoin de temps pour elle-même fixée.
For example, this is how one of my post links looks like now: Par exemple, c'est de cette manière une de mes fonctions liées ressemble maintenant:
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? Qui ressemblent-t-il ok pour vous?
Thanks! Merci!
April 18th, 2005 at 6:06 am Avril 18th, 2005 chez 6:06 am
Waited a while… added a post… no luck. Attendu un certain temps… ajouté un poste… pas de chance. It doens’t seem like this will work on non-Apache boxes. Il semble doens't comme celui-ci travaillera sur la non-Apache boîtes.
April 19th, 2005 at 2:09 am Avril 19, 2005 at 2:09 am
@Carlos I will check it out. @ Carlos je check it out. It should be possible as it is using something very basic. Il devrait être possible car il utilise quelque chose de très élémentaire.
The reason I don’t have IIS, even on my home machine, is due to security concerns. La raison pour laquelle je n'ai pas IIS, même sur ma machine, est dû à des problèmes de sécurité.
BTW: Have you faced aany security related issue with your IIS deployment? BTW: Avez-vous face aany liés à la sécurité problème avec votre déploiement d'IIS?
April 19th, 2005 at 2:17 pm Avril 19, 2005 at 2:17 pm
@angsuman, @ angsuman,
Not that I know of, as Brinkster handles all the hosting (shared hosting). Pas que je sache, comme tous les poignées Brinkster l'accueil (hébergement partagé). 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. Ils devraient garder toutes les mises à jour à jour, etc Mais je n'ai pas eu de problèmes à ce jour dans les 3 ou 4 années, j'ai été avec eux.
Just now I noticed they offered PHP/MySQL support and thus installed Wordpress. Tout à l'heure, j'ai remarqué qu'elles offrent PHP / MySQL et de soutien ainsi installé Wordpress. I was using Radio Userland, via FTP, before. J'ai utilisé la Radio Userland, via FTP, avant.
April 22nd, 2005 at 5:34 pm Avril 22, 2005 at 5:34 pm
My server runs Win2000/IIS5 and no problem with “index.php” permalinks. Mon serveur tourne Win2000/IIS5 et aucun problème avec "index.php" permalinks. Perhaps this is specifically a Windows 2003 or IIS6 problem? Peut-être cela est expressément un Windows 2003 ou IIS6 problème?
I run Apache2 on the same server and that’s where all the WP1.5 installs are. Apache2-je faire fonctionner sur le même serveur et c'est là que toutes les installations sont WP1.5. Permalink structure is defaulted to /%year%/%month%/%postname%/ for clarity. Permalink structure est par défaut /% year% /% mois% /% postname% / pour plus de clarté.
April 24th, 2005 at 1:25 am Avril 24th, 2005 chez 1:25 am
@rust, @ rouille,
Do you have your Wordpress installation running on IIS5 or on the Apache server you have on the same machine? Avez-vous votre Wordpress installation fonctionnant sur IIS5 ou sur le serveur Apache que vous avez sur la même machine?
April 25th, 2005 at 10:33 am Avril 25 janvier 2005 à 10:33 am
Just chiming in, but Carlos, any chance you have your index.php in a nonstandard location? Il suffit de sonneries, mais Carlos, une chance que vous avez votre index.php dans un emplacement non standard? Maybe the link that’s supposed to be pointing at your index file really isn’t? Peut-être que le lien qui est censé être pointée vers votre fichier d'index n'est vraiment pas?
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. Si cela ne semble pas être la question et que vous n'utilisez pas un thème par défaut, vous pourriez essayer de repasser au classique ou 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. * Il est possible * que, quel que soit le thème que vous utilisez n'a pas de lien vers le code qui analyse le Web chaîne en dehors de la norme EEG choses. Admittedly, I’ve not actually gone spelunking to find the code that’s supposed to be doing that parsing. Certes, je n'ai pas réellement passé spéléologie pour trouver le code qui est censé faire que l'analyse.
April 25th, 2005 at 3:49 pm Avril 25, 2005 at 3:49 pm
Thanks Squeg. Merci Squeg.
I’m running the default theme… let me check if location has anything to do with this. Je cours le thème par défaut… permettez-moi de vérifier si l'emplacement a quelque chose à voir avec cela. I have everything installed in a folder (www.carlanga.com/blog) but otherwise, it’s just as it came in the original file. J'ai tout installé dans un dossier (www.carlanga.com / blog), mais autrement, il est juste comme il est venu dans le fichier d'origine. I unzipped and FTP’d. Je FTP'd et décompressés.
Thanks. Merci.
April 26th, 2005 at 10:17 am Avril 26th, 2005 chez 10:17 am
Well that sounds like a pretty standard configuration. Bien que les sons comme une jolie configuration standard. Double-check the options screen in your dashboard to make sure that both location boxes point at the correct location. Vérifiez les options de votre tableau de bord afin de s'assurer que les deux boîtes emplacement point à la bonne place. You might (and i’m totally just shotgunning here) try setting the blog address to Vous pouvez (et je suis totalement juste shotgunning ici), essayez de le blog à l'adresse http://www.carlanga.com/blog/index.php instead of just /blog. au lieu de juste / blog.
Aside from that, I’d say it’s going to come down to server configuration. Mis à part cela, je dirais que ça va descendre vers le serveur de configuration. It’s possible the web server itself is choking on the oddly-formed URL. Il est possible que le serveur web lui-même est sur la suffocation bizarrement formé Web. And at that point, I don’t really have a lot of good ideas. Et à ce moment-là, je ne suis pas vraiment beaucoup de bonnes idées. Honestly, what’s really wrong with “ugly” url’s anyway? Honnêtement, ce qui est vraiment de mal à "laid" url de toute façon?
April 26th, 2005 at 8:45 pm Avril 26th, 2005 at 8:45 pm
@Squeg @ Squeg
> what’s really wrong with “ugly” url’s anyway? > Ce qui est vraiment de mal à "laid" url de toute façon?
?p=3756 type of url’s don’t get much google-love (not to mention they are ugly) ? p = 3756 type d'URL n'ai pas beaucoup de-google amour (pas de mentionner qu'ils sont laids)
April 28th, 2005 at 2:42 pm Avril 28th, 2005 at 2:42 pm
So, has anyone gotten this to work under IIS? Ainsi, toute personne a obtenu que cela fonctionne sous IIS?
April 29th, 2005 at 5:12 am Avril 29th, 2005 at 5:12 am
Not me, not yet. Pas moi, pas encore.
April 30th, 2005 at 7:01 am Avril 30th, 2005 at 7:01 am
Okay, last resort, you could try and get rewrites to actually work in IIS using something like this: Bon, dernier recours, vous pourriez essayer d'obtenir réécrit de travailler sur IIS en utilisant quelque chose comme ceci:
http://www.isapirewrite.com/
The lite version is free and might be enough for what you’re trying to do. La version lite est gratuit et peut être suffisant pour ce que vous êtes en train d'essayer de faire.
April 30th, 2005 at 7:15 am 30 avril 2005 chez 7:15 am
Here’s another possible option (free) Voici une autre option possible (gratuit)
http://www.motobit.com/help/url-replacer-rewriter/iis-mod-rewrite.asp
May 1st, 2005 at 2:43 pm Mai 1st, 2005 at 2:43 pm
Thanks Squeg. Merci Squeg.
Carlos, did you have any luck with these solutions? Carlos, avez-vous eu un peu de chance avec ces solutions?
May 4th, 2005 at 2:55 am 4 mai 2005 à 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. D'après ce que je vois, je ne pense pas que je pourrais obtenir un ou l'autre de ceux au travail, comme je suis hébergé sur un serveur. I’ll look closer at Isapirewrite and comment if anything good comes up. Je vais regarder de plus près et à Isapirewrite commentaire si quelque chose est bon.
Thanks! Merci!
May 4th, 2005 at 5:16 am 4e mai, 2005 à 5:16 am
How about changing your hosting provider Que pensez-vous de changer votre fournisseur d'hébergement
I found Linux hosting providers are normally cheaper and comes with addl. J'ai trouvé les fournisseurs d'hébergement Linux sont normalement moins cher et est livré avec addl. capabilities like ssh, vps (some) etc. de capacités telles que ssh, VPS (certains), etc
May 4th, 2005 at 3:04 pm 4 mai 2005 à 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. J'ai pensé que… mais mon fournisseur d'hébergement m'a offert un beau plan de PHP qui est concurrentiel par rapport à tout autre là-bas et j'ai décidé de les tracas de commutation ne valait pas la peine. I’d have to move all my data plus my email domain. Je dois aller de l'ensemble de mes données plus mon domaine de messagerie.
They are about to start offering Linux hosting, so maybe all is not lost. Ils sont sur le point de commencer à offrir hébergement Linux, de façon peut-être tout n'est pas perdu.
May 9th, 2005 at 5:52 pm 9 mai 2005 à 5:52 pm
I have tried to search the site for the reason for using index.php as part of the permalink structure. J'ai essayé de rechercher le site pour la raison d'utiliser index.php dans le cadre de la structure de permalink. And of course it is hard to search for that since it is included on every page Et bien sûr il est difficile pour rechercher que, depuis qu'il est inclus sur chaque page
May 9th, 2005 at 11:27 pm 9 mai 2005 à 11:27 pm
@Gary Gary @
Finally a downside of using “index.php” as part of permalink Enfin une baisse de l'utilisation de "index.php" dans le cadre du lien permanent
Looks like however you succeeded. On dirait cependant que vous avez réussi.
May 10th, 2005 at 1:17 pm 10 mai 2005 à 1:17 pm
Well, you won me over to the NoDateURI side. Eh bien, vous avez gagné plus de moi à la NoDateURI. Being a noob with php, apache, etc, I was reluctant to do anything that might ‘break’ my site. Être un noob avec PHP, Apache, etc, j'ai été réticents à faire quoi que ce soit qui pourrait la "pause" de mon site. But I backed up everything (including a spare copy of .htaccess) and said - go for it. Mais je soutenu tout ce qui se trouve (y compris une copie de secours de. Htaccess) et dit - allez-y.
It worked!! Cela a fonctionné!
Then I realized all the links out in the wild world to my site were now probably broken. J'ai alors réalisé que tous les liens dans le monde sauvage de mon site sont maintenant probablement brisé. And even though I like my 404 message - I prefer people not get it. Et même si j'aime mon message 404 - je préfère les gens à ne pas le faire.
So, since I was being brave, I opened that back up copy of .htaccess and compared it with the new one. Ainsi, dans la mesure où j'étais courageux, que j'ai ouvert sauvegarde de copie. Htaccess et l'a comparé avec la nouvelle. I think I figured out how all the regular expressions were doing what they were supposed to do enought to try something bold. Je pense que j'ai compris comment toutes les expressions régulières faisaient ce qu'ils étaient censés faire enought d'essayer quelque chose de gras. I copied the lines that started with ^([0-9]{4}) and replaced the pattern at the end: J'ai copié le modèle qui a commencé avec ^ ([0-9] (4)) et le modèle remplacé à la fin:
`index.php?year=$1&monthnum=$2&day=$3&name=$4` »index.php? year = $ 1 & monthnum = $ 2 & day = $ 3 & name = $ 4»
with just: avec rien de plus simple:
index.php?name=$4` index.php? name = $ 4 »
In other words I removed: En d'autres mots que j'ai supprimé:
`year=$1&monthnum=$2&day=$3&` »year = $ 1 & monthnum = $ 2 & day = $ 3 &»
A quick test shows it worked - now the old links on my pingbacks, tracklogs, etc still should work. Un test rapide montre qu'il a travaillé - maintenant l'ancien liens sur mon pingbacks, tracklogs, etc encore devrait fonctionner. I emphasize ’should’ since I really have no clue about this stuff since I am an insurance agent and not a professional propeller head. J'insiste sur le fait "devraient" car je n'ai pas vraiment idée de ce genre depuis que je suis un agent d'assurance et non un professionnel hélice tête.
May 10th, 2005 at 1:56 pm 10 mai 2005 à 1:56 pm
WordPress Permalink Options WordPress permanent options
As I read 2 posts on the Simple Thoughts blog about permalinks in WordPress I realized I wanted my permalinks to be ‘cleaner’. Comme je l'ai lu 2 postes sur le blog simple Réflexions sur les permalinks dans WordPress je compris que je voulais que mes permalinks à être «plus propres».
In the first article, [Why I discourage embedding date in URL’s (including WordPress Permalinks and also other CMS)](htt… Dans le premier article, [Pourquoi je décourager l'intégration date dans les URL (y compris Permalinks WordPress et aussi d'autres CMS)] (htt…
May 25th, 2005 at 10:16 am 25 mai 2005 chez 10:16 am
[...] permalinks. [...] Permalinks. At the very least, include the post name. À tout le moins, inclure le nom de poste. Another recommendation can be found here. Une autre recommandation peut être trouvée ici. 05.25.2005 @ 10:15 AM by paul @ rwt [...] 05.25.2005 @ 10:15 AM par paul @ rwt [...]
June 1st, 2005 at 10:56 am Juin 1st, 2005 at 10:56 am
Carlos:
I have just set up WP on Win2k3/IIS6, and was pleasantly surprised to find no problems with permalinks. Je viens de mettre en place sur WP Win2k3/IIS6, et a été agréablement surpris de constater aucun problème avec les permalinks. I have not installed any of the rewrite ISAPI filters. Je n'ai pas installé l'une des filtres ISAPI réécrire. 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! Ce site est pour usage interne uniquement et ne sont donc pas accessibles au public - vous aurez confiance en moi que sont les permalinks de travail!
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!) Mon deviner, c'est que vous n'avez pas accès au fichier php.ini (je ne donnerai pas accès à tous les utilisateurs si j'étais l'hôte!)
If I’m right, ask your host to turn on the cgi.fix_pathinfo option for PHP. Si j'ai raison, demandez à votre hôte pour activer l'option cgi.fix_pathinfo pour 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. Même s'ils font le changement dans le fichier php.ini, il exige un redémarrage de l'IIS pour prendre effet, afin de mai ne pas être en mesure de le faire immédiatement.
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 vous commencez un hébergement sur votre propre serveur, et la nécessité d'utiliser IIS au lieu d'Apache, pour une raison quelconque, essayez la suggestion de WordPress sur le Codex: http://codex.wordpress.org/User:ringmaster/IIS
Hope that helps. Hope that helps.
June 8th, 2005 at 10:13 pm Juin 8th, 2005 at 10:13 pm
Well, this discussion make me, a newbie in WP, confused. Eh bien, ce débat me faire, un débutant dans le WP, confus. What should I choose? Que devrais-je choisir?
June 8th, 2005 at 11:43 pm Juin 8th, 2005 at 11:43 pm
Choose the simple structure I suggested in the article. Choisissez la structure simple, j'ai suggéré dans l'article. 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. Il vous faudra environ une minute pour la configuration, moteur de recherche très convivial et ne nécessite pas de capacité spéciale de votre serveur, comme par exemple mod_rewrite ou htaccess.
I summarized in the last line of the article: J'ai résumé dans la dernière ligne de l'article:
Simply said this approach is without any drawbacks AFAIK. Autrement dit cette approche est sans aucun des inconvénients AFAIK.
June 19th, 2005 at 9:40 pm Juin 19, 2005 at 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: Pour l'avenir, j'ai pu obtenir l'URL Rewriting permanent de travail dans WordPress par la création d'un fichier php.ini à la racine de mon domaine avec la configuration suivante:
cgi.fix_pathinfo = 1 cgi.fix_pathinfo = 1
cgi.force_redirect = 0 cgi.force_redirect = 0
June 20th, 2005 at 4:32 pm Juin 20th, 2005 at 4:32 pm
I have posted this query at WP Forum but received no response. J'ai placé cette requête à WP Forum mais n'a reçu aucune réponse.
Server: Linux/Apache Serveur: Linux / Apache
WP: 1.5.1 WP: 1.5.1
Themes: both my own and wordpress default. Thèmes: les deux mon propre et wordpress par défaut.
Plugins:
Include page 1.0 Inclure la page 1,0
Last Post Since 1.0 Dernier message depuis 1,0
Static Front Page 1.0.2 Front Page statique 1.0.2
I have edited my Permalink structure as: J'ai publié mon Permalink structure:
/%year%/%monthnum%/%day%/%postname%/ /% year% /% monthnum% /% day% /% postname% /
/category/%postname%/ / catégorie /% postname% /
The links seems to be working fine but I get the following error at every post or category: Les liens semble fonctionner correctement mais j'obtiens le message d'erreur suivant à chaque poste ou de la catégorie:
WordPress database error: [You have an error in your SQL syntax. WordPress erreur de base de données: [Vous avez une erreur dans votre syntaxe SQL. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] Vérifiez le manuel qui correspond à votre version du serveur MySQL pour le droit d'utiliser la syntaxe près de''à la ligne 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: Ensuite, afin de le rendre simple, j'ai utilisé:
/index.php/%year%/%postname%/ / index.php /% year% /% postname% /
/index.php/archives/%post_id% / index.php / archives /% post_id%
without .htaccess sans. htaccess
Same result. Même résultat.
Any idea? Toute idée?
June 20th, 2005 at 5:39 pm Juin 20th, 2005 at 5:39 pm
Look like a plugin related problem or related to the theme. Rechercher comme un problème de plugin ou en rapport avec le thème. Start by disabling all the plugins and see of the problem is solved. Commencez par désactiver tous les plugins et de voir le problème est résolu. Then activate them one at a time to isolate the exact plugin causing it. Puis les activer un à la fois d'isoler la cause exacte plugin.
To test the theme try using the default theme and see if that solves the problem. Pour tester le thème essayez d'utiliser le thème par défaut et voir si cela résout le problème.
This is not related to the permalink structure as far as I can tell from this description. Ce n'est pas lié à la structure permanent pour autant que je puisse dire de cette description.
June 20th, 2005 at 10:51 pm Juin 20th, 2005 at 10:51 PM
Angsuman thanks for your response. Angsuman merci pour votre réponse. The error shows up despite the theme or the plugin used. Le message d'erreur apparaît, malgré le thème ou le plugin utilisé. I have tested and got the same error using the WP default theme and without plugins. Je l'ai testé et a obtenu la même erreur en utilisant le groupe de travail thème par défaut et sans plug-ins. Weird isn’t? Weird ne l'est pas?
My server provider says the system is okay but I have no arguments to discuss the database error. Mon fournisseur de serveur explique que le système est correct, mais je n'ai pas d'arguments pour discuter de l'erreur de base de données. So, it would be great if someone explains what the error message means. Donc, ce serait bien si quelqu'un explique ce qu'est le message d'erreur signifie.
June 21st, 2005 at 12:19 am Juin 21, 2005 at 12:19 AM
@Stopthepress Check the version of MySQL installed on your site. @ Stopthepress Vérifiez la version de MySQL installée sur votre site. You should be able to find it in the control panel or your hosting provider will be able to tell you. Vous devriez être en mesure de trouver dans le panneau de contrôle ou de votre fournisseur d'hébergement sera en mesure de vous le dire.
AFAIK WordPress doesn’t support MySQL 5.x versions. AFAIK WordPress ne supporte pas les versions 5.x de MySQL. It works with 4.x versions. Il fonctionne avec les versions 4.x.
June 21st, 2005 at 12:15 pm Juin 21 septembre 2005 à 12:15 pm
Angsuman,
MySQL version is 4.0.22-standard MySQL version 4.0.22-standard
June 21st, 2005 at 12:46 pm Juin 21 septembre 2005 chez 12:46 PM
This is not linked to permalinks at all. Ce n'est pas lié à à tous les permalinks. Comment out references to the_category() function everywhere in your theme. Commentez les références à the_category () partout dans votre thème.
Then your site will work. Ensuite, votre site de travail.
However it shouldn’t have been a problem in the first place. Toutefois, il n'aurait pas dû être un problème en premier lieu. Search/Ask in WP forum if your version of MySQL is supported. Recherche / Demande en WP forum si votre version de MySQL est supporté.
Re-instllating often helps with such spurious errors. Re-instllating permet souvent à ces fausses erreurs. That is an option too. C'est une option.
June 21st, 2005 at 10:44 pm Juin 21, 2005 at 10:44 pm
Done!!! Fait!
Deleting the ‘the_category()’ function at the theme’s index.php solved the problem. La suppression du "the_category () 'à la fonction du thème index.php résolu le problème. Fortunately the ‘the_category()’ function is not so important. Heureusement, le «the_category () 'fonction n'est pas si important.
The question is why the_category() function caused that weird behaviour in my theme and in the WP Default theme as well? La question est de savoir pourquoi the_category () causé le comportement bizarre que dans mon thème et dans le WP thème par défaut ainsi? Hmmm if I get some spare time I will re-install to see what happen. Hmmm si je reçois un peu de temps je vais re-installer pour voir ce qui se passe.
Thanks a lot Angsuman for your valuable comments. Merci beaucoup pour votre Angsuman précieux commentaires. Will post a link to this thread at the WP Forum in order to help other users suffering “Permalinkcitis”. Affichera un lien vers ce fil au WP Forum afin d'aider d'autres utilisateurs souffrances "Permalinkcitis».
July 1st, 2005 at 10:33 am Juillet 1st, 2005 à 10:33 am
Genius here: Genius ici:
I already gave up de permalink-stuff, but today i upgraded wp to 1.5.1.3 . J'ai déjà renoncé à-permanent de choses, mais aujourd'hui, J'ai mis à jour wp à 1.5.1.3.
I thought lets give it a try. Je pensais que permet de faire un essai.
I followed Cems advice and voila it is working! CEMS j'ai suivi les conseils et le tour est joué, il travaille!
without the .htacces, because i don’t have that file in my (shared) webspace. sans l'. htacces, parce que je n'ai pas ce fichier dans mon (partagée) web.
Big thanks to Cem. Grand merci à Cem.
July 8th, 2005 at 11:46 pm Juillet 8th, 2005 at 11:46 pm
Just wanted to add my 2 cents, the trick Cem said seemed to work for me. Voulais juste ajouter mes 2 cents, l'astuce Cem dit a semblé fonctionner pour moi. Specifically: Plus précisément:
Running Win2k3 on IIS6 and now it works perfectly fine. Running Win2k3 sur IIS6 et maintenant il fonctionne parfaitement bien. Thanx a bunch. Thanx un peloton.
July 11th, 2005 at 3:08 pm Juillet 11, 2005 at 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. Je ne pense pas que cela fonctionnerait, mais comme SCE (commentaire # 44) et d'autres ont dit, ce que le truc pour moi sur Win2003 et IIS.
August 2nd, 2005 at 12:22 pm Août 2nd, 2005 chez 12:22 pm
Thank you so much! Thank you so much! I’ve been looking around forever for a solution to the IIS/Wordpress/Permalinks problem, and the php.ini thing worked! J'ai été toujours autour de la recherche d'une solution au IIS / Wordpress / Permalinks problème, le fichier php.ini et la chose a fonctionné! I’m so happy, thank you all so much. Je suis si heureuse, je vous remercie tous beaucoup.
August 9th, 2005 at 5:41 pm 9 août 2005 à 5:41 pm
thanks, the tip about php.ini on iis saved me from tearing any more hair out. merci, la pointe sur le fichier php.ini sous IIS m'a sauvé de déchirer plus de cheveux.
October 8th, 2005 at 11:33 pm Octobre 8th, 2005 at 11:33 pm
[...] Wordpress is sooooooo cool. [...] Wordpress sooooooo est 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! Tout a changé l'URL qui doit être "moteur de recherche convivial.« Je faisais des recherches à faire manuellement, mais ont couru à travers un lien à partir de Wordpress un soutien pages, où il est question de changer les options dans les locaux de l'installer Wordpress permalinks section, ajouter du code à l'. htaccess, et c'était tout! How easy. Comment facile. I’ll probably donate some money to them soon. Je vais probablement donner un peu d'argent à bientôt. They’ve built a fantastic tool. Ils ont permis de constituer un outil fantastique. [...]
October 20th, 2005 at 7:46 pm Octobre 20th, 2005 at 7:46 pm
OMG HOLY 5H17 OMG SAINT-5H17
CEM, you rule CEM, vous règle
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 Merci, j'ai passé quelques jours une recherche de ce travail autour de (tombé sur ce poste plus d'une fois, tout était trop paresseux pour lire les commentaires avant
)
u guys rock u guys rock
October 20th, 2005 at 8:05 pm Octobre 20th, 2005 at 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? Quelqu'un at-il remarqué leur console d'administration cesser de faire la page redirige après l'exécution des mesures prises depuis ont installé le fichier php.ini de fixer permanent?
I imagne it’s just something I’m missing from my php.ini… but I don’t know what to put in there Je imagne c'est juste que je suis absent de mon fichier php.ini… mais je ne sais pas quoi mettre là-dedans
this happened to anyone else? C'est arrivé à quelqu'un d'autre?
October 26th, 2005 at 7:18 am Octobre 26th, 2005 at 7:18 am
Hi Salut
maybe it’sa good tip to know that when you use other seperation characters like: . peut-être c'est une bonne idée de savoir que lorsque vous utilisez d'autres caractères comme la séparation:. , | + instead of the / or - you can get serious errors , | + Au lieu de / ou - vous pouvez obtenir des erreurs graves
so: /%year%.%monthnum%.%day%.%postname%.%post_id% oui: /% year%.% monthnum%.% jour%.% postname%.% post_id%
does not work, but ne fonctionne pas, mais
/%year%-%monthnum%-%day%-%postname%-%post_id% / an%% -% monthnum% -% jour% -% postname% -% post_id%
does… ne…
October 31st, 2005 at 9:29 pm 31 octobre 2005 à 9:29 pm
It worked! Cela a fonctionné! Thanks, really! Merci, vraiment!
November 9th, 2005 at 3:30 am Novembre 9th, 2005 à 3h30
Using the structure you suggested solved all my problems of no comments showing and categories not working. Utilisation de la structure vous propose résolu tous mes problèmes d'absence de commentaires indiquant les catégories et pas de travail. 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! Je ne sais pas vraiment php et je suis nouvelle dans ce genre de blog, mais je suis tellement soulagée et tellement reconnaissants je pouvais danser!
Thanks from Italy Merci de l'Italie
November 24th, 2005 at 1:50 am Novembre 24th, 2005 at 1:50 am
I suggest using the default structure: /index.php/%year%/%monthnum%/%day%/%postname%/ because this is computable with the other archive URL. Je vous suggérons d'utiliser la structure par défaut: / index.php /% year% /% monthnum% /% day% /% postname% / parce que c'est informatisé avec les autres URL des archives. For example /index.php/%year%/%monthnum%/ shows all posts in that month and /index.php/%year%/ shows all posts in that year. Par exemple, / index.php /% year% /% monthnum% / affiche tous les postes au cours de ce mois et / index.php /% an% / affiche tous les postes de cette année-là. /index.php/%year%/%monthnum%/%day%/%postname%/ seams like the logical extension to me. / index.php /% year% /% monthnum% /% day% /% postname% / coutures comme le prolongement logique pour moi.
November 27th, 2005 at 10:16 pm Novembre 27th, 2005 at 10:16 PM
Any suggestions for fixing this when the Windows web host provider won’t modify php.ini with the fix above? Avez-vous des suggestions pour la fixation lorsque Windows fournisseur d'hébergement Web ne modifiera pas le fichier php.ini avec la correction ci-dessus? 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 peut pas / ne fera pas le changement, et il n'a pas l'air comme ils l'installer des filtres ISAPI visées ci-dessus, que ce soit.
November 27th, 2005 at 11:41 pm Novembre 27th, 2005 at 11:41 pm
How about uploading the file php.ini to your home directory yourself instead of relying on your web host? Comment télécharger sur le fichier php.ini, à votre répertoire vous au lieu de compter sur votre hébergeur?
December 3rd, 2005 at 12:47 am 3ème décembre 2005 à 12h47 am
[...] You can also try to follow blog.taragana.com by putting a php.ini file in your root folder. [...] Vous pouvez également essayer de suivre blog.taragana.com en mettant un fichier php.ini dans votre dossier racine. Have a look at their update 3 it may be of some help. Jetez un coup d'œil à leur bulletin n ° 3 mai il être de quelque utilité. [...]
December 8th, 2005 at 10:38 pm Décembre 8th, 2005 at 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. Je tente d'obtenir / archive /% postname% / à travailler sans avoir à écrire à: WP. Htaccess, mais s'est heurtée à quelques problèmes. 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. Wp permettant d'écrire le code de WP. Htaccess RewriteEngine l'emporte sur ma canonique réorienter dans mon domaine racine. Htaccess, qui analyse automatiquement tous les non-www versions de mon domaine à la version www afin d'éviter un éventuel double emploi avec le contenu des sanctions. This problem only effects my /blog/ folder. Ce problème ne effets my / blog / dossier.
Adding php.ini to my domain root with: Ajout de php.ini, à mon domaine racine avec:
cgi.fix_pathinfo = 1 cgi.fix_pathinfo = 1
cgi.force_redirect = 0 cgi.force_redirect = 0
Doesn’t work. Ne fonctionne pas. Changing /index.php/archive/%postname%/ to /archive/%postname%/ results in “Not found on server” errors for all my other blog pages. Modifier / index.php / archive /% postname% / vers / archive /% postname% / résultats en "Pas trouvé sur le serveur" pour toutes les erreurs de mon autre blog en ligne.
I tried adding a similar RewriteEngine code to WP’s .htaccess, but that didn’t work. J'ai essayé d'ajouter un code similaire à RewriteEngine WP. Htaccess, mais qui ne fonctionne pas.
December 31st, 2005 at 10:01 pm 31 décembre 2005 à 10:01 pm
I think you would be better of including index.php in your path like this blog. Je pense que vous serait préférable d'inclure index.php dans votre chemin comme ce blog.
January 5th, 2006 at 8:34 am 5 janvier 2006 à 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). J'ai un site wordpress fonctionnant sur Win2K/IIS5 (c'est une démo interne @ work, donc pas un grand choix de système d'exploitation et serveur).
Yesterday i set up permalinking with the following structure (and the php.ini file) and it worked fine: Hier, j'ai mis en place permalinking avec la structure suivante (et le fichier php.ini) et tout fonctionnait bien:
Structure: /index.php/%year%/%monthnum%/%day%/%postname%/
Category 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. Merci.
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, Merci,
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 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
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
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!
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. Merci. 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!