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.
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.
You must be logged in to post a comment.
For some sites in German I use the following plugin to translate
page
toseite
(the German word forpage
):Note that you flush the rewrite rules on de/activation only. You will need a separate rewrite rule in your
.htaccess
to redirect old URLs to the new ones:Figured out:
At least, that will do the job.
This function will work directly with your translation package, formatting your new base and prevent to run more than once the flush_rewrite_rules function avoiding bad performance of your blog.
The following worked for me: