changing static link to relative link

If I’m understanding your question correctly, you want links on your site to dynamically change depending on the domain name of the environment you’re in? To do this you can replace any hard coded links with the home_url() function. So you would change references to links from http://192.168.0.1/your/path/here to <?php home_url(/your/path/here); ?> If your links … Read more

WordPress Page URL

Create a top level page with the slug services. Then create a page with the slug doggrooming and set the parent page to the Services page. WordPress will handle the URL structure if you’re using pretty permalinks.

add bar in paging in the URL

To enforce a trailing-slash policy you need to set this in your .htaccess file. RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*[^/])$ /$1/ [L,R=301] or <IfModule mod_rewrite.c> RewriteCond %{REQUEST_URI} /+[^\.]+$ RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L] </IfModule> I haven’t tested either or these, but google never lies…

Keeping original URL

If you’re worried about localhost vs. remote after migration then make your links relative. In the case where you are using the standard wp_nav_menu like; wp_nav_menu( array( ‘menu’ => ‘test’ )); Filter the HTML from wp_nav_menu to make all the links relative. add_filter( ‘wp_nav_menu’, function( $nav_menu, $args ){ // get the current site $site_url = … Read more