Wordpress static home page dynamic posts page url rewrite

Posted by mahatmanich on Stack Overflow See other posts from Stack Overflow or by mahatmanich
Published on 2010-05-02T18:41:09Z Indexed on 2010/05/02 18:48 UTC
Read the original article Hit count: 434

Filed under:
|

Hi I have a wp installation with a static main page and posts page with the name articles.

My url rewirte string within wordpress is set to:

/%postname%

, and my htaccess file is set as follows:

RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

When I browse to the articles page, my url rewrite looks like this:

example.com/articles/page/5

I would like to get a setting as follows:

example.com/articles/article/the-article-name

how would I achive this?

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about url-rewriting