WordPress Virus - wordpress

I have a problem with WordPress site. First thing is I cant open /wp-admin beacuse: too many redirections. Second I cant event open my site because it redirect me to other site myspaceid.space which redirect to random page. I've been searching anwer in google, I've been looking for injection in themes file, in main core wordpress file and I couldn't find a problem.
Any sugestions ?
http://jkconcept.net

Open your phpmyadmin, go to wp_options and check if your URL is correctly fowarding to wordpress.

Related

I am facing Wordpress Redirection Hack on my WordPress Website

I have facing redirection hack in my WordPress website someone changed my site url.. how it is possible for someone to change site url without getting WordPress Access.
by modifying one of the files on your server, e.g. your .htaccess file, wp-config.php or pretty much any other you can think of. Admin access is not necessary.

Cannot able to access wp-admin page

I have a wordpress website in my ubuntu server. Eg, my website url is
xyz.com. when i'm trying to access wp-admin page it should be xyz.com/wp-admin. But it redirect to another url like xyz.com/xyz/wp-admin
Can anyone give solution for this issue?
Wordpress admin dashboard is /wp-admin from whatever directory your website is installed.
For instance, you have a website https://dijofrancis.com and wp is installed in the root directory then your admin url is https://dijofrancis.com/wp-admin
If you paste your .htaccess file (situated at the root of your webserver directory) we could help a little more.
I once had a similar issue when I stupidly made a global redirect with a wildcard on my website.
If you say that when you access:
xyz.com/wp-admin
it redirects you to
xyz.com/xyz/wp-admin
Then it might be a permalink issue.
Re-make your permalinks from WP dashboard.
Also, you can try to use
https://wordpress.org/plugins/wps-hide-login/
and test from another link (if issue is permalink, maybe WPS HL will interact with wp-admin in a way that will work for some reason)

Problem with url moving site from subdomain to main domain in Wordpress

Guys, I've a site that was moved from sub.domain.com to domain.com. To do this I used Backupbuddy plugin in Wordpress. The problem is..Everytime any user try to access to some old page url (domain.com/testpage) and the page doesn't exist, are being redirected to sub.domain.com/testpage where the page previously existed.
Any idea how to fix this?
Thank you.
you have to make change in your .htaccess file in your server or host. always redirects are in that file. if you are using cpanel you have to make visible hidden items in settings.
I think the first port of call would be to check the URL in Wordpress matches the database table URL, if so update the Permalinks and retest.
Zip .htaccess to make a backup and remove the .htaccess file. Then, save your permalink again to generate a new .htaccess and check.

Moving Wordpress site subdirectory errors

I have just moved my testing development subdirectory worpdress installation to my root folder using the WP-Clone plugin.
The problem now is my main site (previously mysite.com ) shows (mysite.com/site) now. and the subdirectory is shwoing in all my links
I have tried going to settings and removed the /site from wordpress URL and Site address URL.
But it broke my site and disabled me from accessing my wp-login.php .
I fixed it by editing my wp-config.php and adding :
define('WP_HOME','https://mysite.com/site');
define('WP_SITEURL','https://mysite.com/site');
and now my website works perfectly. But it still shows mysite.com/site and i am unable to edit my URL and Siteaddress from my wp dashboard anymore.
How do I Remove my website subdirectory (/site) and still have it work and not break my site's themes and all? How do I go about this? Really really appreciate any help! Thanks!
By adding those constants to wp-config.php you're overruling any setting in the database. That's why you can't edit them in the admin panel.
So the first step is to change those constants to:
define('WP_HOME','https://domain.com');
define('WP_SITEURL','https://domain.com');
Then delete your htaccess file. (.htaccess in your root folder).
Once you've done this navigate to http://domain.com/wp-login.php
Login to your site and go to Settings -> Permalinks. Hit save which will regenerate your htaccess file.
Finally you'll need to update existing links. I'd suggest installing a plugin called 'Velvet Blues Update URLs'.

how to add an exception in .htaccess file php for wordpress blog

I have a website, www.test.com which is written in PHP and I have a wordpress blog, www.test.com/blog. Now I have rectified the WWW resolve for the main website, i.e., test.com is permanently redirected to www.test.com.
The problem here is when I run, www.test.com/blog, the browser is displaying this error message, 'This webpage has a redirect loop'.
Now my blog is not online. Please tell me how to rectify this problem.
Any help would be much appreciated.
Thanks.
This is due to permalink setting in your wordpress.
Look into wp-options table of your WP (via backend MySQL) and make sure site and home URLs are starting with www.test.com.

Resources