Архиви на блога

wordpress strange redirect

WordPress is using lowercase in all urls but when someone types the url in the address bar then browser uses uppercase to encode url Uppercase is different from lowercase and wordpress can’t match url So solution is very simply This

С етикет: , , , ,
Публикувано в wordpress

open wordpress only with access key

Open your template header.php file and add this to the top of the file Then you can open your wordpress with url http://yourwordpress.com/?access=verysecretkey <?php if(!session_id()) { session_start(); } $access=“verysecretkey“; if($_GET[‘access’]==$access){ $_SESSION[‘access’]=$_GET[‘access’]; } elseif($_SESSION[‘access’]!=$access){ die(‘Im sorry you dont have permission to

С етикет:
Публикувано в Без категория