Support

Home Forums Event Espresso Premium EE4: WordPress Multisite Sub-site Issue

EE4: WordPress Multisite Sub-site Issue

Posted: August 24, 2016 at 11:04 am

Viewing 6 reply threads


George

August 24, 2016 at 11:04 am

Hello,

I have a weird issue with EE4 on multi-site (I only activated it on a sub-site and not Network activated).

My issues:
1. I get an Error 404 on every child page within the multi-site sub-site EE4 is activated

2. On the EE4 settings page, the Page Title doesn’t show the current EE4 settings page name, Just my sub-site name and description

3. Each time i save a setting on any EE4 settings page, it re-directs me to the sub-site WP-ADMIN dashboard instead of staying in the current settings page.

4. I cannot find where (within the given page) to enter my support license for EE4 in the General Settings page

These are the errors i have noticed thus far, everything else works perfectly.

With my little knowledge of EE4 and word-press, im guessing this has to do with some URL rewrite rules and permalinks…

Please is there a fix for this? Can you share or help me out on this issue. EE4 is the PREFECT solution for what we are doing. We have invested alot of funds on this and it would be a shame if there isn’t a solution for this issue for us.

Please someone help 🙁

Thanks


George

August 24, 2016 at 11:08 am

A little side note:

My Multi-site install runs a plugin called: Multi-Domains for Multi-site developed by WPMU DEV which allows us to set a different TLD domain for each sub-site. Example

http://www.demo-site.com = Main/primary site
http://www.another-site.com = sub-site


Josh

  • Support Staff

August 24, 2016 at 2:42 pm

Hi George,

You’ll be able to add the site license key to the General Settings page on the Main Site. Subsites do not get a key field.

With issue #1, how do you set up a child page?

Issue #2, that’s not an error, you’ll see on a non-multisite site too.

With #3, I have not seen that happen before on a multisite sub site. Does your site’s .htaccess file differ from the standard WP Multisite .htaccess code?


George

August 24, 2016 at 4:13 pm

Hello Josh

Issue #1: I create my child pages the standard way at “Pages > Add New Page” then assign a parent page to it. My permalink structure is %catergory%/%postname%

Issue #2: Thanks for the clarification, thought it was an error

Issue #3: My site is on a windows installation and using web.config. My web.config file does not differ from the standard WordPress multi-site web.config although i added a security setting to enable cross-site resource sharing, i doubt that could affect this. Below is my web.config file contents

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
		<security>
			<requestFiltering>
				<fileExtensions>
					<add fileExtension=".woff2" allowed="true" />
				</fileExtensions>
			</requestFiltering>
		</security>
		<httpProtocol>
     		<customHeaders>
       			<add name="Access-Control-Allow-Origin" value="*" />
     		</customHeaders>
   		</httpProtocol>
        <rewrite>
            <rules>
                <rule name="WordPress Rule 1" stopProcessing="true">
                    <match url="^index\.php$" ignoreCase="false" />
                    <action type="None" />
                </rule>
                <rule name="WordPress Rule 2" stopProcessing="true">
                    <match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false" />
                    <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false" />
                </rule>
                <rule name="WordPress Rule 3" stopProcessing="true">
                    <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" />
                    <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" />
                </rule>
                <rule name="WordPress Rule 4" stopProcessing="true">
                    <match url="^" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAny">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" />
                    </conditions>
                    <action type="None" />
                </rule>
                <rule name="WordPress Rule 5" stopProcessing="true">
                    <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
                    <action type="Rewrite" url="{R:2}" />
                </rule>
                <rule name="WordPress Rule 6" stopProcessing="true">
                    <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />
                    <action type="Rewrite" url="{R:2}" />
                </rule>
                <rule name="WordPress Rule 7" stopProcessing="true">
                    <match url="." ignoreCase="false" />
                    <action type="Rewrite" url="index.php" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

#Issue 4: Does this mean i have to “Network Enable” EE4 in order to enter the support license? if so, can i “Network de-activate” EE4 after entering the support license?


Josh

  • Support Staff

August 25, 2016 at 4:53 am

My site is on a windows installation and using web.config.

I’m afraid Event Espresso 4 does not work as expected on Windows servers and therefore is not supported. More than likely, that’s why you’re seeing the 404 errors and strange redirects. Can you host your site on an Apache or nginx server? There’s a list of hosting requirements for Event Espresso here:

https://eventespresso.com/requirements/

Does this mean i have to “Network Enable” EE4 in order to enter the support license?

That’s one way, or you can also activate EE4 on the main site.


George

August 25, 2016 at 8:58 am

Hello Josh,

Thank you for your response.

I have forwarded your response to my hosting provider and have requested to switch my account to a Linux server. Once the switch is done and hopefully it resolves the 404 and redirect issues, i’ll try to activate the support license.

Thanks.


Josh

  • Support Staff

August 25, 2016 at 9:51 am

After they’re done switching to Linux, you’ll need to add/update the .htaccess folder and follow the relevant example in the codex:

https://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite

Viewing 6 reply threads

The support post ‘EE4: WordPress Multisite Sub-site Issue’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso