• Hello,

    I am a Worpress newbie and would like to rebuild an existing static webpage using WordPress. So I use WP as a CMS and not as a blog.

    The structure of the Worpress page should be as close to original as possible:

    The original structure looks like this:

    /index.php
    /contact.php
    /produkt_A/index.php
    /produkt_A/details.php
    /produkt_B/index.php
    /produkt_B/details.php

    To rebuild this structure I have set the Permalink option to:
    /%category%/%postname%.php

    After creating the category “produkt_A” I was able to create an aticle with the Permalink /produkt_A/index.php. The URL myPage.xy/produkt_A/index.php was redirected to myPage.xy/produkt_A but this not a problem.

    After creating a second article with the permalink /produkt_A/details.php the URL myPage.xy/produkt_A shows both articles “Index” and “Details”.

    I blieve this is because the call to “myPage.xy/someCategory” shows a list of all articles in the categroy “someCategory”.

    Is there any way to disable this function?

    This is what I need:
    myPage.xy/produkt_A/index.php –> show article “Index”
    myPage.xy/produkt_A –> show article “Index”
    myPage.xy/produkt_A/details.php –> show article “Details”

    This is what I have:
    myPage.xy/produkt_A/index.php –> redirect to myPage.xy/produkt_A
    myPage.xy/produkt_A –> show category list
    myPage.xy/produkt_A/details.php –> show article “Details”

    Thank you very much for your help!
    Agenor

Viewing 1 replies (of 1 total)
  • You could try using nested pages instead of categories.

    1. Delete the two categories you created
    2. Create two pages, produkt_A and produkt_B with the Index page contents
    3. Create the details pages, setting the product pages as parent

    Note that this way you won’t have a separate index.php (you said you wanted to keep the structure). Why do you want to have links ending with .php if the pages aren’t PHP pages?

Viewing 1 replies (of 1 total)
  • The topic ‘Problems with Permalink structure’ is closed to new replies.