Loginbox
Trage bitte in die nachfolgenden Felder Deinen Benutzernamen und Kennwort ein, um Dich einzuloggen.
login and logout errors
Douzeper 
Benutzer
Geschlecht: 
Herkunft:
Antrim, Northern Ireland
Alter: 44
Beiträge: 310
Dabei seit: 10 / 2004

Benutzer

Herkunft:
Antrim, Northern IrelandAlter: 44
Beiträge: 310
Dabei seit: 10 / 2004
Betreff: Re: login and logout errors - Gepostet: 26.06.2012 - 12:13 Uhr -
I have this set..
But it still works without the www.
But it still works without the www.
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
Betreff: Re: login and logout errors - Gepostet: 27.06.2012 - 12:25 Uhr -
Hi Douzeper,
as far as I see you should select the dot "Do Not Redirect www." - so normally it sould redirect then if www. is not used.
If this doesn't work you can try the .htaccess Code like that
(replace domain.de with your Domain)
Please ensure you only have "RewriteEngine On" once in your .htaccess (not multiple times) and place this rule directly under it. (So its the first rule)
Sincerely,
Chris
as far as I see you should select the dot "Do Not Redirect www." - so normally it sould redirect then if www. is not used.
If this doesn't work you can try the .htaccess Code like that
Code
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.de$ [NC]
RewriteRule ^(.*) http://www.example.de/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^example.de$ [NC]
RewriteRule ^(.*) http://www.example.de/$1 [L,R=301]
(replace domain.de with your Domain)
Please ensure you only have "RewriteEngine On" once in your .htaccess (not multiple times) and place this rule directly under it. (So its the first rule)
Sincerely,
Chris
CBACK Forum kaufen | individuelles Webdesign | PHP & Pluginentwicklung | Projektpflege
KEIN Support per PM, Mail oder Messenger! - Denk an die Community!
NO Support via PM, Mail or Messenger! - Remember the Community
KEIN Support per PM, Mail oder Messenger! - Denk an die Community!
NO Support via PM, Mail or Messenger! - Remember the Community
Douzeper 
Benutzer
Geschlecht: 
Herkunft:
Antrim, Northern Ireland
Alter: 44
Beiträge: 310
Dabei seit: 10 / 2004

Benutzer

Herkunft:
Antrim, Northern IrelandAlter: 44
Beiträge: 310
Dabei seit: 10 / 2004
Betreff: Re: login and logout errors - Gepostet: 27.06.2012 - 12:53 Uhr -
I now have as .htaccess
http://motorhomecraic.com/forum/index.php?mode=portal still works
but now
http://motorhomecraic.com add's the www
- Now I am not sure if it done that before
Does the .htaccess file look ok?
MANY thanks for your help!
EDIT: selecting "do not redirect www" was no good.
Code
RewriteEngine on
RewriteCond %{HTTP_HOST} ^motorhomecraic.com$ [NC]
RewriteRule ^(.*) http://www.motorhomecraic.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^motorhomecraic\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.motorhomecraic\.com$
RewriteRule ^/?$ "http\:\/\/www\.motorhomecraic\.com\/forum\/index\.php\?mode\=portal" [R=301,L]
RewriteCond %{HTTP_HOST} ^motorhomecraic.com$ [NC]
RewriteRule ^(.*) http://www.motorhomecraic.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^motorhomecraic\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.motorhomecraic\.com$
RewriteRule ^/?$ "http\:\/\/www\.motorhomecraic\.com\/forum\/index\.php\?mode\=portal" [R=301,L]
http://motorhomecraic.com/forum/index.php?mode=portal still works
but now
http://motorhomecraic.com add's the www
- Now I am not sure if it done that before
Does the .htaccess file look ok?
MANY thanks for your help!
EDIT: selecting "do not redirect www" was no good.
Dieser Post wurde 1 mal bearbeitet. Letzte Editierung: 27.06.2012 - 12:54 Uhr von Douzeper.
Betreff: Re: login and logout errors - Gepostet: 27.06.2012 - 13:45 Uhr -
Hi Douzeper,
this looks good! Just remove this line:
Then everything sould work perfectly.
Sincerely,
Chris
this looks good! Just remove this line:
Code
RewriteCond %{HTTP_HOST} ^motorhomecraic\.com$ [OR]
Then everything sould work perfectly.
Sincerely,
Chris
CBACK Forum kaufen | individuelles Webdesign | PHP & Pluginentwicklung | Projektpflege
KEIN Support per PM, Mail oder Messenger! - Denk an die Community!
NO Support via PM, Mail or Messenger! - Remember the Community
KEIN Support per PM, Mail oder Messenger! - Denk an die Community!
NO Support via PM, Mail or Messenger! - Remember the Community
Douzeper 
Benutzer
Geschlecht: 
Herkunft:
Antrim, Northern Ireland
Alter: 44
Beiträge: 310
Dabei seit: 10 / 2004

Benutzer

Herkunft:
Antrim, Northern IrelandAlter: 44
Beiträge: 310
Dabei seit: 10 / 2004
Betreff: Re: login and logout errors - Gepostet: 27.06.2012 - 14:09 Uhr -
Done but...
http://motorhomecraic.com/forum/index.php?mode=portal still works without www
It is still better than it was
http://motorhomecraic.com/forum/index.php?mode=portal still works without www
Code
RewriteEngine on
RewriteCond %{HTTP_HOST} ^motorhomecraic.com$ [NC]
RewriteRule ^(.*) http://www.motorhomecraic.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www\.motorhomecraic\.com$
RewriteRule ^/?$ "http\:\/\/www\.motorhomecraic\.com\/forum\/index\.php\?mode\=portal" [R=301,L]
RewriteCond %{HTTP_HOST} ^motorhomecraic.com$ [NC]
RewriteRule ^(.*) http://www.motorhomecraic.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www\.motorhomecraic\.com$
RewriteRule ^/?$ "http\:\/\/www\.motorhomecraic\.com\/forum\/index\.php\?mode\=portal" [R=301,L]
It is still better than it was
Betreff: Re: login and logout errors - Gepostet: 28.06.2012 - 10:36 Uhr -
Hmmm I don't know what is exactly relevant for the Portal Plugin so I suggest you drop FragZ (the Portal Author) a little note in his Portal thread about this case so he can tell you what you can modify on the portal-Rule without affecting the function of the Plugin itself. I don't know what maybe happens to the portal plugin if we add another rule changing the portal link itself (or wich parameters maybe get added on the portal sometimes). 
Sincerely,
Chris

Sincerely,
Chris
CBACK Forum kaufen | individuelles Webdesign | PHP & Pluginentwicklung | Projektpflege
KEIN Support per PM, Mail oder Messenger! - Denk an die Community!
NO Support via PM, Mail or Messenger! - Remember the Community
KEIN Support per PM, Mail oder Messenger! - Denk an die Community!
NO Support via PM, Mail or Messenger! - Remember the Community
Dieser Post wurde 1 mal bearbeitet. Letzte Editierung: 28.06.2012 - 10:36 Uhr von cback.
|
Registrierte in diesem Topic Aktuell kein registrierter in diesem Bereich |
Cookies von diesem Forum entfernen
•
FAQ / Hilfe
•
Teamseite
|
Aktuelle Ortszeit: 24.05.2013 - 03:57





Saarland