restored .htaccess to backup, still having problems

Status
Not open for further replies.

opensou3

New Member
Messages
1
Reaction score
0
Points
1
I gather that there's lots of people having difficulties due to a server update. I think my problems may be unrelated but perhaps not.

I was trying to change my .htaccess to restrict access to a subdirectory.

First, I copied .htaccess into that directory and made a few small changes. I quickly found out I was getting errors and unable to access the directory at all.

I deleted the copied .htaccess from that directory. Still errors.

This was when I found out that apparently there's only 1 .htaccess file on the server, and when I copied it into the subdirectory and made changes, it changed the parent file as well.

So then I restored my .htaccess back to it's original wp standard

Still however getting errors. From the behavior I'm wondering if there could be a cached version of my subdirectory .htaccess floating around the server somewhere.

Here is a copy of my current (and original .htaccess)

###begin copy

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

###end copy
 

qnstechx

New Member
Messages
3
Reaction score
0
Points
1
I am having issues with my htaccess as well. I had this htaccess file up and running for some time and then I started to get error 404.

I get this error when I click my blog links.
The requested URL /seo/8.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

My htaccess file is this

Options +FollowSymLinks
RewriteEngine On


RewriteRule ^seo/([0-9]+).html/blog.php?&content=article&id=$1 [NC,L]

Any help would be great thank you.
 
Status
Not open for further replies.
Top