homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

301 redirect of directories like pages
301 redirect of directory like pages

 11:49 am on Nov 13, 2005 (gmt 0)

on my website I use modrewrite and I've some directories (mod-rewritted) like
the problem is that
sitename.ext/dir1 (without the trailing slash) is the same content (because the rules match to the same file)

I've hundreds of these, do you suggest to put a 301 redirect from sitename.ext/dir1 to sitename.ext/dir1/?
Is it dangerous to put so many redirects?




 5:04 pm on Nov 26, 2005 (gmt 0)

I don't think it would be a huge issue, because the dupe penalty is only on the 2nd page found. Both pages reside on your site - so what?


 5:53 pm on Nov 26, 2005 (gmt 0)

(The default) Apache .conf file will auto-cause redirects of
mysite.tld/dir to mysite.tld/dir/, anyway.

I disagree with Brett. All programming (which is what redirects are) needs to be as clean as possible, else you store up future problems.

If you need any help with the redirects, ask at Apache Web Server [webmasterworld.com] - the assistance there is awesome.


 8:34 am on Nov 28, 2005 (gmt 0)

Hi following the advice of this Board I had been trying to kill the non-www version of my site and the crawling of IP/page.htm ... I had been trying to do .htaccess thing but not sure if this is right way
1) I created a text file with code like
RewriteCond %{HTTP_HOST} ^pubcon
RewriteRule ^(.+) [pubcon.com...] [L,R=301]

RewriteCond %{HTTP_HOST} ^
RewriteRule ^(.+) [pubcon.com...] [L,R=301]

2) Uploaded the File in my public_html Directory

It does not seem to be working, can somebody help?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved