ok...i desparately need help with this...
I have a local xampp stack setup for my wordpress site. It was first installed on another webserver(clients webserver) and im doing work on it locally. So I downloaded all the files and database to my local xampp server. So here is what i did to run it locally to begin with:
- first I changed the url in the database table: wp_options for the siteurl.
Then I added these two lines of code to the end of my wp-config:
define('WP_HOME','http://localhost/wpsite'); define('WP_SITEURL','http://localhost/wpsite');
Those are the only changes i made to run it locally. Also, in the root of the wordpress site folder, there is this .htaccess file:
# 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
I have tried all options:
- commenting out all combinations of the wp-config.php file's define lines.
- deleting the .htaccess file with combinations of all the define lines in wp-config.php file.
PLEASE HELP ME!
Aucun commentaire:
Enregistrer un commentaire