Help with Modrewrite "Going from WP to Non-WP"

Discussion in 'Apache' started by premierwebstrategies, Sep 3, 2010.

  1. #1
    I've been using Wordpress on one of my sites strictly as a CMS via the page system. However, to make the site run faster I'm going to be making static web pages in a few days. However, I don't know how to set my .htaccess file so it still views the web pages properly via the permalink setup in Wordpress. Right now I'm using the /%category%/%postname%/ setup and I don't have any categories. How do I set my htaccess file so if someone goes to the first below URL they view the content of the second one

    Accessible URL: http://www.site.com/web-page/

    Actual File: http://www.site.com/web-page.php

    Basically I just want extension-less URLs "with" the trailing slash, please provide an example code and I can take it from there.
     
    premierwebstrategies, Sep 3, 2010 IP