Let me explain.
I have a short URL that I want to link to the regular URL and match the page linked.
For example, I'm trying to get:
shorturl.com/123.html
shorturl.com/<%ID%>.html
to (redirect, rewrite?) display the original URL like:
mywebsite/directoty/subdirectory/123.html
mywebsite/<%g%><%ID%>.html
I have tried the usual RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [R=301,L] but it just results in /cgi-bin/links/page.cgi every time.
I have a short URL that I want to link to the regular URL and match the page linked.
For example, I'm trying to get:
shorturl.com/123.html
shorturl.com/<%ID%>.html
to (redirect, rewrite?) display the original URL like:
mywebsite/directoty/subdirectory/123.html
mywebsite/<%g%><%ID%>.html
I have tried the usual RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [R=301,L] but it just results in /cgi-bin/links/page.cgi every time.