• Resolved rickwillingham60

    (@rickwillingham60)


    I work on a site for a friend. I copied the site to a different server and domain/sub-folder for the purposes of testing/developing a new theme. The home page works, database is connected (at least no more error messages).

    Now, I’m getting the “Not Found The requested URL /index.php was not found on this server.” error page when trying to connect to anything other than the home page.

    I have researched similar problems. Answers indicate that .htaccess may need to be modified. Here’s what works on the original site:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    I’ve also edited it to match other help posts that I’ve found:

    # BEGIN WordPress
    
    RewriteEngine On
    
    <IfModule mod_rewrite.c>
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Still doesn’t work… I’ve checked wp_options/permalink in the database and it is set to “/%postname%/” (quotes not included in data)

    I’m at a loss as to what to try next. Any suggestions?

    Original site is “learntosingbetterfast.com” and test site is “rpwproductions.com/Sing/”

Viewing 1 replies (of 1 total)
  • Thread Starter rickwillingham60

    (@rickwillingham60)

    SOLVED!

    I finally went into the admin section/settings/permalinks and switched the setting from “Post name” to “Default”, saved it, then went back and switched it from “Default” to “Post name” and everything started working. Huh. So simple. I wasted all day trying suggestions I found googling the topic.

    I hope this helps someone else (getting into the admin – I’d tried changing settings through the database directly and it didn’t work).

    Anyway, all’s not lost – I learned some valuable information today.

    A “Special THANKS!!!” to all of the people and experts who post solutions to the problems and issues presented here.

Viewing 1 replies (of 1 total)

The topic ‘URL /index.php was not found’ is closed to new replies.