Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › 404 Errors Using WP Affiliate Forgot Password
Tagged: 404 errors, WP Affiliate
- This topic has 4 replies, 2 voices, and was last updated 12 years, 4 months ago by admin.
-
AuthorPosts
-
May 22, 2012 at 3:21 pm #6387BrodephatSpectator
So far everything seems to be working, but when I tried using the Forgot Password, I get 404 errors. I’m not receiving any debug messages.
Here is what shows in the browser address bar
Any ideas?
May 22, 2012 at 3:54 pm #45342BrodephatSpectatorHmmmmm, just found out that the new password is sent. Just not sure why I’m getting the 404 error
May 23, 2012 at 5:31 am #45343adminKeymasterThat is very odd. Can you please share the content of your .htaccess file so I can see if there is anything in there contributing to this.
May 23, 2012 at 1:51 pm #45344BrodephatSpectator# BULLETPROOF .46 >>>>>>> SECURE .HTACCESS
# If for some strange reason your host does not have +FollowSymlinks enabled by default at
# the root level then you will need to enable Options +FollowSymlinks for mod_rewrite to work.
# If you are getting HTTP Error 500 Internal server errors and you have checked to make sure
# everything else is set correctly then remove the # sign in front of Options +FollowSymlinks
# below. If you are still getting 500 errors then immediately put the # sign back. All hosts
# these days should have this enabled by default. Enabling this will actually cause 500 server
# errors if your host has this enabled so you should probably never have to remove the # sign.
# Options +FollowSymlinks
# These are some common Apache Directives to force PHP5 to be used instead of PHP4
# Some web hosts have very specific directives – check with your web host first
# Remove the pound sign in front of AddType x-mapp-php5 .php for 1&1 web hosting
# AddType x-mapp-php5 .php
# Other common possibilities depending on your web host – check with your web host first
# AddHandler application/x-httpd-php5 .php
# AddHandler cgi-php5 .php
Options -Indexes
# 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
# If you want to add a custom 403 Forbidden page for your website uncomment the
# ErrorDocument line of code below and copy the ait-pro.com example forbidden
# HTML page to your correct website folder. See the BPS Help and FAQ page for
# detailed instructions on how to do this.
ErrorDocument 403 /errors/404NotFound.php
# Plugin conflicts will be handled case by case
# You can leave the plugin fixes code intact just in case you install one of these plugins
# at a later time. Thousands of lines of htaccess code can be read in milliseconds
# so leaving the code intact does not slow down your website performance at all.
# Thousands of plugins have been tested with BPS and the plugin conflict fixes
# contained in this BPS master file are permanent fixes for conflicts found with
# these plugins.
# BuddyPress Logout Redirect fix – skip BPS Filters on Logout link Redirect
# WordPress 3.0.4 or higher must be installed for this fix to work
RewriteCond %{QUERY_STRING} action=logout&redirect_to=http%3A%2F%2F(.*) [NC]
RewriteRule . –
# redirect_to= string fix – fixes SFC Simple Facebook Connect Redirect
# Also fixes any other plugins that use the redirect_to= string
RewriteCond %{QUERY_STRING} redirect_to=(.*) [NC]
RewriteRule . –
# Ozh’ Admin Drop Down Menu Display Fix
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteCond /blog/wp-content/plugins/ozh-admin-drop-down-menu/ [NC]
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/ozh-admin-drop-down-menu/ [NC]
RewriteRule . –
# ComicPress Manager ComicPress Theme Image Fix
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteCond /blog/wp-content/plugins/comicpress-manager/ [NC]
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/comicpress-manager/ [NC]
RewriteRule . –
# TimThumb Thumbnail Images not displaying – Red X instead of Images
# If your theme uses TimThumb and the file is called something else like thumb.php then change the filename below
RewriteCond %{REQUEST_FILENAME} timthumb(.*) [NC]
RewriteRule . –
# YAPB
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteCond /blog/wp-content/plugins/yet-another-photoblog/ [NC]
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/yet-another-photoblog/ [NC]
RewriteRule . –
# WordPress.com Stats Flash SWF Graph Does Not Load Fix
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteCond /blog/wp-content/plugins/stats/ [NC]
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/stats/ [NC]
RewriteRule . –
# Status Updater plugin fix
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteCond /blog/wp-content/plugins/fb-status-updater/ [NC]
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/fb-status-updater/ [NC]
RewriteRule . –
# wp-extplorer login fix
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteCond /blog/wp-content/plugins/wp-extplorer/ [NC]
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/wp-extplorer/ [NC]
RewriteRule . –
# Adminer MySQL management tool fix
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteCond /blog/wp-content/plugins/adminer/ [NC]
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/adminer/ [NC]
RewriteRule . –
# Peters Custom Anti-Spam Image fix
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteCond /blog/wp-content/plugins/peters-custom-anti-spam-image/ [NC]
RewriteCond %{REQUEST_URI} ^/wp-content/plugins/peters-custom-anti-spam-image/ [NC]
RewriteRule . –
# podPress rewrite ?feed=podcast as /feed/podcast
# If you are using a custom slug then add the slug name to the rewriterule
# RewriteRule (.*) /feed/custom-slug-name/$1? [R=301,L]
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteRule (.*) /blog/feed/podcast/$1? [R=301]
RewriteCond %{QUERY_STRING} feed=podcast [NC]
RewriteRule (.*) /feed/podcast/$1? [R=301,L]
# podPress rewrite ?feed=enhancedpodcast as /feed/enhancedpodcast
# If you are using a custom slug then add the slug name to the rewriterule
# RewriteRule (.*) /feed/custom-slug-name/$1? [R=301,L]
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteRule (.*) /blog/feed/enhancedpodcast/$1? [R=301]
RewriteCond %{QUERY_STRING} feed=enhancedpodcast [NC]
RewriteRule (.*) /feed/enhancedpodcast/$1? [R=301,L]
# podPress rewrite ?feed=torrent as /feed/torrent
# If you are using a custom slug then add the slug name to the rewriterule
# RewriteRule (.*) /feed/custom-slug-name/$1? [R=301,L]
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteRule (.*) /blog/feed/torrent/$1? [R=301]
RewriteCond %{QUERY_STRING} feed=torrent [NC]
RewriteRule (.*) /feed/torrent/$1? [R=301,L]
# podPress rewrite ?feed=premium as /feed/premium
# If you are using a custom slug then add the slug name to the rewriterule
# RewriteRule (.*) /feed/custom-slug-name/$1? [R=301,L]
# If you have WordPress installed in a subfolder you will need to add the
# subfolder name to the RewriteRule (.*) /blog/feed/premium/$1? [R=301]
RewriteCond %{QUERY_STRING} feed=premimum [NC]
RewriteRule (.*) /feed/premium/$1? [R=301,L]
# FILTER REQUEST METHODS
RewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK) [NC]
RewriteRule ^(.*)$ – [F,L]
# QUERY STRING EXPLOITS
RewriteCond %{QUERY_STRING} ../ [NC,OR]
RewriteCond %{QUERY_STRING} boot.ini [NC,OR]
RewriteCond %{QUERY_STRING} tag= [NC,OR]
RewriteCond %{QUERY_STRING} ftp: [NC,OR]
RewriteCond %{QUERY_STRING} http: [NC,OR]
RewriteCond %{QUERY_STRING} https: [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C).*iframe.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(%3D) [NC,OR]
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS([|%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST([|%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} ^(.*)cPath=http://(.*)$ [NC,OR]
RewriteCond %{QUERY_STRING} ^(.*)/self/(.*)$ [NC,OR]
RewriteCond %{QUERY_STRING} ^.*([|]|(|)|<|>).* [NC,OR]
RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]
RewriteCond %{QUERY_STRING} ^.*(execute|exec|sp_executesql|request|select|insert|union|declare|drop|delete|create|alter|update|order|char|set|cast|convert|meta|script|truncate).* [NC]
RewriteRule ^(.*)$ – [F,L]
# Deny Access to wp-config.php, bb-config.php, /wp-admin/install.php, all .htaccess files
# php.ini, php5.ini and the WordPress readme.html installation file.
# To allow only yourself access to these files add your IP address below
<FilesMatch “^(wp-config.php|install.php|.htaccess|php.ini|php5.ini|readme.html|bb-config.php)”>
Deny from all
# Allow from 88.55.66.200
</FilesMatch>
deny from 95.108.249.30
deny from 91.204.48.37
deny from bsalsa.com
deny from yandex.com
deny from baidu.com
deny from majestic12.co.uk
deny from exabot.com
deny from bsalsa.jp
deny from *.ru
May 23, 2012 at 11:34 pm #45345adminKeymasterWOW! That is a lot of .htaccess rules. A standard WordPress site should only have the following rule (everything else is coming from other plugins that you installed)
# 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 WordPressPlease do the plugin test mentioned here and tell me which plugin’s .htaccess rules are causing the issue:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
Also check this list:
-
AuthorPosts
- You must be logged in to reply to this topic.