Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need some support on restructuring the directories and settings with my current WP site for better SEO purposes. I have the following settings:

  1. WP is installed in the root.
  2. Permanent Links are set to /year/month/.... e.g.
  3. There's a static home page (index.php) and several other static pages (created with WP Pages) in the root directory.
  4. Currently when people click on the blog link on the static page, the web browser takes them to -> /category/blog/ (where all the posts are under category "blog")

I think this is not the most efficient setup for SEO purposes, since the static pages and the blog posts are all referenced from the root directory (e.g. /2011/12/20/post1..... and page "/ABout-Us"...

Ideally, (without having to restructure too many things, or reinstalling WP, if possible), I would like to figure out how to setup the following:

  1. All the blog post goes under /blog/ directory, the static pages created in WP goes in the root directory.
  2. Categories also gets redirected under the /blog/ directory.

I think it has to do with the WordPress Address and Site Address...

Thanks for the help in advance.

Vincent

share|improve this question
    
You talk about a /category/blog/ archive. Does that mean you put all blog posts under the blog category? Do you have other posts that are not under the blog category? –  Jan Fabry May 10 '11 at 12:39
add comment

migrated from stackoverflow.com May 10 '11 at 12:17

This question came from our site for professional and enthusiast programmers.

2 Answers

You can setup your link structure by changing some WP settings. First you need to create two pages using WP. One called Home and the other Blog.

Next click on "Settings" in the left menu of the admin portal of WP and then click "Reading".

From here, set the setting to a static page and choose your Front page as Home and your Posts page as Blog

And regardign SEO in WP, you should use the free plugin called All-in-One SEO. It offers many settings to help maintain and improve the SEO of your WP site.

share|improve this answer
add comment

I doubt your URL structure will matter much for SEO. For more advice on this you can ask a question on the Pro Webmasters Stack Exchange site.

As Chip said you can change the Posts page under Settings → Reading to move your post index to http://example.com/blog/. The Front page is what people will see when they go to http://example.com/, and it should be one of your Pages.

The second step is to prefix all blog posts and category archives with /blog/ too. To do this, go to Settings → Permalinks and prepend /blog/ to your Custom Structure, so it becomes /blog/%year%/%monthnum%/%day%/%postname%/.

share|improve this answer
    
I'd advise /blog/%postname% (I'm a trailing slash naysayer) - You'll still have archive & category permalinks as you did before, but all your posts will simply be /blog/post-name. Short & sweet :) –  TheDeadMedic Jun 9 '11 at 14:02
add comment

protected by toscho Aug 17 '12 at 13:27

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?