htaccess redirect creates issues for BeBuilder?

Greetings!

My site : https://bluepegpinkpeg.com


This is a refresh of an old site. The old site resides in /public_html/

I developed the new site (seen) in a subdirectory /public_html/wp22/

BeBuilder works great until I added the following to my htaccess to make /wp22 the primary site.


# The directives (lines) between "BEGIN WordPress" and "END WordPress" are

# dynamically generated, and should only be modified via WordPress filters.

# Any changes to the directives between these markers will be overwritten.

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{HTTP_HOST} ^(www.)?bluepegpinkpeg.com$

RewriteCond %{REQUEST_URI} !^/wp22/

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /wp22/$1

RewriteCond %{HTTP_HOST} ^(www.)?bluepegpinkpeg.com$

RewriteRule ^(/)?$ wp22/index.php [L] 

</IfModule>

# END WordPress# BEGIN WordPress



Upon adding the above to my htaccess, BeBuilder begins to display strangely. The page-builder UI is reduced to plain text items that I can't seem to interact with.


I assume that something with the above htaccess is breaking BeBuilder, as I can remove the the new rule and everything works as expected.


Is there something in my rules that is breaking BeBuilder? Did I do something incorrect? Is this a known issue? Is there a better way to go about making the new site the primary (without physically moving it to root)?


Thanks so much for the help!

Brandon

Comments

Sign In or Register to comment.