I have a new short URL registered for some ease and just having some issues as folders are involved, so looking for the re-write guru to help out in 2 lines making me feel less like a linux guy
So I have mylongdomain.com and tiny.wf (yes .wf is the suffix). So I have;
Code:
[RewriteCond %{HTTP_HOST} tiny\.wf [NC]
RewriteRule ^(.*)$ http://www.mylongdomain.com/$1 [L,R=301]
Works perfect. But I have 2 more rules.
I want tiny.wf/s/* to goto mylongdomain.com/folder1/?id=*
and something similar. But I am trying;
Code:
RewriteCond %{HTTP_HOST} ^tiny\.wf$ [NC]
RewriteRule ^/s(.*)$ http://www.mylongdomain.com/folder1/?id=$1 [R,NC,L]
but it's not working. I'm sure it's something simple I am missing, but I am reading, testing and figured I would get a quick backhand here quicker.
Thanks