.htaccess problems

Permalink 1 user found helpful
Hello,

I am trying to use 'pretty' urls within my site and can't get anything to work.

Every tutorial I have followed doesn't seem to work either.

I am using the latest C5 instance (5.4) but every time I try to enable 'pretty' urls, I receive the input not specified error in my browser.

Any solutions to this yet?

Thanks!
Dennis

 
dukeatcoding replied on at Permalink Reply
Are you sure you htaccess works properly in general ?

Have you tested it with a simple password protection ? Some servers have deactivated htaccess
dennismonsewicz replied on at Permalink Reply
Yeah I am sure .htaccess files work on my server. I am using them with other sites on this server
nteaviation replied on at Permalink Best Answer Reply
nteaviation
Did you create the .htaccess file using the information in the Dashboard/Site Settings? What is the exact error message that Apache is throwing in the logs? Also, the permissions on the .htaccess file must be readable by Apache.
dennismonsewicz replied on at Permalink Reply
Problem solved! I had to change my permissions on the .htaccess file... thanks for your help!!!!
nteaviation replied on at Permalink Reply
nteaviation
Excellent! Glad I could help :)
lexteo replied on at Permalink Reply
dennismonsewicz what permission did you used ? i'm having the same problem and I don't seem to solve it! tried almost everything
tallacman replied on at Permalink Reply
tallacman
Im on Dreamhost and pretty urls fail spectacularly. It could be your server.
Shotster replied on at Permalink Reply
Shotster
tallacman, pretty URLs work fine for me on DreamHost. Also, see here to try to boost performance...

http://www.concrete5.org/community/forums/installation/dreamhost_ph...

-Steve
coletarienet replied on at Permalink Reply
I'm getting the same error and I've checked all the above and still doesn't work.
my site address ishttp://www.coletarie.net

Thnak you
coletarienet replied on at Permalink Reply
Can anyone help me with this?

Thanks
nteaviation replied on at Permalink Reply
nteaviation
Are there any errors being thrown in the apache logs? Are you running your site out of "webroot" or in a sub directory? What does your .htaccess look like and what permissions are on that file?
coletarienet replied on at Permalink Reply
No errors related to this item.
I wonder why my answer has dissapeared from the forum, I've answered that already
Abs0lute replied on at Permalink Reply
Abs0lute
coletarienet & nteaviation
How did you get it to work? I've tried everything and no dice.
I did get the URLs to rewrite, but they don't link correctly to the right system file. Everything in my site navigation shows the index.php content/page, but the URL changes.
Any suggestions
nteaviation replied on at Permalink Reply
nteaviation
Getting "Pretty URLS" to work can be a pain. Who is your web host? Did you try clearing cache? What does your .htaccess file have in it?
Steevb replied on at Permalink Reply
Steevb
Concrete5 now writes to my .htaccess file for me to make pretty url's. If you can access your .htaccess file it should look like this:

# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --

If it doesn't then cut and paste the above.
I tend to make sure the above code is at the top of the file, so I can add other stuff without fear of disturbing it.

That is assuming your host has the apache mods set up.