0

I am working on an Ubuntu server running Apache and I have having a problem display the webpage I want to.

For example, I want to have www.example.com/user/me really display www.example.com/user since I do not have a file or folder named me.

The .htaccess file currently reads

RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC]

What do I need to add to make this work?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.