Post by ideep13 » Fri Jun 13, 2014 6:30 pm

Hi,

I am having problems with login into administration panel.

I have found out the problem.

It is the .htacces file - and this is causing my problem:

Code: Select all

RewriteCond %{HTTP_HOST} !^www.xxxx.com$ [NC]
RewriteRule ^(.*)$ http://www.xxxx.com/$1 [L,R=301]
If I remove it, everything works fine.

I need to solve this, because of the whole seo and page rank situation so I kindly ask you for your help if there is any way to go around this..

Love,
deep13

p.s. I have OC 1.5.1.3 version
Last edited by ideep13 on Fri Jun 13, 2014 9:46 pm, edited 1 time in total.

User avatar
Active Member

Posts

Joined
Mon Jun 18, 2012 2:47 am

Post by cwswebdesign » Fri Jun 13, 2014 8:03 pm

The redirect that you posted looks to be redirecting www to www which is causing an unnecessary loop. I take it that you really wanted to direct non www to www?

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by ideep13 » Fri Jun 13, 2014 8:08 pm

this redirect worked just fine from non www to www..

the problem is if I have this in my .htaccess file I can not login into my admin panel

so I need to find out how can I still have this in my .htacces file but been able to login

..if anybody has another code or solution to this I'd be grateful.

User avatar
Active Member

Posts

Joined
Mon Jun 18, 2012 2:47 am

Post by ideep13 » Fri Jun 13, 2014 9:23 pm

nevermind I found the problem..

I had to change the config.php file

User avatar
Active Member

Posts

Joined
Mon Jun 18, 2012 2:47 am

Post by sqwireless » Tue Jun 17, 2014 9:57 am

RewriteCond %{HTTP_HOST} ^sqwireless.com$ [NC]
RewriteRule ^(.*)$ http://www.sqwireless.com/$1 [R=301,L]


This is what i use, i had the same problem, but i forgot what i did, and after that it worked.

Newbie

Posts

Joined
Mon Jun 16, 2014 7:49 am
Who is online

Users browsing this forum: No registered users and 15 guests