Wordpress: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Problem with loading web-interface ==
==Problem with loading web-interface==
Assuming you want to run wordpress with apache/xampp on a local testserver. After setting up xampp and testing phpinfo() download wordpress and copy it into htdocs. Then you need to edit wp-config.php as instructed on the wordpress-installation-page.
Assuming you want to run wordpress with apache/xampp on a local testserver. After setting up xampp and testing phpinfo() download wordpress and copy it into htdocs. Then you need to edit wp-config.php as instructed on the wordpress-installation-page.
Next step would be executing wp-admin/install.php in your browser.
Next step would be executing wp-admin/install.php in your browser.
Line 12: Line 12:
* [http://www.apachelounge.com/viewtopic.php?p=16806 enable php error messages]
* [http://www.apachelounge.com/viewtopic.php?p=16806 enable php error messages]


== How to enable permalinks on wordpress ==
==How to enable permalinks on wordpress==
In order to display links as permalinks (/es/pagename instead of something like index.php?lang=es&page=product) the following steps are necessary:
In order to display links as permalinks (/es/pagename instead of something like index.php?lang=es&page=product) the following steps are necessary:



Revision as of 13:35, 1 March 2011

Problem with loading web-interface

Assuming you want to run wordpress with apache/xampp on a local testserver. After setting up xampp and testing phpinfo() download wordpress and copy it into htdocs. Then you need to edit wp-config.php as instructed on the wordpress-installation-page. Next step would be executing wp-admin/install.php in your browser. Unfortunately nothing happens and the site stays blank. If this is the case try the following hints:

  • Restart your computer ;-)
  • Edit install.php (fe. add some html-testing code at the beginning of the file). By doing this you make sure to have proper access to the page. Anyway an errormessage (fe. 500)would have informed you before about wron access settings
  • Try this
  • Try this

For more information please have a look at the following links:

How to enable permalinks on wordpress

In order to display links as permalinks (/es/pagename instead of something like index.php?lang=es&page=product) the following steps are necessary:

  • Make sure that in the apache httpd.con the mod_rewrite module is activated; if necessary uncomment or add the following line:
 LoadModule rewrite_module modules/mod_rewrite.so
  • Restart apache
  • Enable AllowOverride. Go to the according section in httpd.conf and add/edit the code. At the end your code should look like the following:
 < Directory/ >
     Options FollowSymLinks
     AllowOverride All
     Order deny,allow
     Deny from all
 < /Directory >
  • Restart apache