hi list,
new problem:
when i try to add a rewrite just for the base url, it doesn't work and
appends the destination url twice and ends up as a 404:
how can i accommodate the wild-card and the base path (RewriteRule ^/$
http://www.foobar.com)?
# BEGIN WordPress
RewriteEngine On
RewriteBase /te
> RewriteRule /(.*)$ http://www.foo.com/$1 [R=301]
Andre, you've hit it on the nose here.
Thank you and the List.
On Mon, Dec 29, 2008 at 2:53 PM, André Warnier wrote:
> Hi.
>
> Am I interpreting this correctly, that the .htaccess file you are talking
> about, is the one that is in the original
On Mon, Dec 29, 2008 at 5:53 PM, André Warnier wrote:
> Hi.
>
> Am I interpreting this correctly, that the .htaccess file you are talking
> about, is the one that is in the original /techblog location ?
>
> If so, and without taking my word for it, isn't it so for a RewriteRule that
> is in a .hta
Hi.
Am I interpreting this correctly, that the .htaccess file you are
talking about, is the one that is in the original /techblog location ?
If so, and without taking my word for it, isn't it so for a RewriteRule
that is in a .htaccess file in such a location "/techblog", that the
original U
2008/12/29 Matthew Sacks :
> I cleared all rewrites so all I have is the following:
> RewriteRule ^/techblog(.*)$ http://www.foo.com/$1 [R=301]
If you're using this in per-dir context (e.g. in .htaccess files)
reachable via http://www.example.com/.htaccess, strip the leading
slash of the pattern:
I cleared all rewrites so all I have is the following:
RewriteRule ^/techblog(.*)$ http://www.foo.com/$1 [R=301]
I want http://www.bar.com/techblog/thisfile.html to be redirected to
http://www.foo.com/thisfile.html
I cant seem to get this to work. all I get is 404
On Mon, Dec 15, 2008 at 2:54