2

I've created a node and have given it the URL /themes. In full: http://site-name.com/themes.

Permissions on the Drupal system folder 'themes' mean that the URL /themes gives: 403 forbidden.

Is there anyway to have a node with /themes? I'd prefer if possible to keep my current file structure as I think it would be difficult to change with my current host (Pantheon).

3
  • Though I don't know if it is possible to use a path which is actually a core folder, I want to point out that you cannot change the file structure of Drupal, doesn't matter what hosting you have.
    – Elin Y.
    Oct 11, 2013 at 11:39
  • Yes, it's possible in theory, but you'll need to get Pantheon to change their Nginx config to actually do it. That's not very likely in my experience, as they use a shared version for a lot of stuff. I'm not 100% sure, but I don't think even enterprise customers can get the web server conf changed (we tried once before). Either way, you really need to direct your query to them to find out if they can facilitate
    – Clive
    Oct 11, 2013 at 11:44
  • Have you tried the Pathauto module to generate an alias? drupal.org/project/pathauto
    – CR47
    Oct 11, 2013 at 19:54

1 Answer 1

-3

In your .htaccess file, the URL re-write has the a code to point the path to the respective folder, if present.. you can change that!

3
  • Danger danger!! Please don't mess with that Oct 11, 2013 at 12:26
  • Yes, it's not advisable; but its the only solution to do that.
    – SDhariwal
    Oct 11, 2013 at 12:27
  • 1
    No, it's not a solution. You're assuming the OP's web server is Apache, which it isn't.
    – Clive
    Oct 11, 2013 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.