Problems with permalinks having added .htaccess file
-
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> -
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:
This forum is for WordPress.com folks only. Best wishes to get your site up and running soon.
Thanks!
-
-
- The topic ‘Problems with permalinks having added .htaccess file’ is closed to new replies.