how do I login when website is not found?
-
cannot log in, domain not recognized
The blog I need help with is: (visible only to logged in users)
-
I cannot login as website is not even being found by search engines. Can someone plse help? I added this yesterday to try keep my google page rank from my old blog and think this may have changed something.
I pasted this – copied from the internet (see at the end) : Obviously a bad move and I am not really sure it would work. My knowledge is limited on this stuff. Can anyone please tell me how to find my website and login again??
Thanks…Mandy
<?php
02
/*
03
Template Name: WPBeginner Blogger
04
*/
05
global $wpdb;
06
$old_url = $_GET[‘q’];
07
if ($old_url != “”) {
08
$permalink = explode(“blogspot.com”, $old_url);
09
$q = “SELECT guid FROM $wpdb->posts LEFT JOIN $wpdb->postmeta “.
10
“ON ($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE “.
11
“$wpdb->postmeta.meta_key=’blogger_permalink’ AND “.
12
“$wpdb->postmeta.meta_value=’$permalink[1]'”;
13
$new_url = $wpdb->get_var($q)? $wpdb->get_var($q) : “/”;
14
header (“HTTP/1.1 301 Moved Permanently”);
15
header(“Location: $new_url”);
16
}
17
?> -
Oh dear – just seen the words “moved permanently” in the html above..what have I done???
M.
- The topic ‘how do I login when website is not found?’ is closed to new replies.