vBulletin Search Engine Optimization
This is a discussion on Defining RSS Feeds by Forum & Thread within the General Discussion forums, part of the vBulletin SEO Discussion category; By default vBulletin defines the RSS feed for the entire site on every page. This should be by forum. I've ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Defining RSS Feeds by Forum & Thread
By default vBulletin defines the RSS feed for the entire site on every page. This should be by forum. I've made this change to my headerinclude: Change Code: <if condition="$vboptions['externalrss']"><link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS" /> Code: <if condition="$vboptions['externalrss']"> <if condition="$show['foruminfo'] OR $show['threadinfo']"> <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] RSS Feed" href="external.php?type=rss2&forumids=$foruminfo[forumid]" /> <else /> <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS" /> </if> </if> 'external\.php\?type=rss2&forumids=(\d+)' => 'forum-$1-rss.xml' 'external\.php\?type=rss2$' => 'rss.xml' |
|
#2
| |||
| |||
|
i'm interested in doing this. do i just change the code to what you put? |
|
#3
| |||
| |||
|
Actually, 3.6 does this by default; very similar. When I did this I did it for 3.5 edit: the rewrite isn't done by default, obviously |
|
#4
| |||
| |||
|
what do you mean by 3.6 does it by default? how can i make rss feeds for one of my forum? |
|
#5
| |||
| |||
|
The first set of code above is from 3.5. In 3.6 the same code looks more like the second set. RSS feeds are created by external.php, which is a default feature of vbulletin. |
|
#6
| ||||
| ||||
|
I always put the site name in there. Code: Site-Name-Feed-f(\d+)\.rss#] => external.php?type=RSS2&forumids=$1 Site-Name-Feed\.rss#] => external.php?type=RSS2 |
|
#7
| |||
| |||
|
Yep! Recently I moved everything over to feedburner though so I can track things a little better.
|
|
#8
| |||
| |||
|
Care to explain how you moved everything to feedburner? Specifically, how do you get things set so that when a visitor hits the RSS button on their browser that it calles feedburner instead of external.php?
|
|
#9
| |||
| |||
|
modified the code above to point to the feedburner URL. If you check out my cell phone site, you'll see how they're named.
|
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The vBSEO LinkBacks User Guide - vBSEO 3.0 GOLD | Joe Ward | General Discussion | 25 | 06-05-2008 12:04 PM |