Forums

WordPress Local Site 404 Error (3 posts)

  1. PhortyPhour
    Member
    Posted 10 months ago #

    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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

  3. PhortyPhour
    Member
    Posted 10 months ago #

    That's actually the guide I used to do the move.

Reply

You must log in to post.

About this Topic