Page 1 of 7 123 ... LastLast
Results 1 to 10 of 68
  1. #1
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Cannot access admin

    Hi i recently re-directed my URL to include the www.
    I changed the .htaccess file to

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^gamenet\.net\.au\/?$ "http\:\/\/gamenet\.net\.au\/" [R=301,L]

    RewriteEngine ON

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

    basically it redirected my gamenet.net.au url to www.gamenet.net.au

    When i try and log onto my admin side, i type my username and password. and nothing happens. It is not the wrong password. because when i remove that code it works. I need the code so i do not want to remove it.

    However when i was logging on i noticed inthe bottom left corner "connecting to gamenet.net.au" Maybe this will help to solve my problem. Should it connect to www.gamenet.net.au instead or does it not matter? Also. yesterday i had slightly different code i think. however i was able to get into admin. howver when i tried changing a page's description it would not work. i removed the htaccess file and magically it worked again.

    Could someone please explain this to me, or give me a solution, thanks!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Cannot access admin

    Get rid of this piece of code as was suggested in your other thread
    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^gamenet\.net\.au\/?$ "http\:\/\/gamenet\.net\.au\/" [R=301,L]
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Cannot access admin

    ah yes

    RewriteEngine ON

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

    That is now my code. but problem still hasnt fixed

  4. #4
    Join Date
    Apr 2010
    Posts
    149
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Oh no. sorry but i had the code wrong. I entered this code correctly before however i could not edit any page.

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.gamenet.net.au$
    RewriteRule ^(.*)$ http://www.gamenet.net.au/$1 [R=301]

    It is happeneing again. when i go to edit anything. for example the text it just doesnt work?

    Please help!

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Cannot access admin

    Quote Originally Posted by gamenet View Post
    Hi i recently re-directed my URL to include the www.
    I changed the .htaccess file to

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^gamenet\.net\.au\/?$ "http\:\/\/gamenet\.net\.au\/" [R=301,L]

    RewriteEngine ON

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

    basically it redirected my gamenet.net.au url to www.gamenet.net.au

    When i try and log onto my admin side, i type my username and password. and nothing happens. It is not the wrong password. because when i remove that code it works. I need the code so i do not want to remove it.

    However when i was logging on i noticed inthe bottom left corner "connecting to gamenet.net.au" Maybe this will help to solve my problem. Should it connect to www.gamenet.net.au instead or does it not matter? Also. yesterday i had slightly different code i think. however i was able to get into admin. howver when i tried changing a page's description it would not work. i removed the htaccess file and magically it worked again.

    Could someone please explain this to me, or give me a solution, thanks!
    The code above must work in conjunction with your two "configure.php" files. In both of those you must make sure your Domain Name or URL is also using the 'www' in it.

    ie.

    define('HTTP_SERVER', 'http://www.gamenet.net.au');
    define('HTTPS_SERVER', 'https://www.gamenet.net.au');

  6. #6
    Join Date
    Aug 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Cannot access admin

    I made this change to switch over to a dedicated ssl, however cannot access my login (it's just a blank page). I'm fairly positive it's based on something in one of the configure.php files, any idea what would be driving this error?

  7. #7
    Join Date
    Sep 2010
    Location
    US
    Posts
    26
    Plugin Contributions
    0

    Default Re: Cannot access admin

    I am right there with you Throwdown... Have triple checked my 2 configure files (admin/includes/configure.php and configure.php in the root. I did just move over to SSL and now I am stuck. I cannot get into my admin page.

    The site is fully functional otherwise, but not admin entrance. Any help would be appreciated. I know I am missing something simple

    Thanks!

  8. #8
    Join Date
    Aug 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Quote Originally Posted by Ampboy View Post
    I am right there with you Throwdown... Have triple checked my 2 configure files (admin/includes/configure.php and configure.php in the root. I did just move over to SSL and now I am stuck. I cannot get into my admin page.

    The site is fully functional otherwise, but not admin entrance. Any help would be appreciated. I know I am missing something simple

    Thanks!
    Guess I'm glad I'm not the only one... Hopefully someone will be able to assist!

  9. #9
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Cannot access admin

    1. Was access previously available?

    2. To say; "moved over to SSL" is confusing as it is more correct to say you had SSL installed. If you had to "move" somewhere then where did you move to?

  10. #10
    Join Date
    Aug 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Cannot access admin

    Quote Originally Posted by Website Rob View Post
    1. Was access previously available?

    2. To say; "moved over to SSL" is confusing as it is more correct to say you had SSL installed. If you had to "move" somewhere then where did you move to?
    I just modified my configure.php files to enable to "true".

 

 
Page 1 of 7 123 ... LastLast

Similar Threads

  1. I cannot access my admin?!
    By df1810 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jan 2009, 06:14 AM
  2. Replies: 11
    Last Post: 4 Oct 2007, 06:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR