Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1206531

    jackbenimble
    Participant

    So I have an odd problem I can’t figure out.

    I had my site all setup, then I installed yoast seo plugin and accidentally put in the homepage as one of my other sites. This pushed the plugin to redirect everything on my site whenever I tried to visit it. There really was no way for me to take this redirect off, because I couldn’t access the site or the yoast plugin to edit it. So I had to just completely delete the website and wordpress install.

    Now I have the site with a fresh re-install of WordPress. I have installed the x theme again. The problem I am now having is when I go to edit the site with cornerstone, it is still redirecting to that other site of mine that I had a problem with originally with the yoast plugin. None of the rest of the site redirects anymore, this only happens when I try to use Cornerstone. I really don’t see how it could possibly still have the redirect in play and only for cornerstone when I completely wiped the site. I actually then wiped and re-installed it again and I’m still getting the same exact problem…

    #1206581

    Paul R
    Moderator

    Hi,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1207288

    jackbenimble
    Participant
    This reply has been marked as private.
    #1207723

    Christopher
    Moderator

    Hi there,

    Upon checking your site, CS was loading fine, see the attachment.

    Does this happen on specific page? If so, please provide us with its URL.

    Thanks.

    #1208551

    jackbenimble
    Participant

    When I go to the homepage and click edit with cornerstone, it takes me to another site of mine.

    #1208599

    Rad
    Moderator
    This reply has been marked as private.
    #1221222

    jjwikselaar
    Participant

    Hi, I have a similar issue. When I try to edit my homepage with cornerstone it is redirecting to another site.
    I was adding link to that site with an iframe, but something went wrong I think. I can’t edit the homepage anymore with cornerstone…

    website is http://hoorenzie.nl/

    I’ll send login details as private messsage

    #1221226

    jjwikselaar
    Participant
    This reply has been marked as private.
    #1221870

    Friech
    Moderator

    Hi There @jjwikselaar,

    Thanks for writing in! Yes, its definitely the redirect script you added that is redirecting your page to other site, but that can be remove by stopping the loading of the page right after it loads the elements and before it redirect the site.

    The other issue here that needs to resolve first is, you have an outdated version of X|Theme on latest WordPress and latest Cornerstone.

    Please manually update your X|Theme by following the guide provided here: https://community.theme.co/forums/topic/having-trouble-validating/#post-1164019

    You need to update it manually because automatic update has an issue on old x|theme on latest WordPress.

    Remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

    Let us know how it goes.

    Cheers!

    #1222047

    jjwikselaar
    Participant

    Hi thanks for your reply. I’ve updated x theme to latest version now.

    However, I’m not able to stop the page loading before it is redirected.
    Can I remove this directly in the database?
    I found some rows in the posts meta table with cornerstone data, but didn’t help when I removed the script from there. Any suggestions?

    Thanks again!
    JJ

    #1222297

    Lely
    Moderator

    Hi JJ,

    Where did you add the script? It is not recommended to do direct editing on the database because Cornerstone content is serialized. This will then result to corrupt serialized content and Cornerstone page will not load.

    #1222321

    jjwikselaar
    Participant

    Hi Lely, it is on the frontpage… called Hoor & Zie
    It is a script that allow users to do an insurance check. Normally whit works fine.

    Cornerstone is still loaded after removing the script from the database…. I can see it is loaded, but then before I can do something it redirected. The same as before.
    I’ve cleared the caches as well.

    Thanks,
    JJ

    #1222517

    Lely
    Moderator

    Hello JJ,

    I am able to remove the following script after a few attempt. I did click an element right before it redirects.
    <script type='text/javascript'>if (top !== self) top.location.href = "https://www.zorgvergoedingcheck.nl";</script>
    See this:http://screencast-o-matic.com/watch/cD6qD5jkUJ

    Cheers!

    #1222551

    jjwikselaar
    Participant

    Ah that is great…. Thank you!
    I tried it thousand times, but it was always redirected before I could click anything.
    I’m not sure what happened…. looks like the script it is working fine now. It is still there but it works.

    Anyway, thanks for your help!
    JJ

    #1222607

    Rahul
    Moderator

    Glad we could help you out!

    Let us know if we can help with anything else.

    Thanks for your the X-theme!