About URL rewriting

Discussion in 'Apache' started by rahulm, Jul 14, 2006.

  1. #1
    rahulm, Jul 14, 2006 IP
  2. rahulm

    rahulm Peon

    Messages:
    178
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
  3. indianseo

    indianseo Peon

    Messages:
    208
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Of course..

    You need your website running from a Linux webserver (Apache) with the apache module mod_rewrite enabled, and by using php.
     
    indianseo, Jul 14, 2006 IP
  4. rahulm

    rahulm Peon

    Messages:
    178
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    so doing this is it possible that google or yahoo would give me less or bad ranking means does its affect my ranking in google and yahoo
     
    rahulm, Jul 14, 2006 IP
  5. indianseo

    indianseo Peon

    Messages:
    208
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Is the site already up, running and indexed?
     
    indianseo, Jul 14, 2006 IP
  6. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #6
    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^profile/([^.]+)\.html$ profile.php?mode=view&u=$1 [L]

    domain.com/profile/7.html would look even better.
     
    Nintendo, Jul 14, 2006 IP
  7. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #7
    Check your other thread.
     
    Nintendo, Jul 14, 2006 IP
  8. rahulm

    rahulm Peon

    Messages:
    178
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #8
    hi
    my site is already running and indexed by google
     
    rahulm, Jul 14, 2006 IP
  9. indianseo

    indianseo Peon

    Messages:
    208
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #9
    In fact I was about to give him link to your profile :D

    I know you are the right person to answer about this..
     
    indianseo, Jul 14, 2006 IP
  10. rahulm

    rahulm Peon

    Messages:
    178
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I dont know who is the right person but plz send me the reply soon
     
    rahulm, Jul 14, 2006 IP
  11. amnezia

    amnezia Peon

    Messages:
    990
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #11
    you dont need to rewrite the url, SE's can easily handle a few variables in the url and seeing as you are not rewriting it for keyword purposes then i see little point. :confused:
     
    amnezia, Jul 14, 2006 IP
  12. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #12
    Look at the sixth post in this thread.
     
    Nintendo, Jul 14, 2006 IP
  13. rahulm

    rahulm Peon

    Messages:
    178
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #13
    No Boss I just want to know wheather it would affect my ranking in google or yahoo
     
    rahulm, Jul 14, 2006 IP
  14. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #14
    If the pages are already indexed, you don't want to. It would generate duplicate content.
     
    Nintendo, Jul 15, 2006 IP
  15. nddb

    nddb Peon

    Messages:
    803
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Would it generate dupe content if he did 301 redirects from the old style to the new, which in turn, is rewritten back to the old?
     
    nddb, Jul 17, 2006 IP
  16. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #16
    301 should be able to keep from geting DC. I did that once myself when I moved a board. The PR also moves to the new URLs.
     
    Nintendo, Jul 17, 2006 IP
  17. nddb

    nddb Peon

    Messages:
    803
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Excellent, coz that is what I am doing, moving a whooole bunch of links to a whole new cleaner format, but it's crazy... 301 redirect the old.. to the new.. then silently rewrite back to the old.. lol.
     
    nddb, Jul 17, 2006 IP