Removing static homepage URL from permalink

  • Hi,

    I’m using a static homepage for my site.

    Problem is, when I create a child page from the home page (which I have to do to effectively set up the Grid page type layout), the permalink becomes http://www.mywpsite.com/home/child-page. So even though the static ‘home’ page is displayed as just http://www.mywpsite.com, when you go to a child page the /home/ jumps in there.

    Is there a way to remove this? Or any other work arounds?

    Thanks!
    Jon

  • Hi,

    See the WordPress.com and WordPress.org support page.

    This forum is solely for issues regarding WordPress.com accounts and websites. http://mywpsite.com/ is not a WordPress.com site. If it is a self-hosted WordPress.org site, then please resubmit your request to the WordPress.org support forums. If you haven’t already done so, you may register here: https://wordpress.org/support/register.php, to use the WordPress.org support forums.

  • Correction:

    If it is a self-hosted WordPress.org site, then please resubmit…

    http://mywpsite.com/ is a self-hosted WordPress.org site.

  • My apologies for not being clearer…

    http://mywpsite.com is just an example URL – my site is actually private while I build it. I was just trying to give an arbitrary example…

    It is definitely a WordPress.com site.

    Thanks!

  • Okay, got it. I thought that might be the case, and should have asked you.

    So, the issue that concerns you is that “home” appears in the child page URL, though the static page with the “home” slug is assigned to the front page, and therefore has the URL of the website, with no extension. And you intend to display a page with the Grid Page Template on the front page, correct?

    I understand now the issue your describe, and your concern, but I wonder if the concern is based upon aesthetic considerations or something else. I believe the child pages appended to the “home” page will work properly, won’t they?

  • Yep, you got it nailed musicdoc1 :)

    You’re right, the issue is mostly aesthetic, in that I want a nice, clean and concise URL. And the child pages do work fine. But I also feel that a concise and understandable URL structure will improve user experience in navigating the site. Having /home/ or something else floating around in there may give users the impression there is another level of pages they may have missed…

    I usually work in self-hosted WP.org sites, so am just getting used to some of the restrictions that these WP.com sites have in comparison!

    Thanks!

  • You’re welcome!

    Nothing wrong with aesthetics.

    I did an imaginary experiment in which the child pages of the page assigned as the static front page were in the form https:/mywpsite.com/child-page, presuming this is possible on a WordPress.com site. I’m supposing that the rule your request suggests (drop the parent from the URL of child pages when the parent has a grid page template) is applied generally to all WordPress.com sites. A couple of issues arise:

    1. Site administrators might know that such a page represents a child page of the “home” page, but how will anyone else be aware that it is so if they come across it any other way except via the grid page.
    For example, someone finds the page through a Google keyword search. How would they know that it’s a child page? Where the link to the parent when the child page is isolated from the site?

    2. If the slug of the child page is “cheese” and the parent is “home,” and the blogger decides to create a parent page with title cheese, the slug of the parent page will become “cheese-2.”

    Either of the above results may be as aesthetically displeasing as the issue you originally pointed to.

    A tangential idea: One might include the child pages of the parent “home” in the custom menu, displaying in a drop-down menu below the “home” link, to make the relationships clear.

  • I’m not sure if my issue #2 above would occur if the special rule was not applied. Haven’t tested the idea.

  • The topic ‘Removing static homepage URL from permalink’ is closed to new replies.