I have a website that is on a live domain. Some times it loads okay but sometimes it gives me 403 forbidden, even for other users it does the same, i tried my every best to check permissions and every other stuff, but yesterday i just cleaned my browser cache and history etc, and bamm, website start working, then i realized its cache problem, What could be the solution to this problem, when i clean my cache my domain starts working, even c panel won't load until i clean my cache. Is it something about .htaccess, my .htaccess has only Options -Indexes and i removed that too to confirm myself if this was the problem .. but no luck.
Any help will be highly appreciated!
It should be your test machine problem.
Try it on any other machine.
Related
My wordpress site was working perfectly all right for last 2 years. Suddenly yesterday it started saying "Sorry, you are not allowed to access this page." when I try to access wp-admin.
I have not changed anything yesterday, the only change which has happened is increase in traffic, since the site is getting 4x traffic.
I have tried disabling all the plugins, checked user details in the database everything appears intact. Tried many commonly suggestions for this problem but still the issue persists.
One observation is some of the plugins are not working apart from access issues to the wp-admin. 15 days back I had installed certificates and moved to HTTPS can, but had no issues due to the move.
Can anyone suggest something, please?
Might be an issue with unix permissions, if your is a linux server (you did not specify anything about your system).
Usually, if you have:
/var/www/mywordpress
with drwxrwxr-x then the website is full open to anybody.
Else, if the permissions are dr-x------ you may get the error
Forbidden
You don't have permission to access /mywordpress/ on this server.
But I don't think someone or you, changed permissions on the folder. Still, better if you have a look onto it
EDIT:
This link might be of help:
codex.wordpress.org/Changing_File_Permissions
Title says it all. Complete site migration. Everything else hooks up fine. Login goes nowhere. Googled everything I could think of to compare to this issue.
I did go from non-ssl to ssl. That works great. I am wondering if this might be an issue.
What I have done:
Cleared all cache tables on Production site (Does not work).
Deleted all cache tables on Production site (This actually lets me login. But after replacing the tables resets the issue).
Checked with host about mod_rewrite and everything is good there.
Checked this cookie_domain thing and everything there looks in order.
Development site works just as it should.
Help would be much appreciated.
Check the following cases
Did you verify .htaccess and settings.php
Check $base_url and $cookie_domain in settings.php
Try clearing your browser cache.
Check if site is in maintenance mode
Verify database configurations
I am getting a very unusual error, most of the time I can fix this The page isn’t redirecting properly very quickly as it's either something messed up with htaccess or in php script but I have looked for hours and can't find the single problem.
The page loads once with broken css and javascript files, and takes a long time to load but after that this error starts to appear and it'll only fade away when you clear the browsers cache then again the website loads for one time only before showing this error.
Some details
.htaccess file is blank
I tried loading just the welcome module only but the problem remains same.
The server has been updated so I am wondering if this may have caused this problem.
I hope you guys can help me figure out why my website is on redirection loop, I can feel it's something related with cookies but I am not sure what.
File Structure
application
cgi-bin
cronjobs
system
images
system
.htacess
index.php
test.php
Edit:
Website works flawlessly on localhost.
For future if someone stumbles upon this issue, I found out that the sessions were causing issues. I was auto loading the session library and when i removed it to test, it all started to work smoothly. So basically the main problem is with my php configuration and I have got my server guy to look into why the sessions are not working.
I am getting strange issue with joomla site.
I have deleted all files from server using Cpanel.
I have checked with FileZilla: All files are deleted.
But still website is working perfectly.
What can I do so I can able to find what is the issue ?
I suggest double check if all the files in Public_html folder are
deleted.
Clear your browser's cache.
Most probably, the site you deleted is already hosted on another server.
Meaning when you tried to delete it, someone has already configured it on another server of his own. (This happens a lot in the Domain registration and Hosting industry).
Yes, You are deleting site from wrong server. Your site may be not resolving to your server and due to that it's online after deleting all files. You can check your site through temporary URL from your server using http://SERVER-IP/~CPUser-Name URL
I had the same issue and solved it by clearing the cache of my browser,
In Chrome, go to More tools then clear browsing data and then caches images and files and clear data.
I had same problem with wordpress site. It was showing home page even after deleting files in public_html folder I tried to clear catch. But later found that it was accessing files from my localhost and localhost folder on which I was working for same site was causing the trouble. I just changed its location by first turning off my laptop and then it solved my problem; I hope this will help you.
if you're sure you deleted your site from the server, I had this same issue, the best way is to clear your browser's cache, it is a cache problem... better still if you restart your device.
CTRL + F5 should clear your cache
Have you cleared your browser's cache? :) e.g. CTRL + F5
I am working on a site that, when accessed via http, gets auto redirected to https. We're trying to determine where this is occurring. So far we've looked in the following places:
.htaccess
in apache in the httpd.conf
in the php file of a test page we wrote (site.com/test.php)
I'm thinking there could be some other conf file in apache that this redirect stuff would be occurring..
where else should I look?
I have had this same exact problem before. Did you take a look in your vhost file(s)?
Usually stored in /etc/httpd/conf/vhosts/
My bet is you have a general rule to redirect such as www.google.com/cars/* will always redirect to https.
Sometimes I had this error too until I find out, that for firefox it is useless to edit anything as long as the cache is active. Since then I deactivate the cache with the help of web developer.
Since the sites are served by a load balancer, it turns out that the redirect to https logic was actually being implemented at the load balancer level.