.htaccess and url
Posted
by Anthony
on Stack Overflow
See other posts from Stack Overflow
or by Anthony
Published on 2009-11-08T11:55:33Z
Indexed on
2010/04/02
0:03 UTC
Read the original article
Hit count: 317
.htaccess
|mod-rewrite
Is it possible somehow using mod_rewrite change the url from http://www.mywebsite.com/company/123/reviews
to http://www.mywebsite.com/company-123/reivews
?
It's not a redirect. The problem is that the real path is the first one and I need my browser to display the second path. So when the user goes to company-123/reviews
the content of the page is displayed from company/123/reviews
.
Thank you.
© Stack Overflow or respective owner