Hi - I am about to move hosting providers and am wondering where are the clean urls located? I can't lose them in the move!

Also - should I install a clean install or just copy everything from one server to the other?

Thanks!

Comments

silverwing’s picture

if your new host has mod_rewrite then all will be fine. (And any reputable host has it enabled by default.)

When I changed hosts, I uploaded all new core files and transfered my module and theme folder (I wasn't doing an upgrade, just a move.)

~silverwing

_____________________________________________
MisguidedThoughts | showcaseCMS

allen074’s picture

thank you - so the urls are stored in the db?

add1sun’s picture

No, clean URLs are not stored in the database, they are dynamically created by your .htaccess file and the Apache server's mod_rewrite feature. So clean URLs are dependent on your new host supporting mod_rewrite - go ahead and ask them if you aren't sure but as silverwing stated, any host worth a few bucks a month supports this so it shouldn't be an issue for you.

Lullabot loves you | Be a Ninja, join the Drupal Dojo

Drupalize.Me, The best Drupal training, available all the time, anywhere!

holeepassion’s picture

Got the following message !!!

I did just that copied all the files in the old directory to the new host and upload the database ... but it does not seem to work for me ....

The requested URL /user/password was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at holeepassion.freehostia.com Port 80

Wondering where should the .htaccess file located ????

What is the working .htaccess file ??? could we get the code please ? Mine was working till my old host messed things up ? Now, in the new host, I can only display the index file but I cannot click on any of the links (menus, etc etc)

Website is off line for more than 3 weeks already ...

thanks

http://www.holeepassion.com

Positive actions for saving EARTH

vm’s picture

.htaccess files are located in every download of drupal from drupal.org.

I suggest redownloading drupal and pulling out the .htaccess file nad uploading it to the root of your drupal install. just as it is in the download.

I also suggest, clearing your cache tables in the database, using your hosts database tool (phpmyadmin)?