I was trying to move my live website to a local site using XAMPPP for testing reasons however, I get a 404 every time I try to access it. It is the 404 of my site and not just the generic generated 404, but it's almost like all the CSS is gone and I'm only left with the HTML. I tried adding:
# BEGIN WordPress
<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
to the .htaccess file and adding:
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
to the httpd.conf file and proceeded to restart apache but it had no effect.
Also when I hover over the link to my homepage on my 404 page, the address that comes up in my browser is: localhost/"mysitehere"/localhost/"mysitehere" so it seems as though there's duplicates or something along those lines.
If anyone knows how to solve this or has any advice at all I'm open to as many suggestions as you can offer me.
Thanks