How to fix wp-admin not coming in the url issue in wordpress? - wordpress

I am working on wordpress website https://www.iskconujjain.com suddenly some issues are coming although I have not done any major change in the website.
wp-admin are not coming in any admin url.
I am trying to change the Permalinks setting but it is not saving.
All pages are redirecting to home page although in the url having another page path.

for solve this problem you must regenerate permalink-
For solve it go to Settings > Permalink and save it.
Let me know.

Related

Navigation item getting localhost url - Wordpress

I have a WordPress site published at forexschool.club but I am getting the and all URLs are working fine except Home in the header navigation bar which get http://localhost/B2W/. Any idea why?
I changed the WordPress and siteurl to forexschool.club But still getting this issue just for Home
Not sure but I think you might have added custom link in the Menu.
Maybe it is a cache issue, try to clear all your cache on your browser.
try this site to clear WordPress cache

How to fix permalink - ?q=%2F appears in link not working wordpress

When I'm adding a page to my website ?q=%2F appears in the permalink and the page is redirecting to 'home'. I tried to change the permalink structure and did some changes to solve this in the .htaccess file but nothing worked so far. Is anybody known with this problem and how to solve this?

Wordpress gives 404 in any page with any kind of permalink, but when I change the theme it works. How to fix?

I have a wordpress theme that has the page.php, but it gives 404 in any page that I create, even using the plain permalink (http://localhost:8080/?page_id=33141).
But when I change to wordpress theme the page works.
I think it is not about htacces, because none of the themes should work.
Could the theme redirect all pages to 404? I didn't find anything in the code.
Could someone refresh my mind?
Thanks.
I am running it in a docker container but I dont think it has influence because the other theme works.
Try go to setting->permalink and click save and clear cache and fresh page.
go to settings-> permalinks and save the permalinks and also clear the cache. sometime it is occurring due to cache.
And also sometimes it may happens due to permission is declined from cpanel
Go to cpanel and then right click select permission and change the permission. It may be helpful

wp-admin redirects to another page after automatic wordpress upgrade

Whenever I try to log into my wordpress site using mysite.com/wp-admin it redirects me to mysite.com/auto-login and giving a 404 error. It is happening with mysite.com/wp-login.php page as well. After go through my email i came to know that worpdress was upgraded automatically to 4.4.6. That means the problem started after the upgrade. Before that I could log into the site using wp-admin or login.php page without any problem.
Let me tell you what I did so far to solve it.
Edited the .htaccess file with the default code from wordpress.org site. Problem remained.
After that I deleted the file and uploaded a new one.
Did both through cpanel, but all in vain.
Update: I disabled my plugins one by one and found a faulty one. wp-admin or wp-login.php is now taking me to login page. But now the problem is it keeps redirecting to this same login page every time I enter my user name and password.
(Posted on behalf of the OP).
I have solved it. Let me tell you how.
I disabled my theme by renaming the folder.
I had no other theme in my directory so I uploaded twentysixteen theme.
I tried to login and It gave me a wrong password error which was weird because I did not change anything.
So I went through my phpMyAdmin and found that my password was changed I don't know how. Anyway I changed that and came back to login.
And voila! WordPress let me in!
Then I changed the theme to my previous real one and everything is OK now.

wordpress site url not working for localhost

I was about to set my localwordpress to a online site. So I set my site url and home url to that sites name.
Now something went wrong and I was about to check my wp admin and I couldnt get in. I went in to the database to set it back to how it normal was for me. So I set the site url to localhost/wordpress and the home url to localhost.
Now I can see the styles but not my content or images. I am using xampp if that matters. Does anyone knows how i can fix this.? Btw I also can't go into wp-admin.
I changed the wordpress URL to http://localhost/wordpress and the site url to http://localhost/wordpress/home and everything works now.

Resources