Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Getting a 404 on Affiliate Login page
- This topic has 7 replies, 2 voices, and was last updated 14 years, 6 months ago by amin007.
-
AuthorPosts
-
May 3, 2010 at 3:38 pm #1169rosgardnerMember
Hi,
I get a 404 error when I try to access the affiliate login page at:
http://members.affiliatebloggerpro.com/wp-content/plugins/wp-affiliate-platform/affiliates/
Any idea about what I’ve done wrong?
Thanks,
Ros
May 4, 2010 at 12:08 am #20345amin007ParticipantHi Rosalind, I am pretty sure you have a .htaccess or some other sort of protection on your site which is blocking the “index.php” script to run in the following URL:
http://members.affiliatebloggerpro.com/wp-content/plugins/wp-affiliate-platform/affiliates/
Will you please check up on that and let me know?
May 4, 2010 at 1:39 pm #20346rosgardnerMemberHi Amin,
The .htaccess is pretty much just the standard for WordPress…
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressCheers,
Ros
May 4, 2010 at 2:21 pm #20347amin007ParticipantYour .htaccess file in the root directory looks good but I am pretty certain if you have more .htaccess files in sub-directories (e.g. the “wp-content” directory). Otherwise why should the following URL go to a 404 page?
http://members.affiliatebloggerpro.com/wp-content/
or
http://members.affiliatebloggerpro.com/wp-content/plugins
I know the above directory structure exists so you have go to have more protection somewhere else
Also, can you please check the permission on the files in the “affiliates” directory? Files should have 644 and directories should have 755 permission. Sometimes if the permissions are loose then your server will block it from running due to security issues.
If the “index.php” file is there then the only way it will go to a 404 is if the server blocks it so just we gotta find out what it is.
May 4, 2010 at 3:00 pm #20348rosgardnerMemberHi Amin,
The only other .htaccess file exists in the root at http://affiliatebloggerpro.com/
AuthName affiliatebloggerpro.com
AuthUserFile /home/affblog/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/affblog/public_html/_vti_pvt/service.grp
RewriteEngine On
RewriteRule ^go/([/_0-9a-zA-Z-]+)$ link.php?id=$1
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>I CHMOD all directories and files as indicated above and still getting the 404.
Ros
May 4, 2010 at 3:14 pm #20349amin007ParticipantLets try the easiest way to fix this rather than going around in circles
Since I know that it is a hosting permission related issue lets give the following a try:
Please send an email to your hosting provider asking them why you get a 404 when trying to access a .php script. You can give them the following link for example and they will understand it:
So in this case we know that the “register.php” file is in there but it won’t execute. Let me know how it goes.
May 4, 2010 at 3:53 pm #20350rosgardnerMemberWill do.
May 4, 2010 at 11:53 pm #20351amin007ParticipantPlease let me know how it goes.
-
AuthorPosts
- You must be logged in to reply to this topic.