Rewrite Rule for Multilingual Website, Like qTranslate?

I would like to write my own little plugin for language switching. For that, the very first thing would be to get the rewrite rules running. I have been looking around the web for 2 hours, but I couldn’t find an answer to my question yet. I would like to have it like this: http://www.mysite.com/de/post-title/ … Read more

web.config conflict on IIS

folder structure docroot |- wordpress |- web.config |- wp-content |- japi |- index.php \- web.config … … As you can see there are 2 web.config s. One in the wordpress folder and one in wordpress/wp-content/japi folder. japi/web.config <rules> <rule name=”Imported Rule 1″ stopProcessing=”true”> <match url=”^(.*)$” ignoreCase=”false” /> <conditions> <add input=”{REQUEST_FILENAME}” matchType=”IsFile” ignoreCase=”false” negate=”true” /> <add … Read more

Where, When, & How to Properly Flush Rewrite Rules Within the Scope of a Plugin?

I am having a bit of a strange issue with rewrite rules not flushing properly. I have tried using flush_rewrite_rules(); and flush_rewrite_rules(true);. I have also tried globalizing $wp_rewrite using $wp_rewrite->flush_rules(); and $wp_rewrite->flush_rules(true); Neither of which appear to be flushing the rewrite rules correctly. Those calls are indeed flushing the rewrite rules when called. How do … Read more

Change the “page” slug in pagination

Simple question. When pagination is activated, the URL changes to “site.com/page/2”. For my site, this should be “site.com/paggetto/2”. How can I change that rewrite rule? I also want to change “author” and other variables. 4 For some sites in German I use the following plugin to translate page to seite (the German word for page): … Read more

remove “index.php” from permalinks

I have been trying to find a solution. but I can’t.. my links are all domain.com/index.php/post_name/ I really want to remove /index.php I have searched and found some… saying I need to add these.. but it’s not working .. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f … Read more