WP Multisite .htaccess interferes with cgi-bin

It turns out that the problem wasn’t WP per say but that mod_rewrite was being forbidden because of some server settings. I didn’t realize it until the server guy sent over an error log that was filled with messages containing: Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden To make … Read more

.htaccess help to a beginner

For the syntax of the .htaccess URL redirect have a look here: https://stackoverflow.com/questions/3374696/htaccess-url-redirect Then add a GET request to the URL based on the originally entered domain, e.g. www.domain.no/property/shops -> www.domain.no/property?type=shops Details here: https://stackoverflow.com/questions/13988815/htaccess-301-redirect-issue-with-url-variables

adding a rewrite rule in wordpress functions file

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; }

Need to edit htaccess while moving on WordPress

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

Fully mask *all* traces of WordPress installation subdirectory?

For the sake of anyone interested in the answer to this question, I am posting here the following answer that I received in the WordPress.org support forums. leejosepho graciously provided the following answer: Yes, that is possible. Save ‘http://dem0site.net‘ in both boxes at Dashboard > Settings > General, then cPanel-assign and -point your domain to … Read more

Allow arbitrary text after page URL

This approach is not advisable as http://example.com/page/whatever-information/ is how WordPress deals with child pages and .htaccess Rewrites is part of how WordPress identifies what page is being requested and what queries to run. You should probably pass the whatever-information as something called a POST variable, then have code that runs on page and parses these … Read more