nevski - 11:14 pm on Jul 25, 2013 (gmt 0)
Hi guys,tnx for replies,I spent my day in reading about mod_rewrite,syntax and site Library.Tried some simple urls,but I miss always something.
I've tried to make like simplest testing site on my localhost.
It's some basic html.
rewriting and redirecting from dog.html---->>cat.html
RewriteRule ^dog.html$ cat.html
So I have few question to see if I'am on right path.
This rule that I wrote is redirect,right?
When I click on dog.html it redirects me on cat.html page.
What would be a difference between that code and if I wrote
same code with [L,R=301] beside it?For L I thing I got it from previous posts.
And what about if I would like to rewrite url dog.html to dog without .html what kind of rule I must apply if I want to see somesite/dog without.html on the adress bar.That confuses me more than anything?)))Tnx once again.