Hi Everyone,

I am new here so please take it easy on me!

I am trying to put togther a wordpress minisite (5 pages)...

home -def -about -privacy -contact

Lets call the the site abc.com for this example, so at the minute i have a static front page which loads when abc.com is entered into the browser. My problem is when select def (internal page link) it is displayed ok but the url is abc.com/home/def and i would like this to be displayed as abc.com/def

I do have custom structure on for permalinks and my structure is /%postname%/

Okay hope i have been clear, tty soon any help is appreciated

Patrick

4 answers

danwellman 5600
1
point

How are the pages setup? Are they actually set up using Wordpress's pages feature? In the same way that you can post blog posts, you can also post regular static pages that are created through the Wordpress admin panel rather than uploaded as separate documents.

This is how I have the about, books, etc pages on my site setup, and the URLs for these pages are as you would expect.

The pages should be at the top level of your site, alongside the home page, it looks like your pages are in a folder called home on the server?

I don't have a custom URL structure, but I do have friendly-URLs enabled. Friendly URLs should give you the postname in the URL

Answered over 9 years ago by danwellman
0
points

Yes i have used the wp page feature to setup the pages, home page (front page static) - main page no parent, abc page (blog posts) - home page as parent. Are you saying that all of my pages should be a static type and all have no parent? Thanks for replying hoping to get this sorted out, Patrick

Answered over 9 years ago by Patrick Fletcher
  • Hi, yes, you should set the pagesup as to have no parents - they should then be top-level pages and the URLs should then be as you need :) danwellman over 9 years ago
danwellman 5600
0
points

any luck?

Answered over 9 years ago by danwellman
0
points

Sorry Dan just saw your reply from earlier, yep have now changed abc page (blog posts) and my about page so attributes are set to 'main page (no parent)'. Now i am displaying abc.com/ (for home page), abc.com/def and abc.com/about which is exactly what i wanted so thankyou very much for the solution. Final point on this - is this the standard setup people use for a wordpress minisite (all pages main no parent) and so then it's a completely flat structure, just wanted to understand this structure - thanks Dan

Answered over 9 years ago by Patrick Fletcher
  • Hi, I don't think there are any concrete rules, it really depends on how you would like things set up. But for pages such as this which are only tenously linked I would set them as no parent every time :) danwellman over 9 years ago