i have created a blog http://www.pilestreatment.in whenever i search for my site on google amd click on the link, it gets redirected to some other site {advt or spam} when i click the back button and click on the link again then it goes to my site. when i searched for this issue on the internet i found its a virus related issue on my laptop.... but its happening only for my site.... can u people try for me and let me know if its a problem with my laptop or my site ????? Thanks
I tried visiting your site directly and from google and it did not redirect for me. I also performed a quick security scan as well and your site does not appear to be infected with any conditional malware either. Looks like it is an issue with your personal computer.
Can you try this out really quickly? Find your .htaccess file. First look in your home directory ex /home/<user> and if you do not find one there look in your public_html folder. After you find it, can you PM me the contents of it? Or post in on this thread? Thanks
i deleted the .htaccess file and it has not be re-created...... but the problem is still there even after i deleted it
Deleting the .htaccess file is not good in wordpress, the links on your site are all not working anymore because of that. Clicking on any link gives you a 404 error. Two things, as I stated, did you take a look inside the .htaccess file before deleting it? What was inside? To fix the broken links that have now generated due to the deletion of the .htaccess file you need to generate a new one. Below is the instructions for doing this. 1. Log into your wordpress dashboard 2. Click on "Settings" then "Permalinks" 3. Click on "Save Changes" (Yes, without making any changes.)
i recreated the .htaccess file.... the contents now and before deleting were same as below # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
It doesn't look like you have any conditional redirects and I have not been able to replicate this. I have tried from multiple computers. It appears that the issue is on your end here.
i tried on iphone and htc android phone also.... its still redirecting... r u trying my site directly or from google search results ?
problem solved...... they was malware/code in the php files, which has been now deleted by hostgator.......