Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic RSS Symlinks (Read 892 times)
Dandello
Forum Administrator
*****
Offline


I Love YaBB 2!

Posts: 95
Joined: Apr 25th, 2012
RSS Symlinks
Jan 22nd, 2016 at 2:35pm
Print Post  
RSS Symlinks YaBB 2.6.11/2.6.12 version 1

Author: Dandello
Info:
This mod creates SEO friendly links for the RSS feeds. Requires .htaccess and ModRewrite on the server.

Version History
---------------
0.1 - First release - Jan 21, 2015

Instructions:

Apply the mod and upload (in ASCII mode):

cgi-bin/yabb2/Admin/Modlist.pm
cgi-bin/yabb2/Admin/NewSettings.pm
cgi-bin/yabb2/Admin/Settings_Advanced.pm
cgi-bin/yabb2/Languages/English/Admin.lng
cgi-bin/yabb2/Sources/BoardIndex.pm
cgi-bin/yabb2/Sources/MessageIndex.pm

In your .htaccess file in the ROOT of your site (not in the cgi-bin or the yabb2 folder) place:
Code
Select All
### YaBB rewrite ###
RewriteEngine On # Turn on the rewriting engine

RewriteRule ^RSSrecent/([A-Za-z0-9/\-_,~\(\)]*)?$ cgi-bin/yabb2/YaBB.pl?action=RSSrecent&catselect=$1 [L]
RewriteRule ^RSSrecent$ cgi-bin/yabb2/YaBB.pl?action=RSSrecent [L]
RewriteRule ^RSSboard/([A-Za-z0-9/\-_,~\(\)]*)?$ cgi-bin/yabb2/YaBB.pl?action=RSSboard&board=$1 [L]
### end YaBB rewrite ### 



If you choose not to use RSSrecent or RSSboard for your symlink, replace the folder name after the ^ with the folder names you plan to use. Once the Mod is installed, go to Admin Center -> Advanced Settings and input your domain url and your chosen folder names. This mod needs the domain url to include the 'http://' part.
  

Symrss_1.zip ( 2 KB | Downloads )
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint