You may try this .htaccess inside tgconnectmediaservice/
directory:
Options -MultiViews
RewriteEngine On
RewriteCond %{THE_REQUEST} s/+(tgconnectmediaservice/blog).php?slug=([^&s]+)s [NC]
RewriteRule ^ /%1/%2? [L,R=301,NE]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/?blog/([^/]+)/?$ blog.php?slug=$1 [L,QSA,NC]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…