Siteurl code for links

I have a development site as a subdomain of my main site, so I deal with this when I copy data from the live site to the development site to obtain a current version of the development site. First, visit http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change like cybnet recommended. Once you have changed the wp-config files as described in the … Read more

change the URL title and tagline

What do you see in the Theme Customizer in Appearance -> Customize -> General Settings -> Site Identity -> TAGLINE? Sounds like a Caching Problem. Please try the following steps: Clear your Browser Cache Clear Cache Plugin Data (W3 Total Cache, WP Super Cache, ..) Clear Cache from Web hoster (for example Siteground have a … Read more

Remove index.php from URL

Login to your WordPress Dashboard and Click Settings > Permalinks. Under Common Settings, Select Custom Structure and in the text field enter /%postname%/ Click Save Changes The second step is creating an .htaccess file which is then uploaded into the root location of the WordPress site. The .htaccess file will contain the below rules: RewriteEngine … Read more

redirect word-press page with page values

Use this code and check<a href=”‘. get_permalink(‘dashboard’) .’?dashboard=myprofile” class=”wpum-profile-account-edit”>’. __(‘ (Edit Account)’, ‘wpum’) .'</a>. In get_permalink() function you can only pass the post ids or page titles to get the page url but you have added additional parameters with that so it was not getting the correct url. So I have edited the code to … Read more

Keeping the URL but changing the site – How?

Here you go, https://wordpress.org/plugins/all-in-one-wp-migration/ this plugin will come to rescue. I have migrated/transferred over 100s of WP websites with this superb plugin without having any problem. It easy, secure and helps in productivity. It will change all the urls which is necessary to be changed during migration, so after migration you don’t have to manually … Read more

site_url is not honoring scheme

What is original link? var_dump( get_option(‘siteurl’) ); If I am interpreting code right then for http protocol argument action is to not change the link. So if you have set up URL to be secure by default then function doesn’t override that.