Anyone know how to stop Wordpress mod_rewrite from displaying it's 404 page when trying to access Autogallery SQL? I have installed Wordpress in my root web directory, and whenever I try to access my Autogallery SQL admin login page it just displays the 404 page.
Wordpress modrewrite affecting Autogallery SQL admin area
Collapse
X
-
Wordpress modrewrite affecting Autogallery SQL admin area
Tags: None -
bump for me...come on guys help me out here..this thing is driving me crazy...i've been trying to fix it for awhile now....just wrote JMBsoft a ticket..but would be much faster if someone here knows how to fix it. -
Comment
-
keep in mind i'm adding the Wordpress mod_rewrite code in the .htaccess file in my root public_html folder and not the .htaccess file in the "admin" folder of AGSQL.Comment
-
put:
Rewriteengine off
in .htaccess in the admin areaCustom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip ManagerComment
-
Comment
-
Comment
-
This is not a JMB issue NOR a wordpress issue, but a http request issue :P
Here is the solution:
A) if your server is setup w/ predefined error pages, make sure you upload the appropriate 401 and 403 error pages.
B) if not, define your 401 and 403 error pages in .htaccess.
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
These pages must be static and on YOUR server. Once you correctly enter your password, you'll be taken to your protected area.
What happens without these documents is that wordpress serves up it's 404 page because these files don't exist.
These error pages can be filled w/ random babble and should be at least 512bytes if you use IE.Comment
-
After authentication, yes, until then, HTTP Basic-Auth first sends a 401 to request a password, so if it tries to serve up the error file and it doesn't exist, Wordpress ends up handling the page request.Comment



Comment