Forum Moderators: phranque

Message Too Old, No Replies

Penalyzed After Removing Trailing Slash

How to solve?

         

digic

5:00 pm on Jul 25, 2011 (gmt 0)

10+ Year Member



After changing my permalinks from www.site.com/article/ to www.site.com/article , I am seeing duplicate content on GWMT. I tried solving it by having this code on htaccess.

RewriteCond %{HTTP_HOST} !^\.site\.com$ [NC]
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]


Am I doing the right thing? Thanks in advance.

digic

5:37 pm on Jul 25, 2011 (gmt 0)

10+ Year Member



I just realized that with the code above, I was not able to access my WP dashboard at www.site.com/wp-admin

Can someone help me please?