xoops forums

CiberEspia

Quite a regular
Posted on: 2010/5/27 20:44
CiberEspia
CiberEspia (Show more)
Quite a regular
Posts: 227
Since: 2002/10/13
#1

rewrite for url individual

I have 3 url:

http:/www.mypage.com/modules/tiny/index.php?id=1 (about)
http:/www.mypage.com/modules/tiny/index.php?id=2 (products)
http:/www.mypage.com/modules/liaise/index.php?form_id=1 (contact)

I have the following code in .htaccess :
Options +FollowSymLinks
RewriteEngine on
RewriteBase 
/
RewriteRule ^about(.*) modules/tiny/index.php?id=[L]
RewriteRule ^products(.*) modules/tiny/index.php?id=[L]


and works very well
http:/www.mypage.com/about/
http:/www.mypage.com/products/

But I have trouble following:
Options +FollowSymLinks
RewriteEngine on
RewriteBase 
/
RewriteRule ^about(.*) modules/tiny/index.php?id=[L]
RewriteRule ^products(.*) modules/tiny/index.php?id=[L]
RewriteRule ^contact(.*) modules/liaise/index.php?form_id=[L]


For http:/www.mypage.com/contact/ i get : module does not exist

Any help or suggestions, I just only interested in those three URL to implement SEO
Mario Burga
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Adictoshp.org|Web Blog<<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CiberEspia

Quite a regular
Posted on: 2012/1/13 13:20
CiberEspia
CiberEspia (Show more)
Quite a regular
Posts: 227
Since: 2002/10/13
#2

Re: rewrite for url individual

??
Mario Burga
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>Adictoshp.org|Web Blog<<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~