Announcement

Collapse
No announcement yet.

htaccess rewrite www

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

  • [Forum] htaccess rewrite www

    Hello, I've got a question about the following:

    I would like to rewrite of my forum from:

    http://dj-lounge to http://www.dj-lounge.nl through .htaccess

    I'm using vbseo, but is it smarter to edit the .htaccess forum root file manually?

    I hope someone would help me, thanks.

  • #2
    Since yoo are using vBSEO you need to ask them about this in order not to mess up their redirects.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Thank you for your answer Steve.
      What is the normal way to do this, without vBseo enabled?

      Comment


      • #4
        Code:
        Options +FollowSymLinks
        <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteCond %{HTTP_HOST} !^www\.dj-lounge\.nl$ [NC]
        RewriteRule ^(.*)$ http://www.dj-lounge.nl/$1 [R=301,L]
        </IfModule>
        that should do it

        Comment

        Related Topics

        Collapse

        Working...
        X