1
hiflyer
SEF URLs in Xoops?
  • 2008/9/10 16:35

  • hiflyer

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/7 3


Is there any option/module to create SEF URLs in Xoops? For example, to view a user's page instead of http://www.mysite.com/userinfo.php?uid=10 , I would define http://www.mysite.com/john

2
dslchart
Re: SEF URLs in Xoops?
  • 2008/9/10 17:30

  • dslchart

  • Not too shy to talk

  • Posts: 112

  • Since: 2008/9/7 1


maybe this link
.htaccess

3
hiflyer
Re: SEF URLs in Xoops?
  • 2008/9/10 17:32

  • hiflyer

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/7 3


I'll take a look - thanks!

4
anemic
Re: SEF URLs in Xoops?
  • 2008/9/11 2:31

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


I use the userpage module and the apache mod_rewrite module to take http://site.com/~membername to redirect to members personal home pages. Mod_rewrite sends http://site.com/~ urls to a small php application that looks up the member and checks if the member has created a personal page. If the page exists the browser gets redirected to the correct personal page if not I use redirect_header to show a ten second message that the user personal page doesn't exist...and then they get sent on to the default site page.

5
hiflyer
Re: SEF URLs in Xoops?
  • 2008/9/11 2:41

  • hiflyer

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/7 3


anemic - that would be perfect!

6
noo-b
Re: SEF URLs in Xoops?
  • 2008/9/11 3:01

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


I Love Xoops

Login

Username:
Password:

Lost Password? Register now!

Who's Online

55 user(s) are online (33 user(s) are browsing Support Forums)


Members: 0


Guests: 55


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