1

I am not really familiar with RegExp and it's really hard for me. I want to do the following:

Rewriting this:

http://www.example.com/pl?utm_source=test&utm_medium=testing&utm_campaign=test-testing

to this:

http://www.example.com/pl/?utm_source=test&utm_medium=testing&utm_campaign=test-testing

As you can see I want to add a trailing slash after "pl".

Hope anyone has an idea. (or tutorials, guides etc.)

1 Answer 1

1

GOT IT:

It was easier than I thought:

   RewriteRule ^(..)$ $1/
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.