By dugawug on
just installed Drupal 5.1 but confused about clean URL's.
if i click the Test for Clean URL's, it seems to pass.
so do i need to still take all the stuff listed here into consideration?:
http://drupal.org/node/15365
our Path Module is not enabled, so i assume that must be done. but what is the Path Module going to do that the Clean URL's enabling won't?
Comments
Hi Dugawug, You need to
Hi Dugawug,
You need to install and enable the path module, you will then be able to re-name the URL's whatever you want.
On each page you create you will have the option with the title of 'URL path settings', simply enter in the name of the page.
Leabee
ok, i think it broke something
well...i enabled the Path Module, then enabled the Clean URL's (the test worked again).
now my site is acting strange. if you click any link, it takes you to an unformatted looking site:
http://www.hamsa-yoga.org/newsite/
what's worse is that when i log in as admin, i can no longer access any admin parts of the site! i can't change it back or anything now!
There's something funky
There's something funky going on with the way Drupal is constructing your links. Instead of using the base path of http://www.hamsa-yoga.org/newsite/, it's appending the new path to the place we are before. For example, if I go to your site, and click on "His Teachings", I'm taken to '/newsite/node2' as expected, but if I click on "About Yogiraj" after that, I'm taken to 'newsite/node2node/1', which is wrong. This is why your CSS files aren't loaded after the first page.
I think there's something wrong with the Rewrite Rules in the .htaccess files. Probably not your Drupal installation's but elsewhere on your host. If I pretend you don't have clean URLs by putting in ?q= in front of the path, the CSS is loaded fine. If I put in the URL directly into my browser, it also looks fine.
Hope this leads to some more help.
Thought of something to try: disable everything you did before your site broke. Make sure all the links work right. Then, enable clean URLs first. If that works, then try path and pathauto. Clean URLs is one of the first things I turn on, so I don't know if path and pathauto can deal with changing from one to the other when they've already written URL aliases.
-----
Übercart -- One cart to rule them all.
help...
thanks....
so for my admin stuff, i get page not found errors. can i manipulate the URL's in some way so i can access the module or clean url area and undo all this?
but since we want to have clean urls that we can name ourselves, should i just try to fix this problem instead of avoiding it for now?
You can use your ftp client
You can use your ftp client to go in to the modules folder and delete the path module, if enabling this module is the cause of your current problem then this should let you back into the admin area but you should definitely look into getting the prob fixed.
not sure
i'm not sure if the Path module is what did it exactly. i enabled this first, then the Clean URL's.
in any case, if i delete the path module, i assume it's easy to get back?
No i don't think it's what
No i don't think it's what the problem is either but since enabling it you can't get back into the admin section so try downloading the path module first so you have a copy that you can ftp back up afterwards.
Passing the test should be all you need to do.
What the path module allows you to do is set up your own aliases for the default paths.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
And you can use the pathauto
And you can use the pathauto module to autogenerate path alias based on title and other stuff.
------------------------------------------------------
Be Smart, Think Free, Choose OpenSource.