Why does WordPress remove my variables in the URL?

For one, you can’t call template files directly as you’re doing… If you want the page somepage, you should call it directly, with the query string arguments added after a trailing slash. Look into the function add_query_arg() – its a much more bulletproof way of tacking GET variables onto the end of WordPress urls. For … Read more

Imported thumbnails have incorrect URL

The easiest way is to use the Cache Image plugin, which ‘sideloads’ images in your posts that are from other domains. I’ve had mixed results, mainly because it seems to not work well for thousands of posts and images – if your site is smaller you may have better results.

Setting a url for a page

you can set the permalinks to %postname%, however this would change the permalinks for the whole site; and you can set the individual page permalink, which is normally derived from the page title, when you edit the page. btw: pages don’t have a category base.

Custom URL parameters in template files

The global $wp_query object is not what you are looking for by the time you get to single.php. Instead use global $wp object. Try changing your code to this: global $wp; if (array_key_exists(‘myvar’, $wp->query_vars) && isset($wp->query_vars[‘myvar’])){ echo ‘custom variable recognized’; } print_r($wp->query_vars);

wp_nav_menu including Skype URL

I believe the esc_url function is what ultimately filters the url you enter in that field. Unfortunately, I don’t see how you could allow the skype protocol without manually editing that function in the core file wp-includes/formatting.php, which is always a bad idea. if ( !is_array($protocols) ) $protocols = array (‘http’, ‘https’, ‘ftp’, ‘ftps’, ‘mailto’, … Read more