Results 1 to 4 of 4

https Question

This is a discussion on https Question within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I am running vbseo and just made the site https. I tried a redirect in htaccess for the http to ...

  1. #1
    Senior Member
    Real Name
    Itworx4me
    Join Date
    Oct 2006
    Posts
    108
    Liked
    0 times

    https Question

    I am running vbseo and just made the site https. I tried a redirect in htaccess for the http to https but it seems to hang the site up. Is the htaccess only for rewrite rules with vbseo. How would I go about redirecting http://www.mysite.com to https://www.mysite.com ???

    Thanks,
    Itworx4me

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    you can try the following in .htaccess right after "RewriteEngine on" line:
    Code:
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://www.mysite.com/$1 [L,R=301]

  3. #3
    Senior Member
    Real Name
    Itworx4me
    Join Date
    Oct 2006
    Posts
    108
    Liked
    0 times
    Having the rewrite rules in .htacess has slowed my site down when using the https. I would like to move it to the httpd.ini file. I saw someone say it looks different when you put the rewrite rules in a file. Where in the httpd.ini file would you put the rewrite rules and how would they look?

    Thanks,
    Itworx4me

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    You can simply add vBSEO's rewrite rules without changes in corresponding <Directory> section of httpd.conf, restart apache and then remove .htaccess:

    Code:
    <Directory /path/to/your/forum>
    [paste contens of .htaccess here]
    </Directory>

Similar Threads

  1. Linkback question
    By TundraSoul in forum LinkBacks
    Replies: 1
    Last Post: 12-25-2006, 04:16 PM
  2. rewrite question
    By empservices in forum Pre-Sales Questions
    Replies: 2
    Last Post: 05-05-2006, 09:38 PM
  3. Quick Question
    By Amos in forum General Discussion
    Replies: 3
    Last Post: 10-11-2005, 09:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •