Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Change topic's opening post URL to topic's URL

Aloittaja MiY4Gi, elokuu 01, 2011, 05:09:50 IP

« edellinen - seuraava »

MiY4Gi

I want to change the URLs of all the opening posts of topics, to the URLs of those topics.

What I want is:

BEFORE

Opening post URL: http://www.simplemachines.org/community/index.php?topic=444568.msg3123160#msg3123160

AFTER

Opening post URL: http://www.simplemachines.org/community/index.php?topic=444568

Or with Pretty URLs:

BEFORE

Opening post URL: http://www.simplemachines.org/community/Change-topics-opening-post-URL-to-topics-URL/msg3123160

AFTER

Opening post URL: http://www.simplemachines.org/community/Change-topics-opening-post-URL-to-topics-URL

I reckon it's a good idea for navigation and SEO. I noticed that Google will index the URL of any "posts" it finds relevant, rather than just index the "topics" URL. For now I've added lines to my robots.txt file which prevents Google from crawling any URLs with /*msg* in them. This is still a problem since Google usually "sees" the URL of opening posts, before it sees the topics URL.

Any help? 
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

Ricky.

I don't think you need to worry for any thing in this regard for SEO because SMF automatically adds
<meta name="robots" content="noindex" />

to such pages and SMF also provides conical url.

Advertisement: