Forums

ODD Permalink Issue (4 posts)

  1. kgraves.sd
    Member
    Posted 2 years ago #

    I have a basic WordPress CMS/Blog setup with a custom homepage and blog page under Settings->Reading

    Permalink Structre is setup as this:
    "/blog/%postname%/"

    I can go to page I created in WordPress such as http://www.example.com/pagename/, however when I am debugging my URL's to make sure the URL structure is SEO friendly I have tried typing in http://www.example.com/blog/pagename/ to see what happens.

    This URL is 302 redirecting to http://www.example.com/pagename/ because it recognizes it as a page not a post. Why is this not responding to a 404 header(or atleast 301 redirecting)?

    What is the solution for users that use WordPress for large scale cms' with hundreds of pages? Do they need to manually 301 redirect these urls as they create new pages?

  2. iridiax
    Member
    Posted 2 years ago #

    Why not just remove blog from your permalinks structure and move WordPress to a directory named blog?

  3. kgraves.sd
    Member
    Posted 2 years ago #

    Yes, I could do that but It defeats the purpose of having the ability to use WordPress as a CMS and a Blog in one. That is not a very ideal situation.

    Why does it return a 302 rather than a 404 or 301?

  4. kgraves.sd
    Member
    Posted 2 years ago #

    All the page URLs would then become /blog/pagename/ rather than just /pagename/ unless I managed these pages manually outside of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic