I have WordPress setup (domain.com folder) and before the deletion, the pages were working fine, but now when I click them, they’re giving me 404 errors.
I have to assume that there was directive in this root level .htaccess versus the default WP one that lives in domain.com folder.
Can anyone help me out with what needs to be in this root level file?
In this structure, www (or public_html) is where the main domain is located (add-on domains and subdomains are in subdirectories of www).
IF www is where you’re trying to install .htaccess, that’s correct (for the main domain, NOT for subdomains/add-ons as they “skip over” the main domain’s DocumentRoot).
Please define your structure - at least where domain.com (registered domain or merely a subdirectory???) is located in this structure.
Yes, www (domain.com) is where my main domain / wordpress root level would be.
I uploaded your code to that spot and it works for the pages, but the CSS is not rendering. Without the file, the homepage loads with style, but shows a 404 on all subpages.
The obvious question is “Where is the css file located (in your physical structure)?” It MUST be in the same place as the WP css file and called in the same manner (it’s protected from redirection because of the !-f).
Okay, thanks. However, I’ve got to assume that wp-content is the location of WP’s index.php file handler. That means that I was not sufficiently specific in asking for the location of index.php (WP’s, not a website welcome like a flash intro). If this is a correct assumption, then you’ll have to move the .htaccess to the wp-content directory and make sure that your “flash intro page” links to the WP installation’s index.php.
Well, with that, color me totally confused about your WP installation.