Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I trying to get a user friendly URL.

My current link is this:
What I want is this

What do I need to do in order to get this URL? Anything I can do in .htaccess file?

I'm using Wordpress which has it's own permalink structure. I'm not sure if it's possible to add URL-rewrite?

I'm also looking at this link: http://articles.sitepoint.com/article/guide-url-rewriting/2 , but I'm not very succesfull.

share|improve this question

I do this with the htaccess file in a very similar way to get rid of the question mark using a RewriteRule. Hopefully someone can chime in with a better answer but the format I use on my site is:

RewriteRule ^(.*)$ index.php?PAGE=$1 [L,QSA]
share|improve this answer
I tried RewriteRule ^/designer/([A-Z]+)$ /designers.php?designer=$1 [NC], but the URL in the browser is still the same :( – Steven Dec 15 '10 at 19:15

Depending on how you set it up, you could use the post name for the permalink. So, in the admin area of wordpress, you'd go to Pemalinks, and use a custom one. Then, type in %postname% in the input box, and that'll create the permalink by post. So, if you create a new page/post called "Test", the url would be - norwegianfashion.no/Test

share|improve this answer
I'm alread y using custom permalinks. You can see that if you brows my site. This however are custom page retrieving info from custom DB, hence not able to use WP permalink structure. I most probably have to add additional permalink rewrites. – Steven Dec 15 '10 at 23:07

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.