Hi, I have a problem with changing the permalinks on my wordpress website.
current pagination is...
http://www.site.com/category/page/2/
My goal is to change the permalink "/page/2/" part into..
"/page-2/" or "-page-2/" or "/sivu-2/" (page in my language)
I have search for a while now and can not find any good information.
What I have found was a plugin, that enables you to change the language of page or customize it.
and also I found in the core of wordpress...
at /includes/rewrite.php LINE 1411:
//allow URLs like <permalink>/2 for <permalink>/page/2
$match = $match . '(/[0-9]+)?/?$';
$query = $index . '?' . $query . '&page=' . $this->preg_index($num_toks + 1);
I tried changing the &page= to my own permalink but with no success.
also my .htaccess file contains this.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# END WordPress
and if it has any importance i am using this permalink structure:
/%category%/%postname%/
Also i want to use this change sitewide.
Any help would be much appreciated!