Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To avoid the problems you mention with the static pages (about, home, etc.) you could take a few different aproaches:</p> <ol> <li>Put the dynamic category pages in a separate path (e.g. www.mysite.com/shop/category/page-name-here)</li> <li>Put the static pages in a separate path (e.g. www.mysite.com/pages/about). Now you can't have a category called "pages", but all other ones would work.</li> <li>Put the static routes above the dynamic routes. Not ideal since it could potentially hide category pages if you name your categories poorly, but even if you did #1 or #2, you would still want to do this as a just-in-case measure.</li> </ol> <p>Other caveats/gotchas:</p> <ol> <li><p>You'll also need to ensure that your category names and page names are unique. On a large site this is not always trivial (or even practical) which is probably why you see URLs like the ones here on Stack Overflow where the question id is actually in the URL, and the "page name" part is just SEO sugar.</p></li> <li><p>You'll need to have a strategy for handling name changes. If a category name or page name is changed, you'll need to have something in place to redirect links to the old names to the new ones for maximum SEO goodness. You'll also want to make sure that the new name of a category/page isn't the same as the old name of another category/page, which adds a bit more complexity to the picture.</p></li> </ol> <p>All that said, it is feasible, and it it certainly worthwhile in my opinion. Especially if you expect most of your traffic to come from search engines.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload