THE URL Rewriting in apache.
Rewrite rules is part of the Apache web server’s configuration for a website url is very important part from the seo prospective so we need to create clean and pretty url for our website like
http://www.avc.com/my/name/xyz.
Now below is the method for writing url form the .htaccess file :
RewriteEngine on
The general formula for a rewrite rule is:
RewriteRule http://www.avc.com/my/name/xyz/to/match http://www.avc.com/my/name/xyz/to/use/if/it/matches [options]
When we talk about URL rewriting, we’re usually talking about one of two things: redirecting the browser to a different URL we will talk about this latter.
Rewrite rules is part of the Apache web server’s configuration for a website url is very important part from the seo prospective so we need to create clean and pretty url for our website like
http://www.avc.com/my/name/xyz.
Now below is the method for writing url form the .htaccess file :
RewriteEngine on
The general formula for a rewrite rule is:
RewriteRule http://www.avc.com/my/name/xyz/to/match http://www.avc.com/my/name/xyz/to/use/if/it/matches [options]
When we talk about URL rewriting, we’re usually talking about one of two things: redirecting the browser to a different URL we will talk about this latter.
No comments:
Post a Comment