Jump to content

How do disable clean urls?


eomine
 Share

Recommended Posts

My clients runs his own server, and now that he installed the PW site, only the homepage works.

None of the internal pages work (404 Not Found), so I was wondering if it was possible to disable clean URLs, to make sure it is a mod_rewrite/htaccess problem.

Link to comment
Share on other sites

Have you tried using URL instead of ID: http://processwire.c...t=/api/concept/ and so on?

Although, judging from the symptoms, I'd be rather surprised if the problem wasn't mod_rewrite-related :)

Edit: I'd recommend doing a Google search (I'm not a big fan of our dear forums built-in search thingy..) with something like "site:processwire.com/talk/ mod_rewrite". You'll find quite a few tips & tricks for troubleshooting + fixing mod_rewrite-problems that way.

Edited by teppo
  • Like 1
Link to comment
Share on other sites

Although, judging from the symptoms, I'd be rather surprised if the problem wasn't mod_rewrite-related :)

Hi eomine and welcome to the PW forums.

I think teppo is right and, fortunately, as your client runs his own server this should be easy to diagnose and rectify. Ryan recently posted a reply to a similar situation that might help you.

  • Like 1
Link to comment
Share on other sites

Just a thought; if your client is using a debian based linux installation with Apache2 then you can make sure that mod_rewrite is installed pretty easily by doing...

a2enmod rewrite

from a terminal as root (or use sudo if you're using something like Ubuntu).

Link to comment
Share on other sites

If it's ubuntu, mod_rewrite should be enabled by default. The most common problem is not having "AllowOverride" enabled

in the etc/apache2/sites-available files change from AllowOverride None to AllowOverride All

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...