Browse Source

Return SEO url fix on request

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

+ 4 - 6
engine/wrapper/wrapper.go

@@ -112,12 +112,10 @@ func (e *Wrapper) Run(hRun 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)