somehow gwmt detected dots on url. want remove them completely.
for e.g. want change following url from
http://www.example.com/my-sample-urls../
to
http://www.example.com/my-sample-urls/
i use codes before condition rules:
rewriteengine on rewriterule ^(.*)\./([^/]+)(\.html?)$ /$1/$2$3 [l,r=301]
but that's not working.
please advise , appreciated.
regards,
try code rather :
rewriteengine on rewriterule ^([^.]+)..$ /$1/ [l]
Comments
Post a Comment