Redirect to /blog breaks pretty permalinks
-
I recently restored my files and database using GoDaddy, and now,
When I use GoDaddy’s cPanel to redirect from the .com to the /com/blog directory, the site only works if I change my permalinks to the default setting p=number. Setting the permalinks to any other setting results in an not found error in the area where the article feed should load. And clicking on article links from the sidebar also result in not found errors.
If I disable the redirect from the .com to the .com/blog directory, all the different permalink settings work again. I like to use day and name.
I’m stuck using default permalinks if I want folks to be able to visit the site using the .com only.
All plugins are disabled.
I’m running WP 4.5.15. Would updating be a good idea or should I wait until I resolve this issue in before I update to 4.9.x?
I should also add that I’ve also tried working with the .htaccess file and usually I end up breaking the site even more so I end up restoring my files and my database again to end up back at what I am describing.
Also, I don’t know if this helps, but there are 2 .htaccess files. One at the root as I navigate the directory via ftp, and another one in the /blog folder.
Are they somehow conflicting?
Another thing I had to do to get to this state is define WP HOME in wp-config.php
define(‘WP_HOME’,’https://www.highbrowdesigns.com/blog’);
And so this option appears filled in and grayed out (not editable) in General Settings.
Defining the SITE URL seems to not have any effect.
Do I have too many conflicting things?
The page I need help with: [log in to see the link]
- The topic ‘Redirect to /blog breaks pretty permalinks’ is closed to new replies.