InMotion Hosting Support Center

How can I login to my WordPress site on my primary domain (installed in a sub folder)

Category: Wordpress

2012-10-28 1:37 am EST

Hits: 541
Ok. Here goes.

I want to create a website in WordPress for my primary domain.
I have done a clean install of WordPress in a subfolder of my public_html folder (i.e. /public_html/
I have not yet had my registrar update the DNS to point my domain to my InMotion account.
I have updated my hosts file on my Mac to circumvent that :)
When I point my browser to, a totally "un-markup-ed" basic WP homepage shows up.
When I try to login, I got an error (404 or 400, can't remember)
I added the "WordPress rewrite rules" to my .htaccess file (found in another post on this forum)
Now when I try to login, I get redirected to the same, "un-markup_ed" basic WP homepage (so, I'm stuck in a circle now)

I have successfully installed WordPress for my 3 addon domains.
They all have a clean WordPress install in their respective subfolders of my /public_html/ folder.
They are all "redirected" using my hosts file (I will move all my domains at once ;)).
They all work.

Any clues here? :S

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


5,889 Points
2012-10-29 9:02 am EST
Thank you for your question jopsvanthof!

Unfortunately, its difficult to diagnose the redirect problem when we don't have the domain to look it up. You can try using the temp url instead of the Hosts file change to edit the site. Please try using the temp url for your WordPress to see if it allows you to log in.

<a href="">
Installing WordPress using your Temporary URL</a>

Otherwise we will need to replicate the problem. Please respond back with the domain you are having the problem with the WordPress and we can test it.

Otherwise, you may want to contact support by chat, phone, or email to give them the WordPress login information for testing.


James R

You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!