|
Haven't registered yet? Do it here now!
|
Carl0s2
Joined: 26 Jun 2008 Posts: 48
|
|
|
|
|
|
|
Posted: Sat Jun 28, 2008 10:34 pm Post subject: .htaccess messed up? |
|
|
|
|
|
|
|
|
|
|
Hi,
I got my first blog up and running and everything was working fine. Before I started sending traffic I decided to disable hotlinking and directory browsing through cPanel. Something went wrong and now my post pages and categories don't display (404). I reversed the changes but it's still not working. I also tried 'rebuild blog'.
The blog is on a subdomain. The .htaccess in the subdomain folder still has the rewrites in it. The .htaccess in the root folder of the domain just has 'options all' in it.
Any ideas?
Thanks,
Carl0s. |
|
|
|
|
|
|
|
Carl0s2
Joined: 26 Jun 2008 Posts: 48
|
|
|
|
|
|
|
Posted: Sun Jun 29, 2008 11:58 am Post subject: Fixed |
|
|
|
|
|
|
|
|
|
|
OK, I fixed it. I went to 'linking codes' and checked the code for .htaccess. The code on my site had the words 'RewriteEngine on' missing from it. It must have been removed when I was messing about with blocking hotlinking. Now I just need to work out how to block hotlinking and directory browsing without breaking anything again |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sun Jun 29, 2008 12:55 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
ok, cool.
yeah, whenever you mess up something in the files at the blog location, you can always regrab the originals from "regular blogs->linking codes" _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |