Wordpress: Difference between revisions
Jump to navigation
Jump to search
Joejoe2010 (talk | contribs) No edit summary |
Joejoe2010 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
== 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 10: | Line 11: | ||
* [http://stackoverflow.com/questions/2195252/in-wordpress-php-files-within-the-theme-folder-do-not-run-but-return-404-error php files return error 404] | * [http://stackoverflow.com/questions/2195252/in-wordpress-php-files-within-the-theme-folder-do-not-run-but-return-404-error php files return error 404] | ||
* [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 == | |||
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 |
Revision as of 13:28, 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