• I am working on a site (http://706design.net/sandbox) in which I pass a php variable to the same page when I click on one of the links. This makes it so that I can view different content without having to build a new page for the content (the content/images come from slideshowpro, a image content manager)

    The problem is that I want to use mod_rewrite to change the dynamic url that I create by passing variables.

    I have mod_rewrite enabled and as proof wordpress permalinks work just fine. Here is my .htaccess code that I got from a mod_rewrite tool (I placed it at the top of my .htaccess file… should it go somewhere else?)

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule sandbox/(.*)-(.*)\.htm$ /sandbox?aname=$1&id=$2

    I figured that should change 706design.net/sandbox?aname=706design&id=15 to 706design.net/sandbox/706design-15.htm

    It does nothing however. Any help?

  • The topic ‘custom Mod_Rewrite not working’ is closed to new replies.