Problem with Permalink “date and name based” – links default to my home page
-
My blog is in a subdirectory of the main website.
Main website: https://www.maceddy.com
Blog: https://www.maceddy.com/blogI tried to change to “date and name based” permalinks. I created the .htaccess file in the same directory as the wordpress file, as directed. I then opened and edited the blank file and cut and pasted in the code, as directed.
Each post name did show up in the URL line correctly (ie, the date, title with hyphens, etc) – however, instead of showing the actual post it just defaulted to showing my home page at https://www.maceddy.com.
I have since changed it back as it was before until I can understand what I need to do to fix this. Is it a problem because the blog is in a subfolder of my homepage – which is a Zencart? And obviously there is a .htaccess file in the main home page…so maybe that conflicts?
Or is there some other thing that I need to do that I am missing?
Do I have to have the blog directory in front of the main website to fix this? ie, blog.maceddy.com instead of maceddy.com/blog? Or will it screw up the zencart?
Thank you.
- The topic ‘Problem with Permalink “date and name based” – links default to my home page’ is closed to new replies.