Forum Moderators: phranque
I need to achieve the following:
Whenever a user goes to www.mysite.com/articolo.asp?idarticolo=814 (where 814 changes depending on the page)
gets redirected to www.mysite.com/idarticolo=814
So basically it has to leave only everything after the question mark.
It should be very simple but it's two days I'm trying following guides and such but cannot succeed.
Can someone suggest me what should I write in htaccess in order to get it working?
Thanks
RewriteRule ^idarticolo=([^.]+).*$ articolo.asp?idarticolo=$1
Please don't laugh, as you can see i'm no expert at all.
[edited by: jdMorgan at 5:58 pm (utc) on May 1, 2008]
[edit reason] No URLs, please. See Terms of Service. [/edit]
See also this recent thread [webmasterworld.com].
Jim
jd you're right. I could probably do my homework completely and eventually succeed, but if doing my homework means learning a new language from scratch, that's a problem.
When you have to cover multiple subjects like seo, coding, graphics, site marketing and server language you just can't go too deep in everything.
Not everyone looking for a quick fix is just lazy and simply wants other to do their job.