1
trspice
Need help to remove 'modules' from the URL
  • 2009/3/21 23:47

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I want to remove the 'modules' folder from the URL and just show site.com/folder. I tried some URL rewrite scripts related to XOOPS but they all had an error somewhere. I am not so much concerned about 'Friendly URLs'. If anyone has a method where I totally place my modules in the XOOPS root then please give some details. Thanks
There's nothing but science....
The Reggae Album

2
noo-b
Re: Need help to remove 'modules' from the URL
  • 2009/3/22 0:46

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


I Love Xoops

3
trspice
Re: Need help to remove 'modules' from the URL
  • 2009/3/23 22:53

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


noo-b thanks for the suggestion. It works but has some issues.
When I enter the direct URL like site.com/contact I get a 404 error but if I do site.com/contact/ the page shows properly. How can I instruct the .htaccess to locate the page wether it has the trailing slash or not?
There's nothing but science....
The Reggae Album

Login

Username:
Password:

Lost Password? Register now!

Who's Online

81 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 81


more...

Donat-O-Meter

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

Latest GitHub Commits