View Full Version : .htaccess Help
anthrax
07-02-2007, 10:45 PM
Hey,
I've used the Search button and I've been unable to find anything about my problem (which is hard to believe). Maybe I am using the wrong search terms, but I couldn't find a single thing other then mods for v3.
Here's what I've done...
I installed the directory correctly, admin panel works fine, everything is great.
I try to turn on SEO friendly URLs and the directory doesn't work anymore when I click on a Category. Yes, the .htaccess is in the /directory folder where I installed phpLD.
The .htaccess has 666 permission access, although I don't know if that matters. Please help me out :cool: .
Thanks,
.//anthrax
shadav
07-02-2007, 10:47 PM
by doesn't work...do you mean that when you click a category it goes back to index page? If so try rebuilding your category cache.`
anthrax
07-02-2007, 10:52 PM
It gives me the 404 Error page, although that might solve it...
How do I rebuild the category cache?
shadav
07-02-2007, 10:55 PM
Content visible to registered users only.
this may help as well
Content visible to registered users only.Content visible to registered users only.
anthrax
07-02-2007, 10:59 PM
Rebuild Category Cache must only be for v3. I have v2.1.2.
Like I said, I am getting a 404 Error, not a 500, although I do have 1and1 hosting.
This is my .htaccess:
Content visible to registered users only.
shadav
07-02-2007, 11:06 PM
oh sorry lol yes it is v3 feature...
and that's the .htaccess that comes with the download...
well a few more random quotes that may or may not help
Content visible to registered users only.
also try changing the permissions to 755...i think that's what mine's set at.
anthrax
07-02-2007, 11:11 PM
Tried to changing to 755 and no dice.
I'm almost certain 1and1 allows Apache.
James
07-02-2007, 11:26 PM
ok
after this
RewriteEngine On
add
RewriteBase /
anthrax
07-02-2007, 11:37 PM
Did that, still not working. My .htaccess is now:
Content visible to registered users only.
James
07-02-2007, 11:49 PM
change the Options lines to #Options
is it 404 or 500? 1 and 1 requires commenting out of Options lines and the uncommenting of the rewrite base
anthrax
07-03-2007, 12:52 AM
Done, still nothing. I am sure it's a 404 Error. I guess I should put my URL out ... <removed>. Once I get it working, I was planning on changing the logo and adding a domain and more categories ... but I want to know it works first.
.htaccess is now:
Content visible to registered users only.
James
07-03-2007, 01:03 AM
RewriteBase /directory
if that doesnt fix it then will have to go up one level to your blogs htaccess
anthrax
07-03-2007, 01:13 AM
There we goooooo.
That fixed it, thanks.
James
07-03-2007, 01:13 AM
having an url helps :)
technomatters
10-11-2007, 08:02 PM
hi Dawzz,
With phpld2.0 on 1and1 the url rewrite is working fine once we make changes in .htaccess file
=======================
after this
RewriteEngine On
add
RewriteBase /
=======================
good thanks
Venkat
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.