Redirect not working
Try this: RewriteRule ^(freebooks)$ $1/index.php?p=5&min_price=0&max_price=0 [NC,L] or just RewriteRule ^freebooks$ freebooks/index.php?p=5&min_price=0&max_price=0 [NC,L]
Try this: RewriteRule ^(freebooks)$ $1/index.php?p=5&min_price=0&max_price=0 [NC,L] or just RewriteRule ^freebooks$ freebooks/index.php?p=5&min_price=0&max_price=0 [NC,L]
Eventually I solved it by moving my app/ folder and my wp/ folder into a subfolder, which becomes the web root. Something like this: my_project | \–vendor <– folder for composer packages | | | \… | \–wordpress <– Web Root | | | \–app <– custom wp-content folder | | | | | \–mu-plugins … Read more
My security solutions so far: WordPress Make all new posts private (in WordPress) Don’t use any modules, the more third party software I add the less secure the repo becomes Two factor authentication ( this would break the no third party module rule above) Apache Force https (in .htaccess) Protect web repository using .htpasswd (in … Read more
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; }