Htaccess maintenance page rules that actually work with WordPress?
what about a plugin like maintenance mode? http://wordpress.org/extend/plugins/maintenance-mode/ only allows access by logged in users
what about a plugin like maintenance mode? http://wordpress.org/extend/plugins/maintenance-mode/ only allows access by logged in users
Options +FollowSymLinks RewriteEngine on RewriteRule (.*) /directory/$1 [R=301,L] http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule look at “backreferencing”
@define(‘ADMIN_COOKIE_PATH’, “https://wordpress.stackexchange.com/”); Putting this at the top of wp-config.php allows me to log in. Not sure if this is the proper way to set everything up, but it works… EDIT That only solved half of the problem. Permalinks were then broken. @toscho had the proper suggestion for anyone who may see this and has a … Read more
This is not really a clear question, and plugin suggestions are usually closed, as per the FAQ https://wordpress.stackexchange.com/faq It all depends on what kind of work you want to do: either edit .htaccess or work with a plugin GUI. Redirection works well and will allow entry of rules via CSV file and logging of all … Read more
WordPress has a good writeup about this at Giving_WordPress_Its_Own_Directory. Many people want WordPress to power their site’s root (e.g. http://example.com) but they don’t want all of the WordPress files cluttering up their root directory. WordPress allows you to install it into a subdirectory, but have your blog exist in the site root. You could also … Read more
Fixed it by adding following code. (just update for others to use it) <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{QUERY_STRING} . RewriteCond %{QUERY_STRING} !^(s|p)=.* RewriteCond %{REQUEST_URI} !.*wp-admin.* RewriteRule .* http://www.mydoman.com%{REQUEST_URI}? [R=301,L] </IfModule>
No, it will not work. You pretty much will disable php to work on your site admin. On wp-admin there are files being executed when entering the admin side of the site.
First back up your database. It is always wise to do that before doing anything. Now download and install Velvet Blues Update URLs plugin. Enter your old URL (like http://example.se/www.example.se) and new URL (like http://www.example.com) and select all options and click Update. Also update your permalinks afterward. This should sort your problem
Try memory_limit = 128M in php.ini. Your syntax may be wrong. You can run a function called phpinfo to see what kind of memory allocation you really have. Make a plain text file and call it phpinfo.php and put just this line in it: <?php phpinfo(); ?> then put the file in the root of … Read more
Depending on what server setup you have (operating system, http server & control panel – if you have one), the main way to go would be to have separate DNS zones for each domain (with an A record for the domain name, then MX records, NS if you want the nameservers to be linked to … Read more