Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    There’s not really a right way as long as it works. You’re not changing URLs in the future so there’s no SEO issues. Even if you did, my understanding is a proper 301 redirect is supposed to carry over any accumulated SEO ranking. I’m no SEO expert though, so don’t take my word for it. However, look at what the canonical URL in head is. It may not be what you want.

    Even though what you have works, I’d suggest you go ahead and actually move your WP install to /blog/. Then place a .htaccess redirect for simple root domain requests to go to your WP front page in /blog/. You end up with the same thing really, it’s just that things are physically different. The canonical URL is more likely correct without doing anything special.

    When you add content to domain root, it’s not crowded with WP stuff. You could even do another WP install if it made sense. It’s a little easier to move relatively new sites than older, larger sites, so better now than later. A subdomain WP install also stymies some hackers that only probe for WP vulnerabilities assuming a root install. They totally miss subdomain installs. Of course there’s plenty more that are smart enough to find the subdomain, but the volume of potentially successful attacks is reduced.

    If you decide not to add root content, you’ll be just fine redirecting root domain requests to /blog/.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress installed on domain.com, but need to use URL domain.com/blog/post-name’ is closed to new replies.