Htaccess to Add or Remove slash from end of URL - PHP, WordPress

Htaccess to Add or Remove slash from end of URL

Many times in WordPress or other PHP websites we can across a situation in which Google considers a particular post with ending slash (/) after URL and without slash as two different URL and thus it shows Pages with duplicate title tags in Google Webmaster…