Forum Moderators: phranque
I tried RewriteRule ^(.*)/+$ $1 [R=301,L] http://example.net/home3/pintotou/public_html/Asia/Indonesia/bali.php
http://example.net/Asia/Indonesia/bali.php
http://example.net/Asia/Indonesia/bali.php
[edited by: phranque at 9:30 am (utc) on Feb 21, 2014]
[edit reason] Please Use example.com [webmasterworld.com] [/edit]
Lucy told me
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* – [L]
!^http://(www\.)?example\.net [NC] jpg¦jpeg can be simplified to jpe?g !^(example\.net)?$ ([^/]+/)* in both places. ^[A-Z]{3,9}\ followed by a space then a slash and then the remainder of pattern. [R=301,L] flags. [edited by: g1smd at 1:05 pm (utc) on Feb 24, 2014]
RewriteCond %{HTTP_REFERER} !^http://example.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://example.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://example\.net(/|$) [NC]
[edited by: g1smd at 3:09 pm (utc) on Feb 24, 2014]
[edited by: qimqim at 3:28 pm (utc) on Feb 24, 2014]
[edited by: aakk9999 at 3:53 pm (utc) on Feb 24, 2014]
My understanding of Google ranking is that is they see example.com, www.example.com, www.example.com/index.html, etc they consider each a different site with identical content, and one of several things happen: they divide the credit among all of them, or ban them into outer space.
[edited by: aakk9999 at 3:39 pm (utc) on Feb 24, 2014]