Hai,
What is the diffrent between RedirectMatch & RewriteRule
Bought do the same its like, re-directing?
| SitePoint Sponsor |
Hai,
What is the diffrent between RedirectMatch & RewriteRule
Bought do the same its like, re-directing?


Those don't appear to be PHP functions.
17-29% of paid ad clicks are fraudulent. Get protected with Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more.
Dan,
Oh i am really sorry, it was apache, i was in the php mood when posting. sorry. can sombody move this to an appropriate forum.


According to the documentation for mod_alias, the redirect directives (like RedirectMatch) instruct the client to make another request for a new URI.
If you create a RewriteRule that maps the URL "/blog/read/1" to "/blog.php?action=read&id=1", the results of the blog.php access are sent in response to the /blog URL without any client-side redirection occurring.
You can use mod_rewrite to do redirection as well, but it's a choice you make.
17-29% of paid ad clicks are fraudulent. Get protected with Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more.
Bookmarks