| Posted: 26 February 2010 at 2:26pm | IP Logged
|
|
|
I have only a small handful of URLs I am working with for SEO purposes, so won't be using regular expressions. I am just unfamiliar with how I need to setup a redirect.
I have a page called default.asp?q_areaprimaryid=13 and I want its address bar to look like newpagename.html
I have setup this rule, which works: RewriteRule ^/newpagename\.html$ /default\.asp\?q_areaprimaryid=13
However, it only works if you go directly to newpagename.html in your browser. I want it to also work when you go to default.asp?q_areaprimaryid=13. And in both cases newpagename.html should appear as the URL in the address bar.
I know I'm missing the redirect piece, but the flags and whatnot are confusing to me.
|