Dear all, I have created a htaccess file in my local system..its work fine. I upload my all files into 1and1 hosting but htaccess file not working.... Thanks
And when you say not working - do you get a 500 error on the server, or do the rewrites just not happen?
Just something I found doing a quick search on 1&1 htaccess issues which might be of some help: Or try changing the following line: RewriteRule ([^/\.]+)/([^/\.]+)/([^/\.]+)$ property-details.php?id=$2 [L,NC] To RewriteRule ([^/\.]+)/([^/\.]+)/([^/\.]+)$ /property-details.php?id=$2 [L,NC]
I think it was catching the url and changing it to domain.comproperty-details.php?id=$2 - the slash just formats the url properly. Im not on 1&1 but ive seen a few people have issues with htaccess on their hosting. Glad its working now