Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Getting Google to fine forum pages.

Options
2»

Comments

  • Registered Users Posts: 216 ✭✭seo-ireland


    Believe me Blacknight, I wouldn't touch any blackhat techniques with my least favourite barge pole. It may not be today, it may not be tomorrow but in the future these techniques will be discovered and penalised.


  • Registered Users Posts: 7,739 ✭✭✭mneylon


    Oh I know, but it still makes me sick that they can get away with it..


  • Registered Users Posts: 216 ✭✭seo-ireland


    Search engine death to spammers! :D


  • Registered Users Posts: 7,739 ✭✭✭mneylon


    Don't get me started!


  • Closed Accounts Posts: 1,033 ✭✭✭beller b


    Still havn't got this right..Google indexed a few pages the other day, but the've disappeared again..
    I ran the sitemap generator on www.blocklayer.com & I got this on about 200 pages

    Link http://****.com/smf/index.php?PHPSESSID=662811ca8df07f5bf2cd3c5c4965a73f&action=who missing www. on page http://www.****.com/smf/index.php (different Domain)
    Link http://****.com/smf/index.php?PHPSESSID=662811ca8df07f5bf2cd3c5c4965a73f&action=who missing www. on page http://www.****.com/smf/index.php (different Domain)
    Link http://****.com/smf/index.php?PHPSESSID=662811ca8df07f5bf2cd3c5c4965a73f&action=profile;u=41 missing www. on page http://www.****.com/smf/index.php (different Domain)
    How can I stop it seeing it as a different domain?


  • Advertisement
  • Registered Users Posts: 2,157 ✭✭✭Serbian


    beller b wrote:
    How can I stop it seeing it as a different domain?

    Looks like you need to generate all your links either with the www. or without, not a mixture of. It's a bit stupid that it doesn't recognise www.****.com and ****.com being the same domain, but that's what the problem seems to be.


  • Registered Users Posts: 216 ✭✭seo-ireland


    Here's a piece of code you can place into the top of your .htaccess file to convert all non-www accesses to the www equivalents in a search engine friendly manner (301 redirects)
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^yoursite\.com [NC]
    RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]
    

    Works like a charm when implemented correctly.


  • Registered Users Posts: 2,157 ✭✭✭Serbian


    Here's a piece of code you can place into the top of your .htaccess file to convert all non-www accesses to the www equivalents in a search engine friendly manner (301 redirects)
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^yoursite\.com [NC]
    RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]
    

    Works like a charm when implemented correctly.

    That's certainly a useful piece of code, but I don't think it will help with Google sitemaps as it will just read the URL and decide that it's not in the same domain as his site, rather than try and visit it.


  • Registered Users Posts: 216 ✭✭seo-ireland


    Yes on a re-read I agree. The only thing to do is to make sure all of the links on the site begin with www. This is good practice anyway and the code I posted is essential to avoid link popularity for your site being split between non-www and www versions (the two versions are treated as two different domains)


  • Closed Accounts Posts: 1,033 ✭✭✭beller b


    Thanks Lads I,ve dont that now. But once you enter the forum pages if loses the www after you leave the smf/index.phb page.. Does it make any difference after that or is there something within the SMF code that would need to be changed?
    Thanks again


  • Advertisement
Advertisement