...

View Full Version : .htaccess rewrite rule in Apache configuration



Arindam
10-01-2011, 04:08 AM
when i write the .htaccees rule in page url

e.g.
RewriteRule ^painting-(.*)/(.*)/(.*).html painting.php?u_category=$1&u_subcategory=$2&u_pg=$3

it shows

http://www.abtc.com/painting/Art-Gallery/Landscape-Painting/1.html

its find out the directory but there is no Art-Gallery,Landscape-Painting directory in root server.

how can i redirect the page to http://www.abtc.com/painting/Art-Gallery/Landscape-Painting/1.html

Fou-Lu
10-01-2011, 07:53 PM
That rule doesn't match the url you've provided. The first level is painting- while you only have painting/. Looks to me like that - should be a /.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum