Mobile app version of vmapp.org
Login or Join
Turnbaugh106

: Need help getting user friendly URL I trying to get a user friendly URL. My current link is this: http://www.norwegianfashion.no/designers/?designer=Batlak-og-Selvig&bid=9 What I want is this http://www.norwegianfashion.no/designe

@Turnbaugh106

Posted in: #UrlRewriting #UserFriendly

I trying to get a user friendly URL.

My current link is this: www.norwegianfashion.no/designers/?designer=Batlak-og-Selvig&bid=9 What I want is this www.norwegianfashion.no/designers/Batlak-og-Selvig/
What do I need to do in order to get this URL?
Anything I can do in .htaccess file?

Update
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: articles.sitepoint.com/article/guide-url-rewriting/2 , but I'm not very succesfull.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Turnbaugh106

2 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

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

10% popularity Vote Up Vote Down


 

@Pierce454

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= [L,QSA]

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme