• Resolved rockycolttumtum

    (@rockycolttumtum-1)


    I just did a new install; and decided I’d try to clean up my root by throwing WP into a sub directory (src) and setting it to run from root. I used these instructions.

    I’m trying to get my permalinks to have a custom structure of “/news/%postname%/”.

    This doesn’t work. Trying to click on any post tosses not found back.

    I have learned that if I make my permalink custom structure “/src/news/%postname%” this works.

    Additionally just using the post name (/%postname%) works.

    Is there a way I can get rid of the src in my custom structure? Do I need to yell at my .htaccess file? Cause I totally will.

    This is a fresh install; I don’t mind redoing something if I have to backtrack.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rockycolttumtum

    (@rockycolttumtum-1)

    I’m an idiot. Ignore me.

    Thread Starter rockycolttumtum

    (@rockycolttumtum-1)

    Well; I said that cause I had it working for a second. Now it’s not again.

    Thread Starter rockycolttumtum

    (@rockycolttumtum-1)

    And now I got it working.

    What i’ve learned is that you can’t use the same base for posts, categories, and tags.

    I guess this is by wordpress design to prevent you from having duplicate/conflicting urls.

    For instance, I was trying to just put “news” as all of them.

    So if I had a category of “ninjas” that category list would have a url of /news/ninjas. Well I guess WP worries that I might write a news article called “Ninjas” and the slug would end up making that post url news/ninjas.

    I get it; I changed my base urls for categories to news/topics/ and news/tags/

    Sorry to bother everyone with my idiocracy.

    I’ve been pretty busy taking on Snyder with the sweet ninjas move grandpa taught me.

    I love Emily.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Subdirectory Install & Permalinks Base Issue’ is closed to new replies.