Wordpress problem med pingbacks löst / trackbacks – Wordpress issues with pingbacks / trackbacks solved
december 21st, 2008This message will follow in english.
Jag har ända sedan jag installerade wordpress haft problem med ta emot pingbacks (trackbacks). Jag har letat här och där och vissa har hänvisat till anti-spam-plugin som jag inte använder mig av och andra har mest bara famlat i mörkret, men nu äntligen har jag hittat vari problemet har legat för mig!
Pingbacks kräver nämligen att du har allow_url_fopen satt till on i php-konfigurationen. Tyvärr så är det så att det här är förknippat med viss säkerhetsrisk i php4, så därför är det hos de flesta webbhotell satt till off under php4. Använder man sig av php5 kan man välja att sätta allow_url_fopen till on och allow_url_include till off för att uppnå säkerhet samtidigt som användbarheten finns kvar. Jag löste alltså helt enkelt mina problem med att byta version av php till version 5.3.x för min wordpress-katalog. Enkelt, smidigt, smärtfritt.
Jag hittade informationen här.
Eftersom jag sökt den här informationen med ljus och lykta så väljer att skriva informationen på engelska också. Ni som inte vill läsa bruten engelska kan helt enkelt sluta här.
English:
Ever since I’ve installet wordpress I’ve experienced problems with receiving pingbacks (trackbacks). I’ve been looking everywhere to find a solution for this but all I’ve found has been references to anti-spam plugins that I don’t even have installed or the answer has been vague and not helpful at all. Today however, I’ve finally found the cause for these problems!
For pingbacks to work your php server needs to enable allow_url_fopen. Unfortunately this is a bit of a security risk if you are running php4 and this many hosts have opted to disable this feature in the php config. However, if you use php5 you can enable allow_url_fopen and disable allow_url_include and still keep said security on your server. So, I solved my issue by specifying my wordpress directory to use php5.3.x. Easy as pie.
I found the information on this link
[...] the original post here: Wordpress problem med pingbacks löst / trackbacks – Wordpress issues with pingbacks / trackbacks so… Related ArticlesBookmarksTags PHP Development Tools – Keeping it Simple and Mostly Fre If [...]