• Resolved Dan-BTP

    (@dan-btp)


    I have installed WordPress on a Windows 7 system and have created my first blog. I am using ASP.NET and Visual Studio 2010 to develop my primary website. For now, I’m just trying to debug on my local system, so my hostname is localhost. I have the blog as a subfolder under the root folder for my site (/Blogs/MyBlog).

    If I enter https://localhost/Blogs/MyBlog in a browser, it displays fine.

    I want to put a link on a page in my website that would display this blog, but nothing I’ve tried will bring up the blog. I’ve used an ASP.NET button with a PostBackUrl of ~/Blogs/MyBlog and ~/Blogs/MyBlog/index.php.

    In the WordPress Dashboard, under Settings > General, I’ve defined the WordPress Address to be https://localhost/Blogs/MyBlog and the Site Address to be https://localhost:nnnnn/Blogs/MyBlog, where nnnnn is the port number that is displayed in my browser when I view my site in the browser from Visual Studio.

    What is the proper way to link to a blog from an ASPX page? Thanks!

  • The topic ‘Link from ASPX page’ is closed to new replies.