Viewing 5 replies - 1 through 5 (of 5 total)
  • You could create a subdirectory called “cool-gadgets-shop” and move all the files of your WordPress install to that.

    Thread Starter ericplotts

    (@ericplotts)

    Is there no setting to make the url of the home page display the page name like it does with posts or products?

    My apologies, I misunderstood your question! Sure, you could create a page called “cool gadgets shop” and make sure it’s at permalink /cool-gadgets-shop.

    Then in the WP settings, go to Settings -> Reading, under Front page displays set “A static page” and then set the Cool Gadgets Shop page as the Front Page.

    Thread Starter ericplotts

    (@ericplotts)

    Thanks for your response but I have already done all of that. The page name still doesn’t show up as the permalink when it is set as my home page. only the regular http://www.site.com shows up in the address bar

    Ah, so you want to make it the home page AND show it in the URL.

    Indeed, when you set a page to your home page, then the page name is stripped from the URL and it only shows the domain name.

    In that case you might want to undo the changes in Settings –> Reading (and set it back to “Your latest posts“), and then just use a redirect on your main/front page that goes to http://www.coolestcoolgadgets.com/cool-gadgets-shop

    I believe you can achieve that by putting a file called front-page.php in your theme that contains just this:

    <?php
    
       header( 'Location: http://www.coolestcoolgadgets.com/cool-gadgets-shop' ) ;
    
    ?>
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘What to change url of the home page permalink’ is closed to new replies.