RSS Feed/News Old apache redirects ---> Nginx redirects

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,617
Points
823

Reputation:

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:

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

Continue reading...
 
Status
Not open for further replies.
Top