Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Gauravk Posted November 21, 2018 Posted November 21, 2018 I have switched on to show non-trailing slash url but still google index is showing / version and not non-trailing version. How do I permanent redirect https://carnity.com/classifieds/ to https://carnity.com/classifieds If I do Redirect 301 in htaccess then all internal pages crash as they become this https://carnity.com/classifiedsitem/744-patrol-2014-big-machine-platinum instead of https://carnity.com/classifieds/item/744-patrol-2014-big-machine-platinum
newbie LAC Posted November 21, 2018 Posted November 21, 2018 RewriteRule ^classifieds/$ /classifieds [R=301,L]
Gauravk Posted November 21, 2018 Author Posted November 21, 2018 Thanks I have added this line in htaccess but still https://carnity.com/classifieds/ is not redirecting in browser to non-trailing version https://carnity.com/classifieds/ access this
newbie LAC Posted November 21, 2018 Posted November 21, 2018 Add after RewriteEngine On Ex RewriteEngine On RewriteRule ^classifieds/$ /classifieds [R=301,L]
Gauravk Posted November 21, 2018 Author Posted November 21, 2018 It's crashing the site now with these codes
newbie LAC Posted November 21, 2018 Posted November 21, 2018 I guess you copied the code with invisible chars Attach you htaccess file
Gauravk Posted November 24, 2018 Author Posted November 24, 2018 I manually type all and site is working but still, https://carnity.com/classifieds/ is not getting redirected to https://carnity.com/classifieds
Recommended Posts
Archived
This topic is now archived and is closed to further replies.