1
baldur1983
Shorter URLs
  • 2012/9/25 4:11

  • baldur1983

  • Just popping in

  • Posts: 14

  • Since: 2006/1/15


Hi, two questions:

1. Is there any way, hack or module to shorter urls? Example: "myxoops.com/newbb", instead of "myxoops.com/modules/newbb".

2. What must I do to change the name of a module, example: "forums" instead of "newbb"

Many thanks,
Baldur

2
Mamba
Re: Shorter URLs
  • 2012/9/25 5:16

  • Mamba

  • Moderator

  • Posts: 11245

  • Since: 2004/4/23


For both cases, use Apache mod_rewrite
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
irmtfan
Re: Shorter URLs
  • 2012/9/25 9:05

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Alfred implement SEO URLs in newbb 4.3
you can test it.
demo his website: http://www.simple-xoops.de/forum/
download svn:
http://xoops.svn.sourceforge.net/view ... bb/branches/alfred/newbb/

Also as mamba said you should change the htaccess file inside newbb folder to what you want.

4
deka87
Re: Shorter URLs
  • 2012/9/25 10:52

  • deka87

  • Friend of XOOPS

  • Posts: 1124

  • Since: 2007/10/5


there is a xoRewriteURL hack that I've been using forever with all xoops versions since xoops 2.2. you can go from site.com/modules/newbb/ to site.com/forums/, from site.com/modules/catads to site.com/ads and so on, it works with any module

5
playsome
Re: Shorter URLs
  • 2012/9/25 12:00

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Quote:

deka87 wrote:
there is a xoRewriteURL hack that I've been using forever with all xoops versions since xoops 2.2. you can go from site.com/modules/newbb/ to site.com/forums/, from site.com/modules/catads to site.com/ads and so on, it works with any module


Yes, xoRewriteModule hack is one of the best, lets you remove /modules/ part of the URL as well as rename modules. Link to the forum post about it https://xoops.org/modules/newbb/viewto ... at&order=ASC&type=&mode=0

6
baldur1983
Re: Shorter URLs
  • 2012/9/26 0:53

  • baldur1983

  • Just popping in

  • Posts: 14

  • Since: 2006/1/15


Hi friends,
Many thanks for your help! I´ll try these solutions: xoRewriteModule hack + htaccess changes.
I think it would be (for the future, of course) a good addon on Xoops to allow users to choose between several permanent links from Control Panel, aka wordpress. What do you think, is possible?
Baldur

Login

Username:
Password:

Lost Password? Register now!

Who's Online

70 user(s) are online (46 user(s) are browsing Support Forums)


Members: 0


Guests: 70


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits