dale3

*
  • *
  • 12
Problem with PHPBB with rewrite mod
« on: November 25, 2011, 02:59:53 AM »
On our phpbb forums, I have a modification installed that rewrites the urls of the topics.

Instead of the standard url ( i.e www.mysite.com/forum/topic418.html )
Our forum now rewrites urls ( i.e www.mysite.com/forum/title-or-post.html )

The mod can be found here: http://downloads.phpbb-seo.com/phpbb-seo-url-10/ultimate-seo-url-38.html

We have the newest version of Unlimited PHP Sitemap Generator.

On the sitemap file, the generator is "printing out" the rewritten url, but it's also printing out the old version of the urls.

So for example, one topic in our forum is being printed out as www.mysite.com/forum/title-or-post.html, but also as www.mysite.com/forum/topic418.html. So there are two entries on the site map file for every topic in our forums.

Unfortunately, some of the topics with standard urls are being indexed and showing up in search engines, which I don't want to do.

This is strange, because our Wordpress blog uses url rewriting and we don't have this "Double entry" issue with the blog.

Is there a way to these prevent standard urls from showing up in the sitemap?



Re: Problem with PHPBB with rewrite mod
« Reply #1 on: November 25, 2011, 04:42:23 PM »
Hello,

you can add this in "Exclude URLs" to avoid the issue:
Code: [Select]
forum/topicor in robots.txt:
Code: [Select]
User-agent:*
Disallow: /forum/topic*.html
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

dale3

*
  • *
  • 12
Re: Problem with PHPBB with rewrite mod
« Reply #2 on: November 25, 2011, 06:11:40 PM »
Thank you,

I guess I didn't understand how the "Exude URLs" could be used in this way. I was assuming there had to be an extension or something on the end of the string.