www.webdeveloper.com
Results 1 to 2 of 2

Thread: Domain names and Wordpress

  1. #1
    Join Date
    Nov 2011
    Posts
    118

    Domain names and Wordpress

    I own a Domain name called www.accessibledestinations.ca I also have a Wordpress site. I was able to make a .php file that directs my domain name to my wordpress site, and thats fine. Once you type in www.accessibledestinations.ca and click, it takes you too http://accessibledestination.wordpress.com/ is there away that no one can see the wordpress link in there URL bar? Here is the php code I use. and keep in mind they are not connected at this time. I don't want anyone going to the site yet.

    Code:
    <?php 
    
       header("Location:http://accessibledestination.wordpress.com/"); 
      
       exit; 
    ?>  
    
    
    <!DOCTYPE html>
    <html lang="en">
    <head>
    
    <meta charset="utf-8">
    
    
    
    
    <meta name="description" content=" ">
    
    <title>Accessible Destinations - Canada</title>
    
    <link rel="stylesheet" href="css/main.css" media="screen">
    
    <script src="scripts/fontsizer.js"></script>
    
    </head>
    <body>
    
    <!--Code for text sizeing starts here--><!--Code for text sizeing ends here-->
    
    <div align="center">
      
      <h1>&nbsp;</h1>
    <h1>ACCESSIBLE DESTINATIONS</h1>
    <h2>COMING SOON</h2>
    <h2>UNDER CONSTRUCTION</h2>
    <h1>&nbsp;</h1>
    
    </div>
    
    
    <div id="footer">
    Website designed by <a  href="http://www.cjwebconsulting.com">CJ Web  Consulting</a>
    </div>
    
    </div><!-- end #container -->
    
    </body>
    </html>

  2. #2
    Join Date
    Jun 2014
    Location
    India
    Posts
    7
    Why do you want to write a script to redirect your. You can open your domain account. Click manage domain(may vary according to service provider). Select url forwarding and place your wordpress url there. The wordpress url will not be visible when you follow this procedure.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles