URL Re-Writing Problem

Discussion in 'Site & Server Administration' started by projectWORD, Jun 29, 2008.

  1. #1
    Hi,
    I cannot seem to get URL Re-Writing to work.

    I have placed a .htaccess file in the root of my directory. The code that is in this file is:-

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule browse_category/category/(.*)/ browse_category.php?category=$1

    The url I am trying to change is at http://www.projectword.co.uk/browse_category.php
    Clicking on the categories passed a category value and instead of this being displayed as it is I would like it to be displayed as browse_category/category/category name

    I have tested URL Re-Writing on my index.php file to replace it with other.php which it does. This on the other hand doesnt seem to work.
    I have checked mod_rewrite is loaded and it is.

    Can someone please let me know what else I need to do to get this working.
    Thanks
    Jamie
    projectWORD
    http://www.projectword.co.uk
     
    projectWORD, Jun 29, 2008 IP