block seacrh engines for all pages EXCEPT homepage
block seacrh engines for all pages EXCEPT homepage
block seacrh engines for all pages EXCEPT homepage
Yes, it is 🙂 There are a few things you need to do, maybe I can point you in the right direction. If you haven’t already set up the virtual host on your server here are some instructions If you are trying to move an existing site you will need to use a database search … Read more
Missing visual editor after placing a redirect rule into the .htaccess file
Multisite permalinks for subfolder wordpress installation
This is outside the realm of WordPress. I’ll give you a basic answer that should help you figure out what you need to do. The general idea is you will point your new domain names to point to your web server’s IP address. Then your web server will see which domain name is being called … Read more
This is definitely not related to a “missing” .htaccess file. WordPress will create an .htaccess file if needed (for permalinks) and re-create a deleted file if needed. If you have deleted all previous data as you state and installed WordPress several times, you likely have a very messy DB and/or file situation going on. Why … Read more
Did you add the query vars via the query_vars-hook in addition to the defintion of the rewrite rule in the init-hook? add_filter( ‘query_vars’, ‘my_add_query_var_function’ ); function my_add_query_var_function( $vars ) { $vars[] = ‘a’; $vars[] = ‘cat’; $vars[] = ‘where’; return $vars; }
This question seems simple, but if you use some of the basic features of WordPress (such as categories), then the solution can become very complex and difficult. My suggestion below assumes that you use a very simple setup. First, I will assume that when you convert your content to WordPress that what you call [pagename] … Read more
With some help (also asked on SO, as this wasn’t a strict WP question), and some testing, the following ended up working for me (added a slash just before the $ sign): RewriteRule ^galleries/(.*)/$ /portfolio/$1 [R=301,NC,L] As the galleries are actual directories, not files, they have a slash at the end: http://subdomain.example.com/galleries/headshots/ Here —^
Try replacing your line with this RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L]