Support » Fixing WordPress » Old Permalinks vs New Permalinks & 2 .htaccess files-Help

  • Hi! I’m been trying to figure this out for 3 or 4 days now and I’m going insane! I moved our company blog over from http://www.diyresolutions.com/blog to http://www.point2propertymanager.com/blog (2 different domains, 2 different servers). However, in order to get the blog to work for some reason I had to change the permalinks to the default stucture……of course this broke all backlinks (old stucture is (year/month/postname) that are out there that people are linking to. I’ve changed the .htaccess file (root level) and the .htaccess file (blog level) and backlinks aren’t working. My supervisor has many page by page website redirects at the root level of the .htaccess file and the website works fine, but the blog pages are not sinking up.

    Here is one of my old pages (links):
    http://www.diyresolutions/blog/2009/12/should-you-put-your-property-management-data-online/

    Here is the current, SAME page (link) above:
    http://www.point2propertymanager.com/blog/?p=34

    Here is blog .htaccess code# BEGIN WordPress

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    # END WordPress

    Here is the root level .htaccess lines of code I’m using:

    RewriteRule /blog/(.*)$ http://www.point2propertymanager.com/blog/ [R=301,L]
    RedirectMatch 301 /blog/([0-9]+)/([0-9]+)/(.*)$ http://www.point2propertymanager.com/blog/$3

    HERE’S THE ERROR THAT I GET IF I GOOGLE AN OLD LINK FROM THE OLD SITE
    Oops! Internet Explorer could not find http://www.diyresolutions

    IT’S NOT REDIRECTING BECAUSE IT CAN’T FIND THE PAGE. I’M NOT SURE WHAT TO CHANGE AT THIS POINT.
    THANK YOU – CYNDI

  • The topic ‘Old Permalinks vs New Permalinks & 2 .htaccess files-Help’ is closed to new replies.