11
avtx30
Re: Make Xoops URLs professional
  • 2008/4/21 14:54

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12



12
Yurdal
Re: Make Xoops URLs professional
  • 2008/4/21 15:40

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


thanks for sharing, but in the mainfile.php i assume the

13
maketravel
Re: Make Xoops URLs professional
  • 2008/4/21 18:21

  • maketravel

  • Just popping in

  • Posts: 35

  • Since: 2008/3/20


great stuff. thank you for sharing.

14
antifmradio
Re: Make Xoops URLs professional

atv your reqrite code is missing something

its written if the person sepcifically types in the words
news
sns
stuff
and so on
and that will redirect their browser to the correct pages
however youll need to add this to the end flag
chage this [L]
to this [R=301,L]

this way it doesnt matter if the person types in upper / lower / or mixed case words.

15
avtx30
Re: Make Xoops URLs professional
  • 2008/4/21 22:14

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12


Quote:

thanks for sharing, but in the mainfile.php i assume the


It's not a typo. I purposely added the "
Quote:

atv your reqrite code is missing something

its written if the person sepcifically types in the words
news
sns
stuff
and so on
and that will redirect their browser to the correct pages
however youll need to add this to the end flag
chage this [L]
to this [R=301,L]

this way it doesnt matter if the person types in upper / lower / or mixed case words.

After changing [L] to [R=301,L], what has to be changed in the mainfile.php? It did not work for me if only changed the Rewrite rules without changing the mainfile.php. It made a loop said Firefox.

16
trabis
Re: Make Xoops URLs professional
  • 2008/4/22 0:08

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I guess you mean [NC,L]

17
kris_fr
Re: Make Xoops URLs professional
  • 2008/5/15 18:50

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31



18
seesoe
Re: Make Xoops URLs professional
  • 2009/9/7 18:19

  • seesoe

  • Just popping in

  • Posts: 33

  • Since: 2007/1/3 4


i can't get the xoops.js to be hidden using only this
RewriteRule ^include/main.js$ /include/xoops.js [L]

doesn't it need a smarty change?

Login

Who's Online

324 user(s) are online (189 user(s) are browsing Support Forums)


Members: 0


Guests: 324


more...

Donat-O-Meter

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

Latest GitHub Commits