Nothing shows up / 404 Page not found

Your categories, projects or pages may be empty because you did not add any content yet.

Otherwise please log in to your WordPress admin area and go to “Settings” → “Permalinks”. Make sure “Post name” is checked and click “Save”.

If afterwards nothing shows up on your site go back to “Settings” → “Permalinks”. Scroll down. Do you see a sentence like this? “If your .htaccess file were writable…” If so, underneath there will be code that looks something like this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Your code may differ slightly. Please copy that code (not from here, but from your WordPress admin panel). Then connect to your ftp server with FileZilla.

  • Enter your WordPress folder
  • Make sure you can see hidden files: In the menu of FileZilla go to “Server” and activate “Force showing hidden files”
  • If you don't see a “.htaccess” file, create it: Right click → “Create new file”
  • Right click the new file and choose “View/Edit”. This will open up your default Text Editor.
  • Paste the code into your “.htaccess” file.
  • Save the file and go back to FileZilla
  • It will ask you if you want to upload the modified file back to your server. (Yes)

Now pretty permalinks should be active and navigating in your website should work!

If you still don’t see your content you may find a solution here. Or you can email your webhost support to see if they can solve the problem. Please tell them you tried to activate permalinks for WordPress but it did not work.

Projects don’t show up (but everything else does)

This has to do with the firewall "mod_security". If everything shows up except for projects, try disabling your firewall in your webhost control panel. Alternatively you can ask your webhost to make URLs like http://yourwebsite.com/wp-json/wp/v2/posts/205 work by creating a firewall exception. URLs like that are Wordpress' REST API URLs that provide the content of your website.

Updating a project/page/category redirects to homepage

This has to do with the firewall "mod_security". Quote: ”It is used to block commonly known exploits by use of regular expressions and rule sets. This sometimes blocks the POST requests being generated after a post is updated or published because of the complex HTML content having all the tags, embed code, shortcodes etc. which get caught by the ModSecurity’s rule set.’ (Source) You can disable mod_security or ask your webhost to disable it for you.

.woff fonts or svg files are not uploadable

Try to use Chrome as your browser or try to drag and drop the file into the Media Uploader. For WordPress 4.7.2 you will need to install the plugin "Disable Real Mime Check" in "Plugins" → "Add New".

Nothing shows up in the Media Library when clicking "+Image"

Please disable the "Jetpack" plugin.

I see a 403 error after activating Lay Theme

If you got a 403 error there are a couple of things you can try:

See if you can enable “mod_rewrite” in your webhost admin area. The “mod_rewrite” option is typically hidden in a “php.ini”, “php config” or “httpd” section. If you can’t find it write an email to your webhost support.

If the above does not work try the following:
Connect to you FTP Server either in your webhost control panel via “Web FTP” or with an FTP application like FileZilla.

For FileZilla you will need your FTP servername, username and password. You can find this information in your webhost control panel. If you use FileZilla make sure you can see hidden files: In the menu go to “Server” and activate “Force showing hidden files”.

After you have connected to your FTP Server go to your website folder where WordPress is and find a file called “.htaccess”. Download the file, open it and before “# BEGIN WordPress” add this:

Options -Indexes
Options +FollowSymLinks

Then save the file and upload it to your FTP, replacing the old .htaccess file.

If the above steps don’t work please email your webhost to see if they can solve the problem. Tell them you tried to activate permalinks for WordPress and you are getting errors. Lay Theme needs permalinks to work, that is why it activates permalinks automatically.

Upload folder not writeable or I can’t upload images

Did you upload images before and it worked? Then your webspace might be full now.

Otherwise you probably don’t have write access to your “uploads” folder. Please connect to your server with FileZilla.

  • Enter the folder “wp-content”
  • If you don’t see a folder called “uploads” please create it
  • Select the folder “uploads”, right click it and choose “File permissions…”
  • Find the input field “Numeric value” and type in: 755
  • Click “OK” to apply the changes

This sets the right permissions and now uploading images should work!

In rare cases setting the “File permission” to 755 might still not work. In this case please contact your webhost.

I have a different error and my webhost support could not help me

If your webhost support could not solve the issue, please post your problem in the Lay Theme Forum in the category “Installation Problems”.

Does everything work but you see error messages? Please post in the category “Bug Reports”.

Lay Theme Bugs

If you find any bugs in Lay Theme please let me know in the Forum! For example maybe something doesn’t work at all or maybe you find a detail that doesn’t work so well. If it’s a “visual” thing that doesn’t look right please post a screenshot in the Forum.