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 https://www.diyresolutions.com/blog to https://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):
https://www.diyresolutions/blog/2009/12/should-you-put-your-property-management-data-online/Here is the current, SAME page (link) above:
https://www.point2propertymanager.com/blog/?p=34Here 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/(.*)$ https://www.point2propertymanager.com/blog/ [R=301,L] RedirectMatch 301 /blog/([0-9]+)/([0-9]+)/(.*)$ https://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 https://www.diyresolutionsIT’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.