Forum Moderators: phranque
So, I have URL's that look like this:
mysite.com/index.php?go=/archives/001.html
That I'd like to rewrite to
mysite.com/columns/archives/001.html
So, I tried this...
RewriteCond %{QUERY_STRING} ^go=$
RewriteRule ^index\.php$ /columns/%1/ [L]
but I don't think I'm even close... any help?
Justin
Welcome to WebmasterWorld [webmasterworld.com]!
I think you're real close!
RewriteCond %{QUERY_STRING} ^go[b]=/(.*)[/b]$
RewriteRule ^index\.php$ /column[b]s/%1?[/b] [L]
Options +FollowSymLinks
RewriteEngine on
Jim
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} ^go=/(.*)$
RewriteRule ^index\.php$ /columns/%1? [L]
But when I goto, say
mysite.com/columns/archives/001.html
where archives/001.html is the content of the string, but I'm getting a 404 error...
Any more thoughts? I'm also in a subdomain...don't know if that matters or not.