WordPress.org

Forums

permalinks and .htaccess (3 posts)

  1. dreras
    Member
    Posted 7 years ago #

    I have 68 posts on my blog.

    i recently updated my site and started using permalinks.

    i updated my .htaccess file and everything is working fine.

    Question 1
    Do i need to setup 301's for all my old posts for the best possible SEO purposes?

    ex:

    /?p=10 http://www.domain.com/pretty-permalinks/

    i tried using this structure and it didn't seem to work. i think i might have the wrong path somehow

    Question 2
    Is there a different structure for applying 301's for a wordpress blog

    Thanks

  2. Do i need to setup 301's for all my old posts for the best possible SEO purposes?

    Generally speaking, no. My advice is to set up the Google Sitemaps plugin and just use it. It'll update Google (and optionally, Yahoo) about your new URLs and tell them every time you make a post.

    /?p=10 http://www.domain.com/pretty-permalinks/
    i tried using this structure and it didn't seem to work. i think i might have the wrong path somehow

    No, you just can't use .htaccess in that particular way. The ?p=10 is not part of the URL like you think it is, it's a query-string. The rules are much trickier for those.

  3. dreras
    Member
    Posted 7 years ago #

    ahh i see. Thanks for the help Otto42

Topic Closed

This topic has been closed to new replies.

About this Topic