Wordpress register URL Mismatch - wordpress

In blog home page, when i click on register, it takes me to this URL http://www.tawnosdesigns.com/mockups/behindthestorywp/wp-login.php?action=register . This is not my site's (behindthestory) login page. it is another domain which i used for mockup. how can I set my original site (behindthestory.org) register URL ?
site url : behindthestory.org
username : gatsby
password : santoga

If this happened after you deployed it, you can try going into the wp_options table in the database, and searching for the old options and changing them. I think the option is called site_url.

After visit your provided site, it's seems you are using you are using a static form on header or installed plugin for registration. So you need to change in template or check plugin setting if you installed for registration.
maximum chance this is a static form in template.
Hope this helps you. All the best ;)

Related

Recaptcha blocks access to my WordPress editor

I tried to install reCAPTCHA v3 on my wordpress website, now I’m unable to login to the Wordpress editor to edit the site. Every time I try to log in, it displays an error: Invalid site key.
I tried to remove the domain and the site and secret keys from the reCAPTCHA admin page but the login problem is still there.
I believe I put some code in wordpress... but not sure what and where, maybe it was [recaptcha] in the Contact Form 7 5.1 but I'm not sure (I'm not a developer).
Log into your Cpanel or FTP.
Look for the directory /public_html/wp-content/plugins and rename the reCAPTCHA plugin folder.
For example rename "uber-norecaptcha" to "uber-norecaptcha123". Refresh your WP-admin url. Now you can log in. Don't forget to rename the reCaptcha to it original, then you can deactivate it when you're logged in.
You could try to disable the plugin that added the reCAPTCHA (in this case, Contact Form 7), so you can login again. Then, you can re-enable it and set your site and secret keys properly.
Since you are unable to login, you can't disable the plugin from the WordPress dashboard. Instead you can temporarily move the plugin folder to another location. Navigate to the folder of your WordPress installation → wp-content → plugins and move the contact-form-7 folder.
Just experienced a similar problem, and it persisted for 3 months.
But, finally, I found the solution and resolved it.
In my case, I went to public_html/wp-content/plugins/wpforo/wpforo.php (I don't know exactly if you have forum installed or not, but forum was causing my login page to inherit login recaptcha without any valid keys).
public function init_hook(){
//reCAPTCHA on wp-login.php page
//$this->api->init_wp_recaptcha();
}
This function was calling a recaptcha with invalid keys. All I did was comment out:
$this->api->init_wp_recaptcha()
Another solution to the problem is :
Visit your login page, right click and enter the Inspect section. Search for anything that uses wp-login.php in "script" tags. You'll find the plugin that is causing the problem. Search for multiple results and deduce a conclusion. That's what I did.

How to secure a Wordpress installation?

I have installed the following WP plugins at my site:
Hide My WP
Wordfence free
All In One WP Security & Firewall (with 410 points)
DNS from CloudFlare (medium settings)
Good global hosting, not cheap.
My Admin name is like "gfutiewf" and login link like: mysite.com/dfwhc.
That´s all okay, today I see again in log:
Anybody at login page try the "gfutiewf" username with bad password...
How? From where he see the login url and admin name?
I'm guessing they were guessing your author ID like so:
http://www.example.com/?author=1
http://www.example.com/?author=2
...
Once found, the WordPress would redirect to:
http://www.example.com/author/myrandomname/
which by default would be your admin name.
One way to solve that would be to change the value of user_nicename column in users table in the database to something else, like 'admin'. That way, the redirect will change to:
http://www.example.com/author/admin/
First off make sure you have the latest version of Hide My WordPress – Security Plugin - currently v1.1.028
Make sure you are not redirecting the old login (ex. wp-login.php to the new login page)
Also are you using Hide My Wp PRO? The current free version only hides the admin and login paths to see if the product is compatible with your WordPress.
To hide all the URLs you need to activate the Ninja mode and the plugin will hide all the paths from your website.
For further help please share your site's name so we can take a look at it.
Hope that helps.

WordPress login page redirecting to "page not found"

Hi, I am currently working on a Wordpress site and suddenly I got
this error message " page not found" , I tried to login into pw-admin
to check the permalinks values but I couldnot login into admin or
front end .
Could you please help me ?
It may be that you accidentally miss-set the 'siteurl' and/or 'home' values for your installation. If that is true, you can reset them through the database. If you named your tables according to the default, the wp_options table is where you should look. Search for siteurl and home in the option_name column and replace them with the correct value for the site.
In most cases they should both be https://example.com/.
Edit
Since this answer has been accepted as correct, I will add the comment that I think actually helped the questioner to the answer.
Every link generated by the system is adding /ar/home-2-2/ to the url. You've got some weird redirects going on. It probably has to do with whatever plugin you're using to get multiple language versions of the site going. Try disabling that plugin (you can just rename the folder of the plugin, if you have access to filesystem) and see if returns to normal.
if your not able to access frontend and backend.Please check your site url in database

woocommerce_my_account stopped working after moving to another hosting provider

I recently moved my site built in Word Press to another hosting provider and I found the shortcode [woocommerce_my_account] is not working anymore.
Previously, I had a page called account login where I had the shortcode [woocommerce_my_account]. In the settings I set the landing page to be the same page (account login). so, after an user logged in, it was redirected to the same page showing his/her details.
However, in the new hosting provider this is no longer working. After I put the login information and attempt to login it is taking me to wp-login.php page and ask me to enter my login details again.
The URL path that I see in the browser after attempting to login is similar to this <site_name_url>/wp-login.php?redirect_to=http://<site_name_url>/account-login/
Anybody has got to the bottom of this issue? Thank you.
Try adding this to your wp-config.php:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Make sure you change http://example.com with your own domaine. You can also try to search and replace your domaine in the database if it has changed.
You can also try to clear browser cache and cookies. I had an issue like this before, launched a private navigation and it was working fine.
Try setting define(‘WP_DEBUG’, true);, you may see something going on.
Sometimes, php version makes a difference, try to set the same php version on you new host (google the name of your hosting provider + change php version).
When you move sites/restore databases you often need to save the permalinks again.
go to /wp-admin/options-permalink.php and click "save". This will setup your .htaccess file with the correct information for redirects.
Finally, after all of these days searching and trying different things, the answer for this issue in my case was not related with the Word Press installation itself but, with some software installed on the server called varnish, apparently used to cache the site and improve its performance.
After having a support chat with the hosting provider, they mentioned that varnish is breaking the woocommerce plugin.
At this point, I am not sure if varnish is not compatible with woocommerce or the settings applied on the server using this software make woocommerce not to work properly.

Login form in drupal

I've got a problem with drupal 7. Since i moved my website to another server I can't use the login form anymore.
I can access with the url ?q=user, I see the form but all fields are disabeld. When I remove the disabled attribute with firebug and I valid the form nothing happened..
I've searched on google and I didn't see any post like that, does someone have an idea ?
Thanks
Are your Apache rewrite rules working on the new environment?
Check that your .htaccess file is present and that your hosting allows you to have some overrides.
Check that the mod_rewrite module is enabled on your new Apache server.
You may need to go back in Drupal's admin pages to disable and re-enable the clean URLs.
Oh, and did you change and forget to adjust your $cookie_domain variable in your settings.php file in case your domain is different?

Resources