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 forum error 500 internal

Discussion in 'phpBB' started by swollenpickles, Dec 26, 2006.

  1. #1
    I'm getting a strange error message when going into forum posts. This is what it says:
    http://www.edu-hq.com/forum/topic41.html

    What is happening? How do I fix it?
     
    swollenpickles, Dec 26, 2006 IP
  2. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I get a 404 not found here. I see you did a SE friendly URL hack. Which one did you use? Can you check your .htaccess file and see if something is missing.
     
    maiahost, Dec 27, 2006 IP
  3. swollenpickles

    swollenpickles Peon

    Messages:
    1,271
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I used the phpBB SEO mod.

    Here's my .htaccess file:
    Code (Text):
    1. RewriteEngine On
    2. RewriteCond %{HTTP_HOST} ^edu-hq.com$ [NC] RewriteRule ^(.*)$ http://www.edu-hq.com/$1 [R=301,L]
    3.  
    4. Options +FollowSymlinks
    5. RewriteEngine On
    6. RewriteBase /
    7.  
    8. # FORUM PROTECTION RULE
    9. RewriteRule ^forum/.+/([^/]+\.html)$ /forum/index.php [R=301,L]
    10. # CATEGORIES
    11. RewriteRule ^forum/.+-vc([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L]
    12. # PAGINATED FORUM
    13. RewriteRule ^forum/.+-vf([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L]
    14. # FORUM
    15. RewriteRule ^forum/.+-vf([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]
    16. # PAGINATED TOPIC
    17. RewriteRule ^forum/.+-vt([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
    18. # TOPIC
    19. RewriteRule ^forum/.+-vt([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L]
    20. # POST
    21. RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L]
    22. #PROFILES
    23. RewriteRule ^forum/member([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L]
    24.  
    25. # BEGIN WordPress
    26. <IfModule mod_rewrite.c>
    27. RewriteEngine On
    28. RewriteBase /
    29. RewriteCond %{REQUEST_FILENAME} !-f
    30. RewriteCond %{REQUEST_FILENAME} !-d
    31. RewriteRule . /index.php [L]
    32. </IfModule>
    33.  
    34. # END WordPress
    Basically this is what I'd like to happen. If people type in http://edu-hq.com they get sent to http://www.edu-hq.com which acts as the homepage. From there I'd like three sub directories like below:

    http://www.edu-hq.com
    /blog
    /forum
    /directory

    How do I set up .htaccess to make this all happen as well as work with the forum rewrite rule?
    This is soooo frustrating at the moment!! :eek:
     
    swollenpickles, Dec 27, 2006 IP
  4. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    maiahost, Dec 27, 2006 IP
    swollenpickles likes this.