![]() |
| ||
| .htaccess mod_rewrite issue Hi guys, I'm new to this and I would appreciate some of your expertise :-) I'll let you know what I'm trying to do: I have a small website with static pages and I just want to remove the extension .php from my files. After lots of tries I came up with this RewriteRule ^([A-Za-z0-9]+)/?$ $1.php [L] That works fine when I type www.example.com/company but when I type www.example.com/company/ (slash at the end) I loose the css and the images. Besides that when I type www.example.com/company/about or any other page on a folder other that root, I get a 404 not found page. Could anyone help me solve this? Thank you in advance :-) |
| ||
| Re: .htaccess mod_rewrite issue The problem is solved. Thx :-) |
| All times are GMT -4. The time now is 9:46 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC