WordPress.org

Ready to get started?Download WordPress

Forums

problem with site redirection (4 posts)

  1. webofnithin
    Member
    Posted 2 years ago #

    i registered a domain with dot.tk and forwarded to my domain with out editing dns ,and changed the sites url and wordpress url to .tk domain.now everthing is gone and cant accesss dashboard ................plz help

  2. I don't think that you should have changed your site and wordpress url.

    To change these back, go to your hosting provider and log into your cpanel. Hopefully they have PhpMyadmin. If they do, then login to phpMyadmin and navigate to the wp_options table. You can then change your site url and wordpress url back to what it was.

    If you registered a new domain and then forwarded it to your existing domain, then the site and wordpress urls need to stay as the existing domain name.

  3. webofnithin
    Member
    Posted 2 years ago #

    http://asifali.x10.mx/ this is my domain. what wp-admin url can't be accessed

  4. Ultrasoul
    Member
    Posted 1 year ago #

    I have had a issue with Dot.TK mainly when i go to the site via http://www.example.tk when i enter the details to log in the page goes blank white. And if i got trough http://www.example.freehostingsite.com and go through the login process everything is fine.

    Im not sure if what you are describing is the same issue.
    If it is i have found a way around it.

    Dot.tk Take on the URL so if you have set up different pages all of them will say http://www.example.tk When loging in to try and get to the admin page for me it caused a white screen. So it was a redirection problem. Dot.tk was trying to keep hold of the URL

    What i had to do was unmask the URL from dot.tk - what this means is if people go to your site through http://www.example.tk when they reach the site the URL displays its original http://www.example.freehostingsite.com
    This will allow you to go into the admin area no problem. But you will have to settle for visitors seeing the original URL not the Dot.tk one They can still follow the Dot.tk URL to your site though.

    To unmasked the the URL you have to go into your wordpress Theme Header.PHP and under the line

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Enter the code

    <html>
    <head>
    <meta http-equiv=”Refresh” content=”0;URL=YOURURLHERE”>
    <script type=”text/javascript”>if (top!=self) top.location.href=self.location.href;</script>
    </html>

    This worked for me.

Topic Closed

This topic has been closed to new replies.

About this Topic