|
|
|
|
Welcome
Time Now: Tue Apr 24, 2018 6:08 pm
All times are GMT
|
|
|
|
|
|
|
|
|
|
|
SEO 1 Forums
>
Mod Rewrite >
Mod Rewrite and .htaccess
mellisajohn
New Member
Joined: 13 Feb 2009
Good Posts: 13
|
Mod Rewrite and .htaccess |
|
|
Most webmasters and people working with websites or blogs usually might have come across the two popular terms mod_rewrite as well as .htaccess.
First lets focus on the term mod_rewrite:
A quote for mod_rewrite:
“The great thing about mod_rewrite is it gives you all the configurability and flexibility of Sendmail. The downside to mod_rewrite is that it gives you all the configurability and flexibility of Sendmail.''
-- Brian Behlendorf
Apache Group
The mod_rewrite is an extremely powerful and useful module provide by Apache’s Web Server.Mod Rewrite uses the rewrite engine software in order to rewrite URL’s to make it more meaningful for humans as well as for better optimizations for search engines. Online Users generally prefer simple and meaningful URL’s to query string parameters.
Mod_rewrite supports an unlimited number of rules to provide a powerful URL mechanism.
Benefits of URL rewriting:
1.Makes site URL’s meaningful and search engine friendly .
2.It helps in not revealing the internal workings of a website to other users.
For example the url,
http://www.mynewsite.com/widgets.php?colour=blue
can be rewritten as
http://www.mynewsite.com/blue
.htaccess:
The above URL change can be provided by means of including the rewrite rules in .htaccess which is placed in a directory .These are directory level configuration files.The directives in the .htaccess files would apply to the directories and subdirectories where this file is placed.
Uses of .htaccess:
1.They provide security restrictions for directories.There is also the .htpasswd which accompanies this file and is used for providing username and password.
2.They are used rewrite complex URL’s to simpler ones.
3.They are used in changing a page when a server side error like HTTP 404 occurs
If interested in latest updates on forum,visit our site http://forumwatch.org |
Sat Feb 14, 2009 6:39 am |
|
|
steven8522
New Member
Joined: 16 Jul 2009
Good Posts: 3
|
People can also obtain Web page hosting from other, alternative service providers. Personal web site hosting is typically free, advertisement-sponsored, or cheap. Business web site hosting often has a higher expense.
No fake signatures - thanks |
Thu Jul 16, 2009 9:50 am |
|
|
seoprofessional
Full Member
Joined: 26 Dec 2008
Good Posts: 57
|
thanks for your information but can you tell me how can i do this Mod-rewrite and .hta access
thanks |
Fri Jul 17, 2009 11:03 am |
|
|
sanseo
Full Member
Joined: 18 Feb 2008
Good Posts: 86
Location: India , delhi |
don`t get confuse with mod_rewrite and .htaccess,
Mod_rewrite supports an unlimited number of rules to provide a powerful URL mechanism.
.htaccess is file where we write rule for linux OS servers.
so If you are using Linux based servers than .htacces is essential for Mod_rewrite.
<a href="http://www.magicbricks.com/bricks/city/Residential_Kolkata_real_estate"> Residential Property News </a> |
Wed Oct 20, 2010 1:07 pm |
|
|
jonson
Contributing Member
Joined: 25 Apr 2010
Good Posts: 34
|
yes san, mod_rewrite is use for unlimited number of rules. But ..htaccess use for linux OS server.
Computer Repair Chicago|Grout Repair Danbury| |
Wed Dec 22, 2010 7:34 am |
|
|
richarddonald78
Contributing Member
Joined: 16 Feb 2011
Good Posts: 25
|
Most webmasters and people excavation with websites or blogs unremarkably power make travel crossways the two general terms mod_rewrite as well as .htaccess.
RC Helicopters | lipo | Toll Free |
Thu Apr 07, 2011 6:19 pm |
|
|
bettyem
Preferred Member
Joined: 08 May 2009
Good Posts: 182
|
Great informative post.
I have came accross many such URL who are simply manipulated by using this magic power but due to I am newbie I don't know how it done.
Now I am clear that this technique is call Mod Rewrite.
So thanks a lot for sharing this. Today I have learn something very important for me coz for rest all folks this is common. |
Fri Jun 10, 2011 5:08 am |
|
|
seojoy
Senior Member
Joined: 17 Apr 2010
Good Posts: 323
Location: India |
quote: Originally posted by sanseo don`t get confuse with mod_rewrite and .htaccess,
Mod_rewrite supports an unlimited number of rules to provide a powerful URL mechanism.
.htaccess is file where we write rule for linux OS servers.
so If you are using Linux based servers than .htacces is essential for Mod_rewrite.
Nice information San... thanks you for sharing.  |
Tue Nov 15, 2011 8:15 am |
|
|
|
|
|
|
|
|
|