Welcome! Log In Create A New Profile

Advanced

Re: redirecting url from old to new

May 11, 2011 08:32AM
On Wed, May 11, 2011 at 7:23 PM, tuffclassified <nginx-forum@nginx.us> wrote:
> 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 /xyz/ {
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: 83
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready