.htaccess exclude subdirectory but not subdirectory contents
-
Thanks in advance for any help!
I will be changing servers soon. On the current server, blog entries are in domain.tld/blog/postname format.
On the new server, blog entries will be in the domain.tld/postname format. However, the main blog page is housed at domain.tld/blog.
So, I need to exclude domain.tld/blog from a rewrite, but then rewrite serps that go to domain.tld/blog/postname to domain.tld/postname because I will have old traffic coming to those pages.
I hope this makes sense.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘.htaccess exclude subdirectory but not subdirectory contents’ is closed to new replies.