Reply
mod_rewrite?
Old 12-28-2005, 02:50 PM mod_rewrite?
Junior Talker

Posts: 47
How do you go about using mod_rewrite, Ive heard by using this, your site becomes SEO friendly?
pairbrother is offline
Reply With Quote
View Public Profile Visit pairbrother's homepage!
 
When You Register, These Ads Go Away!
Old 12-31-2005, 01:37 PM RE: mod_rewrite?
Junior Talker

Posts: 68
mod_rewrite is a mod in Apache. To use it first you should have Apache running as your web server and mod_rewrite should be enabled.

What it does is, it just rewrites a url in a different way.
How it makes the SEO friendly, well, if you are aware that when you use ? in the url, its not that use friendly (Please note that Google now does crawl these pages, before it dint). These pages are often given lower PR as they are considered part of the same page.

For eg:
take this current thread url
http://www.uniquewebmaster.com/showthread.php?tid=136
So, the url http://www.uniquewebmaster.com/showthread.php gets higher PR than but, http://www.uniquewebmaster.com/showthread.php?tid=136 gets lower even though its totally different url in users opinion.


Now , you can type in this url in the browser
http://www.uniquewebmaster.com/showthread.php/tid/136
This looks a totally different url.
With mod_rewrite (in .htaccess) you can rewrite this url to the original one. The url that the script will receive will be
http://www.uniquewebmaster.com/showthread.php?tid=136

But for users and SEs, it'll still be
http://www.uniquewebmaster.com/showthread.php/tid/136

Hope this helps
jaswinder_rana is offline
Reply With Quote
View Public Profile Visit jaswinder_rana's homepage!
 
Old 02-28-2006, 10:28 PM RE: mod_rewrite?
Junior Talker

Posts: 20
jaswinder pretty much explained it - you should post the question in the apache section (is there an apache section?).
Tim356 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to mod_rewrite?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10970 seconds with 12 queries