[resolved] Hidden URL with HTML Cloak Redirect (12 posts)

  1. flammobammo
    Posted 9 years ago #

    Firstly I'll explain what I know can work, as I'm already doing this on one blog for a friend.

    Using WP v2.0.2, I setup a blog for my friend at http://tombammann.homedns.org/vhosts/jordan

    I then used dyndns.com to cloak redirect the above url to http://browncatbrowndog.com

    In the admin for this both of the install directories are set to
    http://browncatbrowndog.com, not the real actual location.

    When you go to http://browncatbrowndog.com and click on a post link, you get a URL in the URL bar like http://browncatbrowndog.com/post-permalink

    On my personal blog, I recently purchased http://tombammann.org to tidy up my http://tombammann.homedns.org in exactly the same way I did for my friend.

    So I buy the domain name, and setup the cloak redirect. I waited a few days for the DNS to settle. I change both the WordPress Address and Blog Address to http://tombammann.org instead of http://tombammann.homedns.org, exactly like I have successfully done on my friends blog.

    I then delete the contents of the wp-content/cache directory, and update the permalink structure.

    When you go to http://tombammann.org the theme does not load correctly so you just get all text on the screen. To get the theme to load I have to keep the WordPress address as http://tombammann.homedns.org

    This then lets everything work fine, except for how the url displays in the web-browsers URL bar.

    When you go to http://tombammann.org it loads http://tombammann.org and appears to be fine. However when you click on a post link it loads up the post on the screen, but instead of the url bar saying we are at http://tombammann.org/post-permalink it just says in the url bar that we are at http://tombammann.org

    I've tried all of the above process using zero plugins and the default theme, still with no success. I've checked that the .htaccess file is writable.

    So my question is that why does it work for my friends setup but not for myn?

    I can't recall how I got this to happen, but at one stage all the http://tombammann.org/post-permalink type URL's were working fine, except once in Admin and trying to click on publish post, it had a problem with sending referrals. I went through all the procedure to check that sending referalls are made, and they were.

    There must be something else that is changing in the background that I haven't noticed for this to be working so random. Does anyone have any ideas where I could start looking?

  2. flammobammo
    Posted 9 years ago #

    So currently I have my WordPress address set to http://tombammann.homedns.org and blog address to http://tombammann.org.

    I can use everything fine, except the URL in the URL bar gets stuck on http://tombammann.org

    The URL does not 'get stuck' on my friends blog, but this friends blog uses the WordPress address to the equivalent of the Blog address.

    Please help, I've searched everywhere and spent at least 10 hours troubleshooting this one... :(

    Thanks in advance,

  3. ladydelaluna
    Posted 9 years ago #

    anyone ever tell you how horrible "cloaking" is? it's bad form... all the way around. search engines will ban you for it too...

    why don't you just put the install where it's supposed to be and then if you absolutely HAVE to, put up a 301 redirect on the old site?

  4. flammobammo
    Posted 9 years ago #

    I don't think you get it - there is no "old" site.

    And cloaking does work - http://browncatbrowndog.com comes up in search engines just fine, and it's my personal blog not even a business, so I don't even WANT it to come up in a search engine! :)

    There is only one site - old/new it's the same thing, hosting it at the same place, my computer, but I would like to know why it will work for one installation but not another.

    Please don't bother posting here unless you are genuinely trying to help solve this - it's kind of demeaning having posts like this.

  5. Samuel B

    Posted 9 years ago #

    Are the permalinks the exact same on both blogs?

  6. I'm with the above, cloaking makes things really difficult. Why not just set the domain to have a real IP and point it at the IP of your server? Things tend to just work when you get rid of all the complications.

  7. flammobammo
    Posted 9 years ago #

    Why not just set the domain to have a real IP and point it at the IP of your server?

    > Dynamic IP

    Are the permalinks the exact same on both blogs?

    > Both are set to %Postname% but with different content on each blog, there are different posts..

    Oh and by the way I've tried disabling all plugins, and using the default wordpress theme as well...

  8. ladydelaluna
    Posted 9 years ago #

    "Please don't bother posting here unless you are genuinely trying to help solve this - it's kind of demeaning having posts like this."

    My intention was not to be "demeaning" but to maybe help sort out the problem by suggesting an alternative, and the reasoning behind that is because cloaking has been notoriously banned by the search engines time and time again.

    Whether you choose to take the advice is your perogative, of course - but I'm in the profession, and I've seen it happen to far too many people than to try to prevent you from making the same mistake.

    That's ALL it was.

    Take it for whatever it's worth to YOU - I've just seen it happen far too many times as an SEO person. And there's no way to fix it later without starting from scratch... which is what people have had to hire me to do after their attempts at cloaking failed them.

  9. > Dynamic IP

    http://www.zoneedit.com offers free Dynamic DNS services for your own arbitrary domains. I use ZoneEdit myself, can't really complain. I wish they offered SRV record support, but still, free is free.

    DynDNS has this too, although they charge for it (you have to use their Custom DNS service).

  10. flammobammo
    Posted 9 years ago #

    Thanks Otto, I'll try using zoneedit tonight.

  11. flammobammo
    Posted 9 years ago #

    Interesting, it's just started to magically work like http://browncatbrowndog.com, I guess the DNS just needed a few days to settle down properly for whatever reason.

    Thanks to everyone for their advice.

  12. flammobammo
    Posted 9 years ago #

    Just FYI everyone, I ended up changing to zoneedit.com for my URL redirecting - I agree with Otto now it is totally better.
    I think my main issues with all this DNS and redirecting has been my .htaccess file, which if I just let WP do its own thing with, then it works so much better. (Small sacrifice).

    Contact me by http://tombammann.org/about-contact if anyone wants personalised support on this I'm becoming pretty competent now thanks to everyone here :)

Topic Closed

This topic has been closed to new replies.

About this Topic