Link to home
Start Free TrialLog in
Avatar of jcaprio
jcaprio

asked on

Disable, then Enable Clear URL's

The issue I am having is that the user login URL "www.somesite.com/?q=user" was never issued a clean url such as "www.somesite.com/user".

I want to disable clean URL's and then re-enable them to try and fix the error however I do not want to mess up any of the other Clean URL's that have already been generated.

Is this a valid concern? Do I run a risk of messing up other clean URL's by doing this?

Thanks,
Joe
Avatar of nanharbison
nanharbison
Flag of United States of America image

My experience with clean URLs is that if you forget to enable them, all the links you have created so far will not be clean, so you would have to go into the structure->Menus->whatever menu you are dealing with and fix them. Maybe there is an easier way, I am not sure.
Is your logged in user page clean? I looked at structure-> menus, there is a user menu, but you can't change the links. I wonder what would happen if you disabled (delete is not an option) the My Account, and create a new one with a clean URL, or create a new page called user and set the link to be /user.
So, what would happen if you disabled and re-enabled clean URLS? I am not sure, but if you back up your database right before you make the changes, you can always restore it (with the Backup And Migrate module, maybe you are already using it)
Oh wait, ONE MORE THING - do this first - clear the caches in the performance section of the configuration page.
ASKER CERTIFIED SOLUTION
Avatar of Aaron Feledy
Aaron Feledy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jcaprio
jcaprio

ASKER

Holy cow Arrow_1, you solved it!

There was a "user" directory in my drupal install probably put there by some other developer!

Great catch!

Joe Cap