Support » Fixing WordPress » Pretty permalinks when accessing second database.

  • This is more of a can I do it question.

    Is it possible to have pretty permalinks when accessing a second MySQL databases?

    Scenario: I will have a “search form” which will be sending a key using GET to page template that will be populated by information a second database based on the key. I want to be able to use WP_Rewrite to turn the full query string (including the key sent to the second database) into a pretty permalink that can be directly accessed.

    In other words the end result should be permalinks that look like:

    Cities is the name of the page and Syracuse defines the information from the database that is being accessed.

    At my disposal so far I have the WP_Rewrite and code to access the second database (, should I be aware of anything else?

  • The topic ‘Pretty permalinks when accessing second database.’ is closed to new replies.