rst Posted November 7, 2016 Posted November 7, 2016 Hello, Is it possible to have a wordpress site inside a processwire subfolder? so for example domainname.com would have a processwire site domainanme.com/wordpress would point to a wordpress site thanks
BitPoet Posted November 7, 2016 Posted November 7, 2016 Of course. You only have to exclude the wordpress folder from URL rewriting in .htaccess.
rst Posted November 7, 2016 Author Posted November 7, 2016 thank you! would it be possible for you to give an example of what the htaccess line should be ?
BitPoet Posted November 7, 2016 Posted November 7, 2016 Add this line somewhere before the RewriteRule directive in Point 19. RewriteCond %{REQUEST_URI} !^/?wordpress(/.*)?$ This pattern tells the rewrite engine to look for the following in the requested URI: ! = negation, this rule succeeds if the match fails ^ = start at beginning of the string /? = look for an optional forward slash followed by the word "wordpress" (/.*)? = optionally followed by a forward slash and arbitrary characters $ = match until the end of the string 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now