That's not easy.
Do you have a lot of URLs that are one part only (eg. /members/ and /contact/)?
Can member usernames include "/"s?
What is your complete mod_rewrite?
Do you have a lot of URLs that are one part only (eg. /members/ and /contact/)?
Can member usernames include "/"s?
/member_nickname/member/
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(([a-z][a-z])\.sitename\.com)?$ [NC]
RewriteRule ^(.*)$ http://en.sitename.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^([a-z][a-z])\.sitename\.com$ [NC]
RewriteRule ^([^/]+)/member/?$ /index.php/%1/member/profile/$1/ [QSA,L]
RewriteCond %{HTTP_HOST} ^([a-z][a-z])\.sitename\.com$ [NC]
RewriteRule ^(.*)$ /index.php/%1/$1 [QSA,L]
Users browsing this forum: No registered users and 4 guests