Welcome to WebmasterWorld Guest from 54.145.144.101

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Need a bit of a help

   
11:22 pm on Feb 14, 2009 (gmt 0)

10+ Year Member



basically i need
http://www.example.com/basics

to be redirected to the root index.php page
http://www.example.com/index.php?category=basics

this is my .htaccess

Options -Indexes
RewriteEngine On
RewriteRule ^basics/$ /index.php?category=basics [L]

Any help as always greatly appreciated

4:34 pm on Feb 15, 2009 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Given your example URL, the regular-expressions pattern "^basics/$" does not match the requested URL-path "basics" because the trailing slash required by the pattern is not present.

Jim

 

Featured Threads

Hot Threads This Week

Hot Threads This Month