permalinks are doubling for some reason.
-
Hi,
I just recently changed my web hosting provider and when I migrated my wordpress blog over to the new hosting provider everything works fine but the permmalink structure is doubling when you click a post.
Whats going on:
1. The links work if the permalinks are set to default.
2. when I change them to custom they double and look like this and I get the 404page:
https://www.mikepoisel.com/blog/http:/www.mikepoisel.com/blog/%post-name%/What I tried:
1. I’ve tried just adding /%post-name%/ instead of the whole URL in the custom field and that didn’t work.2. I also tried adding this to the htaccess file as suggested in another post.
# BEGIN WordPress <IfModule mod_rewrite.c> ErrorDocument 404 /index.php?error=404 RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
If anyone can help with this I would greatly appreciate it.
this is a link to the site
https://www.mikepoisel.com/blog/Thanks
- The topic ‘permalinks are doubling for some reason.’ is closed to new replies.