Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3609772
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:40:11+00:00 2026-05-18T21:40:11+00:00

I just moved my WordPress site from using nginx to Apache2, and found that

  • 0

I just moved my WordPress site from using nginx to Apache2, and found that the homepage could not be shown, instead, the browser prompt me to download it (the file download is exactly the one of index.php).

However, the strange thing is that, except the home page, all other pages (including the individual post page, wp-admin pages, rss, theme preview, etc.) work fine.

And i have another wordpress site hosted in the same machine, works fine.

Here is the .htaccess file: (this is actually what WordPress did)

# 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

And here is what i got from the access.log

207.46.92.16 - - [30/Dec/2010:16:17:56 +0800] "GET /index.php HTTP/1.1" 301 - "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.1.4322; .NET CLR 3.0.04506; SLCC1; InfoPath.3; .NET4.0C; .NET4.0E; MS-RTC LM 8)"

Actually I did the following but no change:

  1. Disable mod_rewrite Copy the
  2. .htaccess from the correct wordpress
    site

Did anyone face anything like this or have any clue on this?

I also opens a link here. try the followings:

  1. http://www.weigblog.com/
  2. adding index.php (sorry i can’t post more than 1 link)
  3. adding testphp.php
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T21:40:12+00:00Added an answer on May 18, 2026 at 9:40 pm

    If one thing is for certain, the htaccess file has nothing to do with it.

    Is it, maybe, possible that your server is unaware that PHP is an actual application? If you don’t have the handlers setup (AddType application/x-httpd-php .php) or the PHP module isn’t loaded by Apache, the .php extension means absolutely nothing to the server.

    Try to upload another file, called, say, info.php with only one line in it: <?php phpinfo(); ?> and opening it in a browser. If it works, PHP is not the issue. If it doesn’t, that’s where your problem is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just moved job and gone from VB 6 to VB.Net and found
I recently moved my WordPress site from my Mac OS X to Windows XP
I just moved my wordpress install from my older server to a new one
Just moved to subversion...from visual studio. I love it already! Can someone briefly explain
I have just moved from phase 1 to phase 2 of a project. In
I moved my wordpress (3.0) blog to my dedicaced server. Just one thing is
Having just moved from textmate to vim I'm curious. To be able to navigate
I just moved over to the Visual Basic team here at work. What is
We just did a move from storing all files locally to storing them on
Just looking for the first step basic solution here that keeps the honest people

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.