wordpress - forbidden message


Tags: , ,

In some cases, with different hosting providers, it occurs sometimes, that you will get an “forbidden” message if you are writing a new post in wordpress and will save this. This has, in most cases, to do with some security rights on the server.

  1. Forbidden 403 - You don‘t have permission to access /wp-admin/post.php on this server.

One solution is following:

Create a text file with a simple text editor and save it with the name “a.htaccess”. In the text file write:

  1. SecFilterInheritance Off

Use a ftp program to transfer this file to your website in the folder

  1. …. your-server.com/wp-admin/

This is important!

Rename the file to “.htaccess” (the dot must be before the text). On some servers this file will disapear after you renamed it, because the server is set to not show thus files. Files with a dot at the beginning often set to be hidden. Good ftp programs have the ability to toggle between “showing hidden files / or not”.

Try to write a new post in wordpress.

wordpress - homepage custom title - other title seo optimized


Tags: , , ,

How to make your homepage title custom and other titles of your wordpress blog seo optimized?
Please use this on your own risk only with wordpress installations!!

If you do not use a plug-in to create seo - optimized titles or some other plug-in dynamic changing the title tag, you can use this method.

Make a backup of the header.php file in the themes folder of your wordpress theme. Just for security reasons, if you will go back to your old header.php file. Open in a text editor the header.php file in the themes folder of your wordpress theme.

Find the following code:

  1.  

or similar, like this:

  1.  

Replace the code, with this code:

  1. < ?php if(is_home()) { ?>< ?php } else { ?>< ?php } ?>

and change the text “your custom title here” with your title text you like for the homepage. Upload the file and test it.

It should now show your custom title on the homepage and on other pages the seo optimized one.

Please use this on your own risk!!