Problems with permalinks having added .htaccess file

  • Author
    Posts
  • #3074247

    We recently uploaded an .htaccess files to deny two specific IPs. our site now shows only the home page. All other pages show a blank page with some source code.We have replaced the .htaccess file with a blank file but this has not helped. 1and1 have advised that the .htaccess file may have changed permalinks. We cannot access the admin though to make any changes. How can we access permalink settings without access to the admin. (We have FTP access). Thanks

    This is the code displayed on non-functioning pages:

    <html>
    <head>
    <meta charset=”utf-8″>
    <style type=”text/css”>
    html, body, #partner, iframe {
    height:100%;
    width:100%;
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    }
    body {
    overflow:hidden;
    }
    </style>
    <meta content=”NOW” name=”expires”>
    <meta content=”index, follow, all” name=”GOOGLEBOT”>
    <meta content=”index, follow, all” name=”robots”>
    <!– Following Meta-Tag fixes scaling-issues on mobile devices –>
    <meta content=”width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;” name=”viewport”>
    </head>
    <body>

    document.write(

    + ‘src=”//sedoparking.com/frmpark/’
    + window.location.host + ‘/’
    + ‘1und1parking5’
    + ‘/park.js”>’
    + ”
    );

    </body>
    </html>

    #3074344

    pavanraheja
    Member

    Hi @markdesignbrighton,

    You are working on a Self Hosted(1 and 1) WordPress site and not a site hosted here on WordPress.com. These are two different platforms of WordPress. You can learn more about it here:

    WordPress Com vs WordPress ORG

    You should be able to access the Admin(phpmyadmin) using the 1 and 1 backend cpanel –– the support team should be able to help you with it. You can then manage all the files. You can learn more about managing your .htaccess file here:

    https://codex.wordpress.org/htaccess

    If you still face an issue, you can get help on the WordPress.org support site:

    WordPress org Support

    This forum is for WordPress.com folks only. Best wishes to get your site up and running soon.

    Thanks!

    #3074354

    Thanks for your help.

    #3074357

    pavanraheja
    Member

    Glad I could help you, let me know if I can do anything else.

    Best Wishes! :)

The topic ‘Problems with permalinks having added .htaccess file’ is closed to new replies.