Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

is it possible to make users profile / author url like domain.com/username?

I have tried to set "user" instead of "author" as a slug and use the following code in htaccess:

RewriteCond %{REQUEST_URI} !^/(news|blog|tag)(/.*)? RewriteRule ^([-_~*a-zA-Z0-9]+)(/)?$ user/$1

In the RewriteCond I set all urls, which are otherwise used, f.e. for the blog (blog) or the custom post types 'news'.

I hope its possible to use domain.com/username or forward this to domain.com/user/username

thx!

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.