• I have the newest version of WordPress (3.9.1), with the newest version of WordPress SEO by Yoast plugin (1.5.3.3). It is a WordPress Multisite, with just one domain as root, so far.

    I was able to do it easily on previous versions, but it looks like I am not able to do it now. In general, I would like to get rid of “blog/”, and “category/” from all urls.

    I’ve been trying to change it in Network Admin – Sites – Settings etc (I’ve read several posts on it on the forum), but I get 404 errors. The same happens with categories.

    I am able to get correctly looking urls, but posts don’t show (either as a single post, with no “blog/” in the url, or list of category posts, with no “category/” in the url etc).

    Is there any way to get it to work, with the newest versions of software that I’ve mentioned etc?

    Thank you.

Viewing 6 replies - 16 through 21 (of 21 total)
  • You may be running into the same issue that I did as outlined here. I would recommend that if at all possible keep the /blog slug on your main site because it will prevent potential conflicts with your other sites. If nothing else, use the permalink structure /%post-name%/ on your main site so the urls are your-domain.com/blog/%post-name%/. Without the blog slug, WordPress can’t really distinguish between your-domain.com/%category%/%postname%/ and your-domain.com/subfolder/permalink when %category% = subfolder.

    If you have access to your server’s access_log and rewrite logs, it should make it clearer in terms of how WordPress interprets the urls for the articles. If that doesn’t help. You may want to create your own topic with the exact site setup you want, your .htaccess, and whether you use MU Domain plugin.

    Thanks for the hint. I’ll have look into that another thread. And luckily, I still have month to go to till beta launch and two months to public launch, so there’s still time to solve this issue. I have my own server, so that makes setting up things easier. Thou I have no experience on apache settings etc., so help will be needed and is welcomed.

    Without the blog slug, WordPress can’t really distinguish between your-domain.com/%category%/%postname%/ and your-domain.com/subfolder/permalink when %category% = subfolder.

    What comes to possible conflicts, atm the plan is, that blogs don’t even use or need categories, posts will be sorted on monthly archives and with tags.

    Only possible conflict I see, is if main site had for example url
    domain.com/movies/prometheus and there would be subsite named movies posting about Prometheus as well. Am I right?
    But then again, it is highly unlike, that the registration will be free any time near in the future, so basically I’m setting up child sites manually. And to be on safe side, there’s already a field, where I can set desired names for not being used as blog names.

    What comes to not using /%category% on main site, it’s doable naturally, but in this case I don’t see it as on option, since the whole idea of the main site is that is has posts around different themes and beeing such a firm believer, in what comes to usability, I want to keep end users informed always, in any possible ways, where they are. And urls are one of the ways to do it.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Only possible conflict I see, is if main site had for example url
    domain.com/movies/prometheus and there would be subsite named movies posting about Prometheus as well. Am I right?

    No. If the main site had a page called movies, the entire movies subsite wouldn’t show. That’s the problem.

    Certainly you CAN manage it on a closed network, but it’s hard.

    This is getting better in 4.0, we’re allowing for some taxonomy changes and dupe page URLs as long as they’re not on the same level (so I can have /movies/about and /songs/about).

    Certainly you CAN manage it on a closed network, but it’s hard.

    My main site has 10 categories. None of the subsites will not be using a name that is same than a main site category. Even if there was a blog -slug present, those category names will be names, that subsite could not have as it’s directory, because it would be just confusing.

    This is getting better in 4.0, we’re allowing for some taxonomy changes and dupe page URLs as long as they’re not on the same level.

    When will 4.0 be released? Any estimates, in case I could wait for that? ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    https://www.ads-software.com/about/roadmap/ So end of August if all goes well.

    The thing to keep in mind is that WP can’t know what you’re going to do. So while YOU have all that taken care of, most people won’t, which is why the catcher is in there.

    https://www.ads-software.com/about/roadmap/ So end of August if all goes well.

    Thank you again! Good news for future projects ??
    But with this current site, it’s bit too late, so I have decided to change my multisite to have subdomains instead of subdirectories. Posted another topic about it https://www.ads-software.com/support/topic/switching-network-types-or-making-redirect-with-current-installation in order not to spam this thread with offtopic.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘How to strip /blog (root site), and /category (Yoast)?’ is closed to new replies.