Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm actually just trying to mirror a GoDaddy site on a subdirectory of my personal 1&1 hosting.

I just strait up copy-pasted the file structure, and copied the Database, using a search replace tool to replace the base url with my new one. I then editted the wp-config with the new DB stuff.

When I navigate to http://oneandone.com/wp for some reason its redirecting me to a GoDaddy 404 page.

If I go to http://oneandone.com/wp/readme.html it displays the appropriate file correctly.

In the options table in the db, I've verified that the siteurl is correct.

.htaccess

# 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

Anyone have any insight?

Update

It may be of interest, that the problem persists even when wp-config has bad info for the database. I think this indicates that wp-config isn't even loading. The index.php file looks normal, as well as the .htaccess, so I'm totally at a loss here.

Update 2

http://oneandone.com/wp/index.php brings me to the expected Database Error page. Where http://oneandone.com/wp/ gets the godaddy 404 page.

FINAL UPDATE: PROBLEM RESOLVED

see my answer below

share|improve this question
add comment

closed as too localized by Wyck, toscho Aug 7 '12 at 23:38

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

make sure your .htaccess file is correct. did you copy that aswell?

share|improve this answer
    
I checked that, everything looks kosher - same as a new install –  Zach L Aug 7 '12 at 20:06
    
so to get this straight, example.com is 1&1 hosting yes? maybe call it oneone.com or something to keep it more clear. maybe there is more than one .htaccess? you have one in folder aswell? maybe you can use chrome's devtools and check the timeline see what happens. you know how to do that? –  woony Aug 7 '12 at 20:33
    
I'll change that naming convention now, I can see how that would be confusing. I'm starting to think maybe "redirect" was not the correct word to use. Timeline shows the first item as a request to oneone.com/wp - and this resource is the godaddy 404 page. If that makes sense. I just have no idea where its coming from and why. –  Zach L Aug 7 '12 at 20:42
add comment
up vote 0 down vote accepted

Ok, I'm a jerk. Somehow I overlooked the welcome.html file in the root of the wp install (for some reason this is a GoDaddy 404 page). Not sure what code is causing that to load instead of index.php, but there it is. I deleted this file, and voila! Everything works as expected. That was a waste of 6 hours haha.

share|improve this answer
    
lol :) happens , good thing you found it. It was quite confusing indeed :) –  woony Aug 8 '12 at 6:54
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.