Viewing 6 replies - 1 through 6 (of 6 total)
  • Set permalink structure to /%postname%/.
    Set category base to . (just a dot).

    Or, for removing the category base, search for a plugin:
    https://www.ads-software.com/plugins/search/category+base/

    Thread Starter Rupam Hazra

    (@rupamhazra)

    Hi,

    I have tried both processes but i can’t see my result

    I want to like this where blog should be in link https://domain.com/blog/business

    also in the case of single post- https://domain.com/blog/single-post-1

    Please help me.

    • This reply was modified 7 years, 10 months ago by Rupam Hazra.

    Do you have any parts of WordPress that should be visible outside of domain.com/blog (say domain.com/about-us)?

    Is WordPress installed in the root (domain.com/) or in the subdirectory domain.com/blog?

    What settings are you using under Settings – General for WordPress Address (URL) and Site Address (URL)?

    Do you use the option to have the blog published on a static page under Settings – Reading? (It is possible to create an empty page with the name and address “blog” and make the blog visible there using this setting.)

    Thread Starter Rupam Hazra

    (@rupamhazra)

    Hi,

    Do you have any parts of WordPress that should be visible outside of domain.com/blog (say domain.com/about-us)?

    — Yes

    Is WordPress installed in the root (domain.com/) or in the subdirectory domain.com/blog?

    — in root not in a subdirectory.

    What settings are you using under Settings – General for WordPress Address (URL) and Site Address (URL)?

    — Home and Blog Static Page Option that means home and blog page separate.

    Do you use the option to have the blog published on a static page under Settings – Reading? (It is possible to create an empty page with the name and address “blog” and make the blog visible there using this setting.)

    — Yes

    Then I believe you should:
    1. Create an empty page named “blog” with the slug blog
    2. Under Settings – Reading put the blog on this static page
    3. Set permalink structure to /blog/%postname%/
    4. Set category base to /blog/
    5. Hope for the best that nothing weird happens when several settings point more or less in the same direction. (What would happen if a post title coincides with one of the category titles, for instance…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Permalink Structure’ is closed to new replies.