Welcome! Log In Create A New Profile

Advanced

Re: redirecting url from old to new

Mikhail Mazursky
May 12, 2011 07:36AM
2011/5/11 tuffclassified <nginx-forum@nginx.us>:
> Any body will help me to redirect my old  wordpress post
> http://tuffclassified.com/xyz/ to new custom post
> http://tuffclassified.com/ads/xyz/  . It was easy in apache as i have to
> add just
>
> # END WordPress
> RewriteRule ^/(.*)$ http://tuffclassified.com/ads/$1 [R=301,L]

location / {
rewrite ^ /ads$uri permanent;
}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

redirecting url from old to new

tuffclassified May 11, 2011 08:23AM

Re: redirecting url from old to new

edogawaconan May 11, 2011 08:32AM

Re: redirecting url from old to new

Mikhail Mazursky May 12, 2011 07:36AM

Re: redirecting url from old to new

tuffclassified May 12, 2011 07:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready