Info
- 13 posts
- 3 voices
- Started 2 years ago by mcmc
- Latest reply from mcmc
- This topic is resolved
login
-
- Posted 2 years ago #
when I login to my forum (WWW.investorsbuzz.com/forum_) and then again back to my home page, and click my link to forum, which directs me to http://investorsbuzz.com/forum, (without WWW), I am not logged in anymore. If I however enter the 'www' again in the URL I am loged in again. Unfortunately I dont know how to change the forum link to include the 'www' in the url, since its the address of a wordpress page. Is there another fix to keep me logged in?
-
- Posted 2 years ago #
I tried redirection from http://investorsbuzz.com/forum_ to http://www.investorsbuzz.com/forum_ but no success, get an error
-
- Posted 2 years ago #
Put this in your .htaccess file at the public_html level:
# Getting rid of the WWW in front RewriteEngine on RewriteCond %{HTTP_HOST} ^www.investorsbuzz.com [NC] RewriteRule ^(.*)$ http://investorsbuzz.com/ [L,R=301]If you have wordpress info in that file, put this BEFORE the WP stuff.
Ugh and there's a bug in put $1 right after the / in http://investorsbuzz.com/
I don't know why that's happening. See http://yfrog.com/eahtaccessg
-
- Posted 2 years ago #
doesn't seem to work, looks like this now (see http://investorsbuzz.com/forum_)
I added the code at the beginning:
# Getting rid of the WWW in front
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.investorsbuzz.com [NC]
RewriteRule ^(.*)$ http://investorsbuzz.com/ [L,R=301]RewriteEngine On
RewriteBase /#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteRule ^(.*/)?avatar/(.*) wp-content/avatar.php?file=$2 [L]
RewriteRule ^(.*/)?sitemap.xml wp-content/sitemap.php [L]
RewriteRule ^(.*/)?global-posts-feed/(.*) wp-content/recent-global-posts-feed.php [L]# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]Also: what do you mean with
Ugh and there's a bug in put $1 right after the / in http://investorsbuzz.com/Thanks!
-
- Posted 2 years ago #
Well yeah, it's not working :)
Look at this picture: http://yfrog.com/eahtaccessg
You'll see what I mean about $1
http://investorsbuzz.net/<PUT THE $1 HERE>
I can't get the link to work right :/
-
- Posted 2 years ago #
I see. I put the $1 there, still not working, header image disappeared now. maybe I am using the wrong htaccess file? or the wrong position?
# Getting rid of the WWW in front
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.investorsbuzz.com [NC]
RewriteRule ^(.*)$ http://investorsbuzz.com/$1 [L,R=301]RewriteEngine On
RewriteBase /#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteRule ^(.*/)?avatar/(.*) wp-content/avatar.php?file=$2 [L]
RewriteRule ^(.*/)?sitemap.xml wp-content/sitemap.php [L]
RewriteRule ^(.*/)?global-posts-feed/(.*) wp-content/recent-global-posts-feed.php [L] -
- Posted 2 years ago #
I just realized, I actually don't want to get rid of www, I want to add it.. cause with http://www.investorsbuzz.com/fourm_ I stay logged in
-
- Posted 2 years ago #
just tried this instead, but also no luck
# Getting rid of the WWW in front
RewriteEngine on
RewriteCond %{HTTP_HOST} ^investorsbuzz.com/forum_ [NC]
RewriteRule ^(.*)$ http://www.investorsbuzz.com/forum_/$1 [L,R=301] -
- Posted 2 years ago #
I could also no login anymore, therefore I removed the code.
maybe this info is helpful:as soon as I log in at http://investorsbuzz.com/forum_/bb-login.php
it changes to http://www.investorsbuzz.com/forum_/ -
- Posted 2 years ago #
To force your www, see http://www.besthostratings.com/articles/force-www-htaccess.html
-
- Posted 2 years ago #
It doesn't seem to work, now my homepage is not displaying anymore
I added this to the htaccess file at the top
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.investorsbuzz.com$
RewriteRule ^(.*)$ http://www.investorsbuzz.com/$1 [R=301]Then I tried this:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.investorsbuzz.com/forum_$
RewriteRule ^(.*)$ http://www.investorsbuzz.com/forum_/$1 [R=301]both no success
-
- Posted 2 years ago #
I am also facing the problem related to login. I have installed both wordpress blog and bbpress forums. But on integrating them, i am facing a problem of login into my account while using firefox. Although it is working properly in other browsers. Please check http://bits-oasis.org/blog and http://bits-oasis.org/forum
-
- Posted 2 years ago #
I was able to circumvent the problem by renaming the page and redirecting it. Thanks for the help
-
You must log in to post.