Announcement

Collapse
No announcement yet.

mod_rewrite urls and forum path

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wayne Luke
    replied
    If you want things to route properly, then yes. As the software is written today. I suspect it is envisioned to be running in the root directory of a site as a whole site solution..

    Leave a comment:


  • RobAC
    replied
    Originally posted by Wayne Luke View Post
    If you look at the .htaccess for the mod_rewrite URLS, it uses the second /forum/ as the basis for its rewrites.

    Code:
    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    RewriteRule ^entries/.* entry.php [QSA]
    Thank you Wayne. Is that really necessary to use a second /forum/ ?

    Leave a comment:


  • Wayne Luke
    replied
    If you look at the .htaccess for the mod_rewrite URLS, it uses the second /forum/ as the basis for its rewrites.

    Code:
    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    RewriteRule ^entries/.* entry.php [QSA]

    Leave a comment:


  • Zachery
    replied
    The software doesn't care what folder it is in, but it appends /forum/ to forums (when you look at one)

    Leave a comment:


  • donald1234
    replied
    The second forum is there by default because it is a forum, the first forum is there because you put it there!

    Leave a comment:


  • RobAC
    replied
    Originally posted by donald1234 View Post

    Yes, you must have changed the "upload" folder to "forums" you could have called it anything you want.
    I understand that....but again, my question is, why is /forums/forums/ repeated twice in the URL?

    Leave a comment:


  • donald1234
    replied
    Originally posted by RobAC View Post

    So I have /public_html/forums on my server.
    Yes, you must have changed the "upload" folder to "forums" you could have called it anything you want.

    Leave a comment:


  • RobAC
    replied
    I'm not sure I understand....

    So I have /public_html/forums on my server.

    Yet my forum URLs are all http://www.mysite.com/forums/forums/xxxxxxxxx

    Leave a comment:


  • donald1234
    replied
    Vbulletin can't have this forum in the root as the main buying site is there, so they have put it in a folder called "forum" whether it was wise to call the folder "forum" is debatable but they could have called it eg "support" then you would have
    Code:
    [COLOR=#000000][COLOR=#0000BB]http[/COLOR][COLOR=#007700]:[/COLOR][COLOR=#FF8000]//www.vbulletin.com/support/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting[/COLOR][/COLOR]

    Leave a comment:


  • RobAC
    started a topic [Forum] mod_rewrite urls and forum path

    mod_rewrite urls and forum path

    I have mod_rewrite URLs enabled in my forums via the AdminCP. I'm curious why the forum path includes /forum/forum ??

    When I look at this forum path in the address bar of my web browser, I see:

    PHP Code:
    http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting 
    Why is forum/forum/ in the URL twice? Isn't that redundant....and useless??

Related Topics

Collapse

Working...
X