• Resolved Arqanos

    (@arqanos)


    Hi, I’m running into a small issue with the plugin and I have not yet been able to find a solution. I have my WordPress set to a static landing page instead of a blog page. The page does display correctly in the default language but when I switch the language the landing page does not display the translated static page but, instead, reverts to a blog page.

    So when I vitit the webpage the URL is: namehere.de
    When I switch language it’s: namehere.de/DE/
    On the first I have my landing page like it’s supposed to, the second one reverts to a blog page. This is the case in my installed theme (free corporate: wpexplorer.com/corporate-free-wordpress-theme) , but also in twentyfourteen and twentyfifteen.

    I have the feeling this has a very simple solution / answer since I am sure I am not the first one to use a static landing page, yet I have not been able to find it.

    Keep up the great plugin work! Very easy to use and very light on resources ??

    Regards

    https://www.ads-software.com/plugins/wpglobus/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Alex Gor

    (@alexgff)

    @arqanos
    Check ‘Front page displays’ option where Front page and Posts page installed correctly at /wp-admin/options-reading.php page

    Thread Starter Arqanos

    (@arqanos)

    I have no checkboxes on that page. I have set the static page to home and the blog page to some page I am not using. The default language goes to the right page but the translated page ends up on the blog page.

    Plugin Contributor Alex Gor

    (@alexgff)

    @arqanos
    I checked on a clean install with WPGlobus only. Everything works fine. Try to deactivate other plugins and use standard theme

    Hi @arqanos,

    Interesting issue. Definitely not directly related to the static page, because we used that many times. So, let’s check it together.

    You wrote /DE/ – in capital letters. Where did that come from? WPGlobus uses only lowercase for language tags.

    Would you like to share the URL of your site, and maybe even give us a temporary admin access to it? Use the contact form on https://www.wpglobus.com to send us a private message.

    Thank you!

    Thread Starter Arqanos

    (@arqanos)

    I’m sorry, force of habit to use capital letters. They’re not capitalized in the URL. I have used the contact form on your website to share temporary admin rights. Note that you will need admin rights to view the front-end of the page.

    Many thanks for all the help so far!

    Thread Starter Arqanos

    (@arqanos)

    Well, after some mailing back and forth with Gregory we found the solution to be one that I might have overlooked. It’s a rewriting issue on a Windows server without .htaccess enabled. So for the plugin to work you need a web.config file to enable WordPress and the plugin to use ‘pretty URLs’.

    web.config:

    <?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" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>

    Thumbs up for the support and the awesome plugin.

    Glad we could help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Landing page – static or blog’ is closed to new replies.