topic.html together with friendly links

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

topic.html together with friendly links

Postby setis1001 » Fri Jan 10, 2014 11:46 am

Hello

Is that possible to disallow in roobots.txt topic.html links ? at the moment I have to kind of links -http://www.bmw-fanklub.pl/post24.html which goes to -http://www.bmw-fanklub.pl/forum/przebieg-twojego-bmw/przebieg-twojego-bmw-dyskusja-ogolna-t16.html#p24

I would like to have only the second one but when I`m genereting sitemap I`m getting both included how to remove first from genereting in sitemap and google indexing ?

How to fix it ?

Thanks
Greg
setis1001
 
Posts: 3
Joined: Tue Apr 09, 2013 4:57 pm

Advertisement

Re: topic.html together with friendly links

Postby HB » Fri Jan 10, 2014 3:19 pm

You should enable the zero dupe option; that will 301 redirect the "plain" URL to the canonical "pretty" version. Googlebot et al will pick up the changes in a few days.
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1509
Joined: Mon Oct 16, 2006 2:25 am

Re: topic.html together with friendly links

Postby setis1001 » Fri Jan 10, 2014 3:41 pm

Hi Dan

It`s enabled but there are few more options which ones should be enabled ?
Tak = Yes,
Nie = No

Thanks
Greg
Attachments
new.jpg
setis1001
 
Posts: 3
Joined: Tue Apr 09, 2013 4:57 pm

Re: topic.html together with friendly links

Postby HB » Fri Jan 10, 2014 6:53 pm

You're already done. I tried this link using web-sniffer.net:

http://www.bmw-fanklub.pl/post24.html

It correctly redirected. Web crawlers will follow redirects, so it doesn't matter if your site shows a postNNN.html and the canonical version; they'll both end up at the same place. That's the purpose of the "zero dupe".
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1509
Joined: Mon Oct 16, 2006 2:25 am

Re: topic.html together with friendly links

Postby setis1001 » Fri Jan 10, 2014 7:59 pm

Ok thanks for clarification.

Best regards,
Greg
setis1001
 
Posts: 3
Joined: Tue Apr 09, 2013 4:57 pm


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests