homepage Welcome to WebmasterWorld Guest from 54.237.134.62
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Need a bit of a help
BlackRaven




msg:3849724
 11:22 pm on Feb 14, 2009 (gmt 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

 

jdMorgan




msg:3850031
 4:34 pm on Feb 15, 2009 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved