Jump to content

Recommended Posts

Posted

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

Posted

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
  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...