Support

Home Forums Event Espresso Premium Shortcode displaying on page instead of actual Events

Shortcode displaying on page instead of actual Events

Posted: March 13, 2014 at 10:58 am

Viewing 10 reply threads


Steve Morin

March 13, 2014 at 10:58 am

Hello, as you can see at my page here: http://www.newli.org/event-registration/?ee=3

my page is displaying the shortcode and not the event, as you can imagine the event organizer is ready to have my head.

I just had the site moved to a Windows based server from a Linux. I had to add some code to a web.config file to ensure we had pretty permalinks. Can you let me know what may be causing the shortcode to not function?


Josh

  • Support Staff

March 13, 2014 at 11:06 am

Hi Steve,

Does it work if you go into WP>Permalinks settings and change it to be the Default Permalink structure? Some Windows servers will not do pretty permalinks without an /index.php in the URL and changing the web.config file might have broken something.


Steve Morin

March 13, 2014 at 11:09 am

It works now, but I would really like to use the pretty permalinks structure. Here is a copy of my web.config file:

<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”WordPress Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php?page_id={R:0}” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>


Steve Morin

March 13, 2014 at 11:11 am

Is there any way I can code the web.config file so I can get the pretty permalinks and also keep the Events Espresso items live?


Josh

  • Support Staff

March 13, 2014 at 11:24 am

Hi Steve,

I’d recommend using a Linux server instead of Windows because Windows servers can be tricky to get custom Permalinks set correctly. If it’s a newer version of Windows server software it may be possible for the server admin to configure it to correctly do permalinks. Usually it will end up with index.php in the URL though, which isn’t as nice as what Linux will do.


Steve Morin

March 13, 2014 at 11:40 am

Normally I would, but the hosting company was having some issues with their Linux server and the performance was very slow so I had them put it on the Windows based server. I have used the hosting company for many years, but with all these issues over the last month, I may have to move on.

Ok then, I will go to plan B which is, I have already have another Linux server in place and I have the whole site almost completely copied over. So my best bet is to switch it to that Linux server and flip the DNS switch.


Steve Morin

March 13, 2014 at 11:42 am

On my test server I have Event Espresso but I dont have automatic upgrades for more than one domain, can you help me out there so I don’t have to purchase a second license key?


Steve Morin

March 13, 2014 at 11:43 am

I can send you the temp site’s url while I am getting it up to speed if you need that.


Josh

  • Support Staff

March 13, 2014 at 11:46 am

Hi Steve,

You don’t need a second key to install ee elsewhere. I’ll reset your key right now and what you’ll need to do is remove the key from the site your migrating from and copy the key to the site you’re migrating to.


Steve Morin

March 13, 2014 at 12:22 pm

Thank you very much Josh.


Josh

  • Support Staff

March 13, 2014 at 2:27 pm

You’re welcome Steve.

Viewing 10 reply threads

The support post ‘Shortcode displaying on page instead of actual Events’ 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