Support » Fixing WordPress » “view site” code

  • Resolved


    Can some one tell me which file the link for “view site” is in on the dashboard please? i’m having trouble with it not directing properly so just want to link it to the main page

Viewing 5 replies - 1 through 5 (of 5 total)
  • whooami



    you dont want to do that. If that is not sending you to the right place, you need to investigate why — that’s symptomatic of something else, not a problem in and of itself.

    If this is your WP blog:
    do NOT use a file that has other name than “index.php”!

    moshu no its not

    whooami i do want to do that! ha ha i’ve asked in a previous post for help on it but there was no answer. basically its because im using a mod to link it to my phpBB forums but its not working for whatever reason. So i just want to link it directly to the blog home page now





    <h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>"><?php _e('Visit Site') ?></a></span></h1>

    Thanks for that 😀

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“view site” code’ is closed to new replies.