WordPress.org

Ready to get started?Download WordPress

Forums

/blog url in permalinks (1 post)

  1. Nathan Gross
    Member
    Posted 1 year ago #

    I have a site setup like this:

    root
        wordpress
            (core wp files)
        wp-content
            (theme, uploads, plugins)

    The site is made up of a collection of pages with page templates, including a blog page and blog template.

    So, you can reach the blog at domain.com/blog. However when you click on the blog article (single.php) the URL looses the /blog and just becomes domain.com/example-article-title

    What is the best way to have every blog article url include the /blog ?

    domain.com/blog/example-article-title instead of domain.com/example-article-title

    Is this just controlled by the .htaccess file or is it something within the WP set up or the theme files, or else?

    Thanks in advance!

    Nathan

Topic Closed

This topic has been closed to new replies.

About this Topic