Browse Source

Disable SEO redirects in wrapper logic

Vova Tkach 6 years ago
parent
commit
689a51d05a
1 changed files with 6 additions and 4 deletions
  1. 6 4
      engine/wrapper/wrapper.go

+ 6 - 4
engine/wrapper/wrapper.go

@@ -88,10 +88,12 @@ func (e *Wrapper) Run(hr handleRun) {
 	}
 
 	// Friendly search engine url
-	if e.redirectSeoFix() {
-		e.Log("301")
-		return
-	}
+	/*
+		if e.redirectSeoFix() {
+			e.Log("301")
+			return
+		}
+	*/
 
 	// Create and load session
 	e.Session = sessions.New(e.W, e.R, e.VHost, e.DirVhostHome, e.RemoteIp)