Welcome to WebmasterWorld Guest from 54.225.55.88

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)

Full Member

10+ Year Member

joined:June 16, 2004
posts:232
votes: 0


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)

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 0


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

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members