change pagination url

You may use the format argument of wp_link_pages function like this: <?php $args = array( ‘base’ => ‘%_%’, ‘format’ => ‘?page=%#%’, ‘total’ => 1, ‘current’ => 0, ‘show_all’ => False, ‘end_size’ => 1, ‘mid_size’ => 2, ‘prev_next’ => True, ‘prev_text’ => __(‘« Previous’), ‘next_text’ => __(‘Next »’), ‘type’ => ‘plain’, ‘add_args’ => False, ‘add_fragment’ => … Read more

Incorrect page shown

You can change the general settings URL if you have access to the database by executing the SQL statement: UPDATE wp_options SET option_value = replace(option_value, ‘http://www.oldurl’, ‘http://www.newurl’) WHERE option_name=”home” OR option_name=”siteurl”; ‘http://www.oldurl‘ — Change this to the URL you set in general settings ‘http://www.newurl‘ — Change this to what you want the URL to be

No url when downloading PDF

See the answer here https://stackoverflow.com/a/13839507/1466973 , which involves sending headers with the appropriate values to cause the ‘save as’ dialog box to appear. That process will allow you to not provide the URL (which anyone can share), but provide the file (which people can share after they download).