• Resolved doogie88

    (@doogie88)


    I had my site on https://www.testsite.com/wp/
    And I wanted to move to a new server and new domain https://www.newsite.com
    I messed it up on the new site, so I just went back to old site for now. But for some reason my content pages are giving me a 404 error though everything else is working.

    This is my htaccess I don’t know if I messed something up on there or what else it could be.

    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
    </IfModule>
    # END W3TC Browser Cache
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ./wp/index.php [L]
    </IfModule>
    
    # END WordPress
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘404 error after trying to change hosts’ is closed to new replies.