Creating fancy urls with rewrite
-
I have a site structure like this
Artists
Artist Page
News
WorksI would like to have urls like this:
/artist/some-artist/news
/artist/some-artist/worksI tried adding a rewrite rule, but if include pagename=news, I always wind up getting redirected.
This only seems to happen for pages which are not top level.
index.php?pagename=about will show the about page without redirecting
index.php?pagename=news will redirect to the permalink for the page.Is something like this possible?
The topic ‘Creating fancy urls with rewrite’ is closed to new replies.