2
I will specify
I have a site that runs on XOOPS 2.0.18.2 based on a 60 gp to ovh
Thanks to
xoRewriteModule plugins I have changed my address on my site such as:
front: http://www.monsite.com/modules/catads/Now: http://www.monsite.com/Petites_annonces_sarthe/To do this, I put in a folder. Htaccess this
#Xoops : Start xoRewriteModule
RewriteEngine on
RewriteRule ^actualite-handicap-sante/(.*)$ modules/news/$1 [L]
RewriteRule ^forum/(.*)$ modules/newbbex/$1 [L]
RewriteRule ^telechargement/(.*)$ modules/mydownloads/$1 [L]
RewriteRule ^partenaires/(.*)$ modules/smartpartner/$1 [L]
RewriteRule ^plan_du_site/(.*)$ modules/sitemap/$1 [L]
RewriteRule ^contact/(.*)$ modules/formulaire/$1 [L]
RewriteRule ^remerciement/(.*)$ modules/xfguestbook/$1 [L]
RewriteRule ^stats/(.*)$ modules/myReferer/$1 [L]
RewriteRule ^annonces/(.*)$ modules/catads/$1 [L]
RewriteRule ^message_prive/(.*)$ modules/mpmanager/$1 [L]
RewriteRule ^Temoignage/(.*)$ modules/userpage/$1 [L]
RewriteRule ^galerie_photo/(.*)$ modules/myalbum/$1 [L]
RewriteRule ^Contact/(.*)$ modules/contact/$1 [L]
#Xoops : End xoRewriteModule
Only if I type
http://www.monsite.com/modules/catads/ I have access to this address as I should land on
http://www.monsite.com/Petites_annonces_sarthe/ so I added in. htaccess, the line
[code] RewriteRule modules / Catads
http://www.monsite.com/Petites_annonces_sarthe [R = 301] [/ code]
but the coup I could access the page!
thank you for your help