1
mikeytheman
Removing /Modules

A friend of mine asked if it was posible to get /modules/newbb to change to /forums, either by moving the module itself there or through some slight of hand mod-rewrite/iframe/include technique.

2
Dave_L
Re: Removing /Modules
  • 2005/11/25 16:51

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


If the goal is for users to be able to use the URLhttp://example.com/forums/ , you can accomplish that by creating the directory /forums that contains a single file index.php with contents:

<?php header('Location: http://example.com/modules/newbb/'?>

3
mikeytheman
Re: Removing /Modules

yeah...i'd pointed that out to my friend...and he's willing to accept that as an answer...some sort of redirection technique...he was just wondering if there was any way to maintain the /forum/ structure

4
davidl2
Re: Removing /Modules
  • 2005/11/25 19:00

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


This should be possible with a ModRewrite... I think I saw something on this nature posted recently...

5
davidl2
Re: Removing /Modules
  • 2005/11/25 19:03

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26



6
mikeytheman
Re: Removing /Modules

Quote:

excellent...thank you VERY much :)

Login

Who's Online

154 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 154


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