WordPress.org

Ready to get started?Download WordPress

Forums

How To Override WordPress Pages with Custom URL (1 post)

  1. Web2Guru
    Member
    Posted 2 years ago #

    I have a situation I think is somewhat unique, and I am not as familiar with mod_rewrite and htaccess rules, so I'm not sure how to do what I want.

    I have a plugin that is embedded in one top-level page via shortcode, which accepts GET queries and adds rewrite rules so these queries can look like /top-page/query-term/ instead of /top-page/?query=query-term. I also have sub-pages created under that top-level page for each query-term as placeholders to store information, but not for displaying on the site. So these sub-pages also have the same permalink structure of /top-page/query-term/.

    No matter what I try, the sub-pages are shown instead of the top-level page. Anyone know what I need to do to get this working?

Topic Closed

This topic has been closed to new replies.

About this Topic