Hot answers tagged htaccess
Your site has likely been hacked. My site had the Darkleech infection, which injected some malicious code into wp-includes/nav-menu.php, causing .htaccess to reset to 444 on any page load. I'd recommend you install the Sucuri plugin and let it restore any files that have been corrupted. Assuming your site was hacked, use their Post-Hack tab to reset ...
You can use the define('FORCE_SSL_LOGIN', true); options provided by WP. You just have to add the line in wp-config.php. Here is the link to wordpress codex, in case that you need more examples.
Put this in your .htaccess file after your password protection on the entire site: <Files "page.php"> Allow from all Satisfy any
manual modifications of .htaccess must be done after "# END WordPress" to not be overwrited
try "update URL Plugin" It updates all urls and content links in your website; http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/
Method 1: You can export your data from "Tools > Export" and for ensure export from database and rename old blog folder, then install WordPress in root & active WordPress Network. set url structure for new blog to sub-folder. now create new blog with "blog" name, login to blog & import old blog data. Your old post in blog and new post in main ...
Only top voted, non community-wiki answers of a minimum length are eligible