Support » Fixing WordPress » [NSFW] Instead of showing the admin login site, I get a download of wp-login-php

Viewing 13 replies - 1 through 13 (of 13 total)
  • I think you need to contact GD about this. Sounds like an issue with their server.

    Thread Starter Autumntactix

    (@autumntactix)

    Too bad it’s really hard to get hold of their customer support. I am not able to ring them because of country code restrictions. It would really cost me a lot to ring them.

    I hope someone here will be able to help me. I tried reuploading again but it’s a no go. I am still getting the wp-login.php as a download instead of the actual site.

    Unfortunately, there’s absolutely nothing we can do to help here. It does sound like there’s something very wrong with the server’s configuration and only GD can investigate & correct it. 🙁

    Thread Starter Autumntactix

    (@autumntactix)

    This is very sad… I received a reply from GoDaddy:
    Support Staff Response
    Dear Sir/Madam,

    Thank you for your response. We have reviewed your hosting plan and confirm that no issues are present on the server that would prevent your site from accessing the WordPress dashboard. It appears that the issue that you are facing looks to be due to the .htaccess file located within the /xxoxoxoxox.com directory. As we are unable to provide support for 3rd party scripting we will be unable to review this matter further. We recommend consulting both the vendor’s online documentation, as well as the large number of online forums dedicated to coding and scripting.

    If you determine there is no issue with the code itself and believe the issue is server related, please reply with specific evidence of this and we will investigate the matter further.

    Sincerely,
    XXXXXXXX
    Professional Hosting Support

    As we value your feedback about the service you received, please take a moment to complete the short survey linked at the bottom of this email.

    I hope it’s not a dead-end…

    I’m sorry to say this but, in my experience, you picked a really poor host. We often see issues related to server configurations at GD that are being blamed on something else. 🙁

    Do you have an .htaccess file at that location? If “yes”, can you post a copy of it here?

    Thread Starter Autumntactix

    (@autumntactix)

    This is an adult site but for the sake of the htaccess to be checked by users who are more knowledgeable, here it is:

    AddHandler application/x-httpd-php52 .php .php5 .php4 .php3
    
    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    #If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L]
    
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz" [L]
    
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html" [L]
    
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html" [L]
    </IfModule>
    
    # END WPSuperCache
    
    # compress text, html, javascript, css, xml:
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    
    # Or, compress certain file types by extension:
    
    <files *.html>
    SetOutputFilter DEFLATE
    </files>
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    RedirectMatch 301 ^/wp-content/uploads/(.*)$ http://imageuploads.pinayxxxscandals.com/$1
    
    # END WordPress
    
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://homemade.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://homemade.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://hotselfies.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://hotselfies.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://imageuploads.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://imageuploads.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://milf.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://milf.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://photos.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://photos.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://pornlist.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://pornlist.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://teens.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://teens.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.homemade.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.homemade.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.hotselfies.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.hotselfies.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.imageuploads.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.imageuploads.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.milf.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.milf.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.photos.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.photos.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.pornlist.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.pornlist.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.teens.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.teens.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.ximages.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.ximages.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.xtube.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.xtube.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://ximages.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://ximages.pinayxxxscandals.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://xtube.pinayxxxscandals.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://xtube.pinayxxxscandals.com$      [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
    
    # Google Analytics Integration - Added by cPanel.
    <IfModule mod_substitute.c>
    AddOutputFilterByType SUBSTITUTE text/html
    Substitute "s|(<script type='text/javascript' src='/google_analytics_auto.js'></script>)?</head>|<script src='/google_analytics_auto.js'></script></head>|i"
    </IfModule>
    # END Google Analytics Integration

    Try removing everything after # END WordPress.

    Thread Starter Autumntactix

    (@autumntactix)

    I think it works!!!
    I am reluctant in changing anything in .htaccess as I had a very bad issue with it once. I hope this will fix the issue. I am glad I have not terminated my account with HG yet…
    I have read a lot of bad reviews with GD but still went for it with a higher plan. I am not satisfied with their customer support. Experiencing it first hand!

    Thanks @esmi!

    I will be observing this problem if it occurs again but as of this moment, yours worked!

    Thank you so much!

    No problem.I suspect you had an issue either in those rewrite rules or the Google analytics block.

    For future reference, the # BEGIN WordPress...# END WordPress block should always be the very last thing in your root .htaccess file. Not that it was causing you a problem here but keeping to that guideline should ensure your site’s custom permalink rewrites are always giving you the best performance.

    Thread Starter Autumntactix

    (@autumntactix)

    Thanks again! Been looking for answers on the Internet seems that this issue is rare.

    Have a great day!

    Thread Starter Autumntactix

    (@autumntactix)

    The problem occured again.
    everytime i try access my NSFW SITE through that link or this and this I am getting a download of wp-login.php

    This is frustrating already 🙁

    **It’s ok to click the link, you’ll just see a blank page and will download wp-login.php file.

    Thread Starter Autumntactix

    (@autumntactix)

    Received a reply from godaddy

    Thank you for your reply.

    I understand your WordPress site pinayxxxscandals.com is prompting to open a file when trying to access the WordPress admin.

    As previously advised, one or more settings in your .htaccess file is causing a conflict. As a test, we disabled your .htaccess file and the issue disappeared. We then re-enabled your .htaccess file and the issue re-occurred. As we do not support coding, we can not troubleshoot this matter any further. Researching this error on line may provide enough information to resolve your issue. Disabling your .htaccess file by renaming it might solve the issue; however, it could adversely affect your website or even bring it down entirely.

    Please let us know if we can assist you in any other way.

    I have rechecked my .htaccess – I am not good with this but I can’t really figure out what’s wrong! I uploaded a fresh copy of htaccess tried until my browser is flowing with tabs looking for answers. No luck… 🙁

    Thread Starter Autumntactix

    (@autumntactix)

    I tried again today, redoing steps but still… I just can’t access the login page.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[NSFW] Instead of showing the admin login site, I get a download of wp-login-php’ is closed to new replies.