Clean URLs in Drupal 6

Category: Drupal 7

ElliottDiamond
Asked:
2012-11-06 3:17 pm EST

Hits: 670
I am migrating a Drupal 6 site from another host to InMotion.

Clean URLs are working on the old host but not here.

.htaccess file is the same on both hosts.

What can I do to get clean URL's working here?

I'm accessing the site through the temporary URL because I need to test it before updating the DNS. In what may be related, the site is also not accessing files (images) in my sites/default/files/ folder correctly either. ARe both these issues related to the temp URL?

Vonn

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

0

Scott
Staff
19,427 Points
2012-11-06 3:27 pm EST
Hello ElliotDiamond,

With CMS tools, it is very common for domains using a Temp URL to not perform properly with regard to certain links and clean URLs. This is due to the pathing structure. You can test this, however, by making a change to your hosts file. This allows you to use your domain name as you normally would as long as you have the mod in place. Below are some links to making this change so you can see the effects.

Hosts File Mod in Windows

Hosts File Mod on a Mac

Best Regards,
Scott M

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

OTHER ANSWERS

0

MMacLeod
2013-04-12 5:33 pm EST
I followed http://drupal.org/node/121834 suggestion to modify 'RewriteBase /' in .htaccess.

I included /~userna5 from the temp URL.

Example: Temp URL - http://ecbizxxx.inmotionhosting.com/~userna5 use
RewriteBase /~userna5

You may need to comment out RewriteBase / when you update the DNS.

Hope this helps.
Minna

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

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!