• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Old apache redirects ---> Nginx redirects

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
I have moved my forum from apache to nginx. It's working great but there's one thing i d like to fix.
My old rewrite rules are not working now. There are still a lot of extarnal links to my forum and they get 404's now.

What's the best way to solve this?

Thanks for your help!!
Ralf

Code:

کد:
<IfModule mod_rewrite.c>
    RewriteEngine On
    # MattW
    RewriteRule ^about([0-9]+)\.html /Forum/topic/$1/ [L,R=301,NC]
    RewriteRule ^(.*)\-t([0-9]+)\.html /Forum/topic/$2/ [L,R=301,NC]...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا