New XAmpp copy old WordPress files

New XAmpp copy old WordPress files

1 minute, 30 seconds Read

I installed XAmpp locally with WordPress. I have installed new XAmpp on the same disk (previous XAMPP removed) and then copied all WP folders from old installation in New XAmpp at the same location.

Everything remained the same, mysql, phpmyadmin, old wordpress tabels (which I copied) in phpmyadmin all work.

But when I try to open HTTP: // Localhost/XAMPP/WP/WP-Admin/(my old WP-URL), I just get error 500 without other information (nothing in mysql-funer logbook, I have enabled all error to the detail). Nothing in WP content/Debug.log

I would like to run WordPress from earlier.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at postmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

I have this message in Apache -Froutlogboek:

[Sat Aug 02 09:48:18.801756 2025] [core:alert] [pid 5800:tid 1916] [client ::1:2166] C:/xampp/htdocs/xampp/wp/.htaccess: RewriteEngine not allowed here

I have just copied all WordPress files from old installation (including HTACKES)

My HTACCESS in WP directory looks like this (I have not changed before):

# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END    WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /xampp/wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /xampp/wp/index.php [L]


# END WordPress

php_value upload_max_filesize 232M
php_value post_max_size 264M
 php_value memory_limit 128M
php_value max_execution_time 1300
php_value max_input_time 300

#XAmpp #copy #WordPress #files

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *