1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

problem with my wordpress blog

Discussion in 'WordPress' started by photoworldblog, Apr 27, 2012.

  1. #1
    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
     
    photoworldblog, Apr 27, 2012 IP
  2. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #2
    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.
     
    samirj09, Apr 27, 2012 IP
  3. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #3
    i tired with other computer..... i tried on a android phone also {HTC Phone}

    its getting redirected :(
     
    photoworldblog, Apr 28, 2012 IP
  4. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #4
    i also tried with a proxy site and its getting redirected there also
     
    photoworldblog, Apr 28, 2012 IP
  5. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #5
    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
     
    samirj09, Apr 28, 2012 IP
  6. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #6
    i deleted the .htaccess file and it has not be re-created...... but the problem is still there even after i deleted it :(
     
    photoworldblog, Apr 29, 2012 IP
  7. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #7
    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.)
     
    samirj09, Apr 29, 2012 IP
  8. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #8
    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
     
    photoworldblog, Apr 29, 2012 IP
  9. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #9
    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. :(
     
    samirj09, Apr 29, 2012 IP
  10. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #10
    i tried on iphone and htc android phone also.... its still redirecting... r u trying my site directly or from google search results ?
     
    photoworldblog, Apr 29, 2012 IP
  11. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #11
    I have tried from both.
     
    samirj09, Apr 29, 2012 IP
  12. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #12
    wht do to now?
     
    photoworldblog, Apr 29, 2012 IP
  13. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #13
    photoworldblog, Apr 29, 2012 IP
  14. raoraj

    raoraj Well-Known Member

    Messages:
    849
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #14
    their is no redirection for me, thru google or thru url.
     
    raoraj, Apr 29, 2012 IP
  15. mmedia

    mmedia Guest

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I can see you site properly
     
    mmedia, Apr 29, 2012 IP
  16. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #16
    problem solved......
    they was malware/code in the php files, which has been now deleted by hostgator.......
     
    photoworldblog, Apr 30, 2012 IP
  17. mmedia

    mmedia Guest

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    glad to here the problem is solved :D
     
    mmedia, Apr 30, 2012 IP
  18. DayaJosh

    DayaJosh Member

    Messages:
    198
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #18
    it is working for me without any issue.
     
    DayaJosh, Apr 30, 2012 IP
  19. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #19
    but i am scared..... maybe this will come up again and i will not even come to know......
     
    photoworldblog, Apr 30, 2012 IP
  20. photoworldblog

    photoworldblog Active Member

    Messages:
    906
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #20
    again the same problem has come.....
    had solved it twice but its coming up again and again.....
     
    photoworldblog, May 2, 2012 IP