N
N
newaitix2014-08-03 20:14:26
Apache HTTP Server
newaitix, 2014-08-03 20:14:26

How to make such RewriteRule mydomain.com/whatever/group in htaccess?

Help remove u.
I have such a rule
RewriteRule ^([1])(.+) /u/$2/group
allows you to go to the address mydomain.com/u/username/photo - gives photos of the user "username"
how to do this mydomain.com /username/photo

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
newaitix, 2014-08-04
@newaitix

Probably so?
RewriteRule ^([az]+)/group u\/$1\/group\/?$

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question