Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2007
    Posts
    277
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Question what does this .htaccess script do?

    I found a generator wich creates .htaccess URL rewrite and it created this code:
    Code:
    Options +FollowSymLinks
    RewriteEngine on
    
    RewriteRule -ctg-(.*)/ catagories.php?ctg=$1
    the only problem is I don't know how to use it, please help me.

    thanks.

  • #2
    Regular Coder
    Join Date
    Nov 2005
    Location
    North Canton, Ohio
    Posts
    118
    Thanks
    11
    Thanked 4 Times in 4 Posts
    You just make a file onto the main folder of your website called ".htaccess" and paste the code into it.

  • #3
    Regular Coder
    Join Date
    Oct 2007
    Posts
    277
    Thanks
    2
    Thanked 4 Times in 4 Posts
    You just make a file onto the main folder of your website called ".htaccess" and paste the code into it.
    I know already how to use .htaccess .
    but I don't know what does this does with my catagories.php file.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •