dflow Posted October 14, 2009 Share Posted October 14, 2009 my .htaccess is for testing purposes: RewriteEngine On # Turn on the rewriting engine RewriteRule ^pet-care/?$ pet-care-info.php [NC,L] # Handle requests for "pet-care" i get a 404 error for http://ct.domain.com/pet-care what should i check ? my hosting support says they dont know why it doesnt work Quote Link to comment Share on other sites More sharing options...
cags Posted October 14, 2009 Share Posted October 14, 2009 As 404 is a file not found error, I assume http://ct.domain.com/pet-care-info.php does exist? Have you tried... RewriteRule ^pet-care/?$ /pet-care-info.php Quote Link to comment Share on other sites More sharing options...
dflow Posted October 14, 2009 Author Share Posted October 14, 2009 As 404 is a file not found error, I assume http://ct.domain.com/pet-care-info.php does exist? Have you tried... RewriteRule ^pet-care/?$ /pet-care-info.php great thanks how would you treat non,latin letters/words? Quote Link to comment Share on other sites More sharing options...
dflow Posted October 14, 2009 Author Share Posted October 14, 2009 As 404 is a file not found error, I assume http://ct.domain.com/pet-care-info.php does exist? Have you tried... RewriteRule ^pet-care/?$ /pet-care-info.php great thanks how would you treat non,latin letters/words? ok figured it out need to save the file as utf-8 without BOM Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.