# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
[U]RewriteRule ^become-member/$ /wp-login.php?action=register[/U]
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
First of all, remove the <IfModule mod_rewrite.c> and </IfModule> lines. Check once to see if mod_rewrite is working, and if it is, there really is no need asking Apache about it every time.
Also, since you don’t have any of the Redirect* directives in there, you don’t need the RewriteBase /
Now for your problem.
First of all the position where you placed the new rule is incorrect. Swap it around it comes before the first RewriteCond.
The thing is that RewriteConds belong to the first RewriteRule that comes after it. So in your case they belonged to the rule you wrote, while they should have stayed with the rule wordpress generated.
But where do I change the URL /wp-login.php?action=register to become-member/ in my website?
I use Wordpress. I can’t access the /wp-login.php?action=register from the admin area.
But i found this in wp-register.php
<?php
/**
* Used to be the page which displayed the registration form.
*
* This file is no longer used in WordPress and is
* deprecated.
*
* @package WordPress
* @deprecated Use wp_register() to create a registration link instead
*/
require('./wp-load.php');
wp_redirect('wp-login.php?action=register');
?>
Ok, my site was deindexed by google, and one of the reason was that this article “plugin” that I am using for WP is used by many other users. Therefor to many users has the same /wp-login.php?action=register and this makes my site not unique.
This is the information I got from other peoples.
There could be other reasons why my site is deindexed, but I need to start with this one.