• asianmack

    (@asianmack)


    Right now I’m making use of the query string default setup (?cat=x, ?p=x, ?s=x, etc.) because I’m using lots of “if, else” statements using these variables to display certain things depending on the query string. I’ve seen some documentation on various WP sites that encourage people to use the Permalink structure (for search engines, easy linking, etc.) However, all my page display logic will be blown away if I go Permalink.

    What are the reasons why I should go with a Permalink structure instead of the query string? Any advice would be appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Query strings will function correctly when using permalinks. Basically, index.php?p=3 is still called, but it’s displayed as /archives/2005/03/04/this-is-the-third-post/. The permalinks don’t permanently replace your query string URLs, they just mask them thanks to the wonders of .htaccess and mod_rewrite. Give it a try, you’ll like it.

    Moderator James Huff

    (@macmanx)

    Thread Starter asianmack

    (@asianmack)

    Ah ha. Thank you macmanx. This helps a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permalinks vs. Query Strings’ is closed to new replies.