11
fragttdg
Re: URL Rewriting for XOOPS - Tips and Tricks
  • 2006/12/7 5:33

  • fragttdg

  • Just popping in

  • Posts: 34

  • Since: 2004/6/13


Valuable input! thanks for share.

I've been doing rewriting things on my own site too. Efforts on apache config or htaccess just works on controlling the URL entrance of each module. Many modules, links inside are hard-coded. You might need to crack the modules in many places.

Modules in my site are using rewrite.

LINK below is my CBB MODULE:
http://www.xiubei.com/forums/index.php
Xoops Based site -http://www.xiubei.com

12
Dona_Brasil
Re: URL Rewriting for XOOPS - Tips and Tricks

Quote:

fragttdg wrote:
Valuable input! thanks for share.

I've been doing rewriting things on my own site too. Efforts on apache config or htaccess just works on controlling the URL entrance of each module. Many modules, links inside are hard-coded. You might need to crack the modules in many places.

Modules in my site are using rewrite.

LINK below is my CBB MODULE:
http://www.xiubei.com/forums/index.php


Cool, how did you rewrite the CBB url's??

13
fragttdg
Re: URL Rewriting for XOOPS - Tips and Tricks
  • 2006/12/12 3:15

  • fragttdg

  • Just popping in

  • Posts: 34

  • Since: 2004/6/13


Quote:

Dona_Brasil wrote:
Cool, how did you rewrite the CBB url's??


It's very painful, I modified all the hard code like "modules/newbb", '/modules/' . $xoopsModule->getVar('dirname') in CBB codes, templates. I hope newly version could have this enhancement enabled.

Also, I think it would be better that in CBB, only "modules/newbb" or only '/modules/' . $xoopsModule->getVar('dirname') be used, not both used mixed.
Xoops Based site -http://www.xiubei.com

14
Dona_Brasil
Re: URL Rewriting for XOOPS - Tips and Tricks

Quote:

fragttdg wrote:
Quote:

Dona_Brasil wrote:
Cool, how did you rewrite the CBB url's??


It's very painful,....


Wow. I'm impressed.

I like the result but it is realy to much work for a hobbyist

Thanks anyway

15
abraxas
Re: URL Rewriting for XOOPS - Tips and Tricks
  • 2007/1/3 19:52

  • abraxas

  • Just popping in

  • Posts: 45

  • Since: 2004/6/18


is this applicable to news module, or tinycontent, or others??

thx ! :)
--------------------------------------------
Ignacio Lledó

16
thepaul
Re: URL Rewriting for XOOPS - Tips and Tricks
  • 2007/1/5 16:53

  • thepaul

  • Just popping in

  • Posts: 12

  • Since: 2006/6/20


Has anyone been able to rewrite the URLs in backend.php? I want links in my RSS Feed to be friendly URLs as well, but can't figure out how to do it.

17
Dona_Brasil
Re: URL Rewriting for XOOPS - Tips and Tricks

Quote:

abraxas wrote:
is this applicable to news module, or tinycontent, or others??

thx ! :)


As far as I know, there is no URL rewrite included in these modules.

18
Cozzie
Re: URL Rewriting for XOOPS - Tips and Tricks
  • 2008/10/30 9:17

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi I'm trying to do the Xlanguage rewrite from Dona but it doesn't work for me, has anyone done it successfullly?

Here's what i put in to my .htaccess file

# English
RewriteRule ^english$ / [R=301]
RewriteRule ^english/$ / [R=301
DirectoryIndex index.php?lang=english
# Chinese
RewriteRule ^schinese$ /schinese/ [R=301]
RewriteRule ^schinese/$ /index.php?lang=schinese [QSA,L]


My 2 langauges are ?lang=english and ?lang=schinese. My XOOPS is 2.0.18 and Xlanguage v3

Can anyone help?

19
Cozzie
Re: URL Rewriting for XOOPS - Tips and Tricks
  • 2008/11/3 2:14

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Can anyone help me on this?

Xlanguage is great but its format of not changing urls with languages is a major problem when it comes to search engine indexing

Login

Who's Online

197 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

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

Latest GitHub Commits