UseBB Community

The official board for UseBB help and discussion

UseBB Community » Resources & Customization » Customize friendly url extension?

Customize friendly url extension?

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Feb 2008
Posts: 6
Location: Bristol, UK
Hey guys :D

I was just wondering, is it possible to change the friendly url extension to something else? like.. lets say .jsp .cfm or .asp

I know it sounds a little silly but it would sort of match the urls of my site :)

Thanks, #Davey
Moderator
Registered: Oct 2005
Posts: 425
Location: canada
You would want to edit the .htaccess file and replace all html instances with the extension of your choice. Haven't tested it but should work.
Member
Registered: Feb 2008
Posts: 6
Location: Bristol, UK
Thanks for the tip Gaia, I have done so but all the links are still showing the .html extension...

I also also checked in functions.php & config.php to see if the extesion is changable but im having no luck.
Developer
Registered: Apr 2004
Posts: 2180
Location: Belgium
See make_url() in sources/functions.php.

$url .= ( $filename == 'rss' ) ? '.xml' : '.html';
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Feb 2008
Posts: 6
Location: Bristol, UK
Hey Dietrich, Thanks for pointing that out :)

I had a feeling that was for the RSS Feed but seems not, Thankyou!

Page: 1

UseBB Community » Resources & Customization » Customize friendly url extension?

UseBB Community is powered by UseBB 1 Forum Software