Moving a WordPress site – Installation issue
Make sure there is an index.php in the directory, and make that file the index file. Example for .htaccess: DirectoryIndex index.php
Make sure there is an index.php in the directory, and make that file the index file. Example for .htaccess: DirectoryIndex index.php
From the WordPress Codex, this is how to enable permalinks in your blog. From your admin dashboard on the left side go to Settings -> Permalinks In the Settings → Permalinks panel (Options → Permalinks before WordPress 2.5), you can choose one of the “common” structures or enter your own in the “Custom structure” field … Read more
try this ‘href’=> admin_url(“post-new.php?post_type=albertis-kunstwerke”)
Have you repub’d your permalinks? This will update the .htaccess file to ensure that routing works appropriately.
You can use a plugin called Velvet Blues Update URLs. I use it all the time. https://wordpress.org/plugins/velvet-blues-update-urls/
You can hook onto parse_request and trick WordPress into thinking it matched a page permalink if one exists with the same slug for a category term: /** * Override query for pages that match a category slug. * * @param WP $wp */ function wpse_177014_category_to_page ( $wp ) { if ( ! empty( $wp->query_vars[‘category_name’] ) … Read more
You are execpeting a WP Error object if the URL has a non-valid protocol but esc_url_raw returns an empty string in that case (see codex), not a WP Error object. So, is_wp_error( $escaped ) never verifies. Also, you are checking an undefined $escaped variable (note that the value of esc_url_raw is stored in $sanitized variable): … Read more
You need to tell get_edit_post_link to not use the ampersands as specified in the codex. Try this instead: var pop = window.open(‘ <?php echo get_edit_post_link(get_the_ID(), ”); ?> ‘, ‘_blank’, ‘screenX=200,screenY=200,width=1000,height=600’);
The best way to fix this is to install PHPmyAdmin and then navigate to the wp-options table and change the site-address row. To install PHPmyAdmin, click on “Browse Marketplace” and search for PHPmyAdmin.
Set yourself up with a static IP address and then it won’t ever change. See here for instructions on how to do just that. Any problems, post back. 🙂 http://www.howtogeek.com/howto/19249/how-to-assign-a-static-ip-address-in-xp-vista-or-windows-7/