1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHPBB Mod-Rewrite Question

Discussion in 'Search Engine Optimization' started by aeiouy, Aug 29, 2005.

  1. #1
    I am using a mod-rewrite mod on some of my phpbb boards that have it rewrite all the topic,post etc urls to be .html. I got to working on an issue with it today and a question arose.

    If someone links to a specific message in my forum from outside, then the search engines catalog that, and even follow it, when they get to my site the url is going to be different. In essence, that page won't get any credit for those links right? It seems like the SE's would have two versions of the page regardless.

    I guess my question is, am I harming the ability of specific forum topics/posts to get links, because I am re-writing all the internal urls for search engines?

    Clear as mud?
     
    aeiouy, Aug 29, 2005 IP
    visio likes this.
  2. ascensions

    ascensions Active Member

    Messages:
    175
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Google will show the link with the most backlinks.
     
    ascensions, Aug 30, 2005 IP
  3. aeiouy

    aeiouy Peon

    Messages:
    2,876
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Okay, but am I hurting the ability of a forum post page to get all of its backlinks because it is split up?
     
    aeiouy, Aug 30, 2005 IP
  4. aeiouy

    aeiouy Peon

    Messages:
    2,876
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    0
    #4
    By the way I just scrapped the rewriting of urls for my two phpb sites. I think the additional confusion could be potentially harmful and I see nothing currently to support the idea that current search engines have trouble indexing regular topic/posts in phpbb.

    If anyone wants to convince me I should go back, please do, I just can't justify it, as I see no upside in rewriting my urls and I can see a downside.
     
    aeiouy, Aug 31, 2005 IP
  5. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #5
    I see no upside either. It's unnecessary. It's overkill. And, as you discovered, there are some downsides.
     
    minstrel, Sep 1, 2005 IP
  6. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #6
    the only thing you need to worry about is removing the session ids from your pages, i think its step one of the mod_rewrite mod.
     
    just-4-teens, Sep 1, 2005 IP
  7. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #7
    I think you mean the able2know SEO mod, right?
     
    minstrel, Sep 1, 2005 IP
  8. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #8
    thats the one couldnt think of the name earlier
     
    just-4-teens, Sep 1, 2005 IP
  9. aeiouy

    aeiouy Peon

    Messages:
    2,876
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Glad for that confirmation... Now I just get to watch as the search engines go back to the old html pages. I removed it from the boards but left the mod_rewrite in place to keep them from erroring out.

    Anyways... it just didn't seem worth it.. But I do agree on the SID stuff. Definately comes out.

    Will be interesting to see how things settle out.
     
    aeiouy, Sep 1, 2005 IP
  10. Sagewing

    Sagewing Peon

    Messages:
    70
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Hi -

    I've been reading this thread and I wonder if anyone could advise about the following problem I'm having:

    - I have a client who has 2 phpbb sites. The phpbb installs are generic, and the client likes this because they can update the phpbbb scripts using cpanel/whm in one step. Now, I KNOW that this is frowned upon by many but it's convenient and that's what they want to do.

    - The problem is that this wipes out any SEO mods, etc. The only thing I would really like to get in there is the removal of the SIDS, which I have learned is really the only critical thing (hence my interest in this thread).

    I searched around for this mod on the phpbb boards, and there are so many versions of it that I wasn't able to figure out where to begin! Can anyone point me in the right direction to do this mod? I want JUST the SID removal part.

    The bonus question: Any way to make this work with the cpanel/WHM update and not get wiped out when they update to a new phpBB version???

    Any advice much appreciated!!!
    thanks...
     
    Sagewing, Oct 25, 2005 IP
  11. aeiouy

    aeiouy Peon

    Messages:
    2,876
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I just posted it somewhere else in the last few days... all it is, is a single change in the sessions.php file.

    # 
    #-----[ OPEN ]------------------------------------------ 
    #  
    
    includes/sessions.php 
    
    # 
    #-----[ FIND ]------------------------------------------ 
    # 
    
    $SID = 'sid=' . $session_id; 
    
    # 
    #-----[ REPLACE WITH ]------------------------------------------ 
    # 
    
    if ( $userdata['session_user_id'] != ANONYMOUS ){ 
       $SID = 'sid=' . $session_id; 
    } else { 
       $SID = ''; 
    } 
    
    # 
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
    # 
    # EoM 
    
    Code (markup):
    Can't think of any way to maintain this over cpanel upgrades. You just have to go back in and manually upgrade it each time. A fairly quick update to one file though.
     
    aeiouy, Oct 25, 2005 IP
  12. neha_patelx9x

    neha_patelx9x Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    wow .. i used the able2know's mod .. and now i am facing the similar issue two pages html and php ... :(
     
    neha_patelx9x, Oct 25, 2005 IP
  13. Sagewing

    Sagewing Peon

    Messages:
    70
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Well, thanks for posting that mod! IT doesn't get simpler than that. Do you know if Easymod would be able to update phpBB without blowing up that mod??
     
    Sagewing, Oct 25, 2005 IP
  14. aeiouy

    aeiouy Peon

    Messages:
    2,876
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I don't think Easymod would have a problem with it but I have never used easymod, so I am not sure. My guess is it should be okay.
     
    aeiouy, Oct 25, 2005 IP
  15. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #15
    Just go back to the MOD and reverse the parts that do mod_rewrite. Everything else is fine.

    Absolutely. I have the able2know MOD installed and EasyMod will apply any new updates without blinking.
     
    minstrel, Oct 25, 2005 IP
  16. neha_patelx9x

    neha_patelx9x Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    thanks minstrel ,

    there were two files in the able2know seo mod ...

    Able2Know.com Search Engine Optimization 2.0.0.txt
    and
    phpBB static URLs mod _rewrite 1.0.0.txt

    so i reversed the changes made under the second file - phpBB static URLs mod _rewrite 1.0.0.txt

    now when a guest is looking at a post it will have the address - http://uglued.com/forum/viewtopic.php?p=180406#180406

    instead of the .html one :( .. does search engine index links that have a ? in it and p=180406 and so on ? i read somewhere that search engines find it difficult to read links with a question mark in it ..

    also msn had indexed some 2000 pages from my forum with .html :( so now i will have to wait and hope that they index the php ones , rite ?

    thanks .
     
    neha_patelx9x, Oct 26, 2005 IP
  17. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #17
    No. The question mark and certain parameters following the question mark are not a problem. You'll find plenty of those URLs indexed here
     
    minstrel, Oct 26, 2005 IP