For some reason wordpress is putting escape tags (\") around my URLs and therefor making them unusable, 404 pages. I'm trying to figure it out for the past hour, but can't seem to find a proper reason why I get this error. http://www.clearcreekfinancial.com/ - Look at below -> H3 - Where to start -> the links below each display as example: http://www.clearcreekfinancial.com/\"http://www.clearcreekfinancial.com/what-is-a-good-credit-score-and-why-is-it-important\" - instead of just - http://www.clearcreekfinancial.com/what-is-a-good-credit-score-and-why-is-it-important as is written in the code. I don't get this error on my similar website at: http://www.personal-payday-loans.info
Check the permalink. Go to Settings->Permalink and set it "Default" or change the "Custom Structure".
I have the custom structure at "/%postname%", but that's not the issue, since this exact link structure works on the other website. EDIT: It would also be good to mention that this happens only in that section. The links work good in the header, footer and elsewhere on the blog/website.
Can you write here that part of the code, which makes it? Because it makes wrong link <a href=\"http://www.clearcreekfinancial.com/what-is-a-good-credit-score-and-why-is-it-important\">
Yeah exactly. The php somehow makes the link wrong. As you can see the index page is completely different, than the pages/posts are. This is the complete page, where this code can be seen: However, the value is set inside my admin control panel. The value being: Where To Start Code (markup): for feature box 1 title, <ul> <li><a href="http://www.clearcreekfinancial.com/what-is-a-good-credit-score-and-why-is-it-important">Whats a Good Credit Score</a></li> <li><a href="http://www.clearcreekfinancial.com/what-is-the-minimum-credit-score-for-a-mortgage">Minimum Credit Score For Mortgage</a></li> <li><a href="http://www.clearcreekfinancial.com/what-is-considered-a-good-credit-score">What Is Considered a Good Credit Score</a></li> <li><a href="http://www.clearcreekfinancial.com/what-is-a-good-credit-score-range">Good Credit Score Range</a></li> <li><a href="http://www.clearcreekfinancial.com/tips-on-how-to-fix-my-credit">How To Fix My Credit</a></li> <li><a href="http://www.clearcreekfinancial.com/obtaining-a-mortgage-with-a-600-credit-score">600 Credit Score Mortgage</a></li> <li><a href="http://www.clearcreekfinancial.com/main-methods-in-building-your-credit-score">Building Your Credit Score</a></li> <li><a href="http://www.clearcreekfinancial.com/learn-how-to-raise-a-credit-score">How To Raise Credit Score</a></li> <li><a href="http://www.clearcreekfinancial.com/what%e2%80%99s-my-credit-score-how-to-determine-a-credit-rating">Whats My Credit Score</a></li> </ul> Code (markup): - for feature box 1 content etc. etc. for the feature box 2, 3 and 4... I can't see anything wrong with the code... <div id="wrapper" class="container_12" > <div id="content" class="grid_8"> <?php if ( !get_option('bizzthemes_footerbox1_hide')) { ?> <!-- planbox1 start --> <div class="feature_box grid_4 aleft fspacer"> <?php if ( get_option('bizzthemes_box1_img_url') != "") { ?> <img src="<?php echo get_option('bizzthemes_box1_img_url'); ?>" alt="" /> <?php } ?> <div class="feature_box_content"> <?php if ( get_option('bizzthemes_box1_title') != "") { ?> <h3> <?php echo get_option('bizzthemes_box1_title'); ?> </h3> <?php } ?> <?php if ( get_option('bizzthemes_box1_content') != "") { ?> <p> <?php echo get_option('bizzthemes_box1_content'); ?> </p> <?php } ?> </div> </div> <!-- planbox1 #end --> <?php } ?> <?php if ( !get_option('bizzthemes_footerbox2_hide')) { ?> <!-- planbox2 start --> <div class="feature_box grid_4 aright fspacer"> <?php if ( get_option('bizzthemes_box2_img_url') != "") { ?> <img src="<?php echo get_option('bizzthemes_box2_img_url'); ?>" alt="" /> <?php } ?> <div class="feature_box_content"> <?php if ( get_option('bizzthemes_box2_title') != "") { ?> <h3> <?php echo get_option('bizzthemes_box2_title'); ?> </h3> <?php } ?> <?php if ( get_option('bizzthemes_box2_content') != "") { ?> <p> <?php echo get_option('bizzthemes_box2_content'); ?> </p> <?php } ?> </div> </div> <!-- planbox2 #end --> <div class="clearfix"></div> <?php } ?> <?php if ( !get_option('bizzthemes_footerbox3_hide')) { ?> <!-- planbox3 start --> <div class="feature_box grid_4 aleft"> <?php if ( get_option('bizzthemes_box3_img_url') != "") { ?> <img src="<?php echo get_option('bizzthemes_box3_img_url'); ?>" alt="" /> <?php } ?> <div class="feature_box_content"> <?php if ( get_option('bizzthemes_box3_title') != "") { ?> <h3> <?php echo get_option('bizzthemes_box3_title'); ?> </h3> <?php } ?> <?php if ( get_option('bizzthemes_box3_content') != "") { ?> <p> <?php echo get_option('bizzthemes_box3_content'); ?> </p> <?php } ?> </div> </div> <!-- planbox3 #end --> <?php } ?> <?php if ( !get_option('bizzthemes_footerbox4_hide')) { ?> <!-- planbox4 start --> <div class="feature_box grid_4 aright"> <?php if ( get_option('bizzthemes_box4_img_url') != "") { ?> <img src="<?php echo get_option('bizzthemes_box4_img_url'); ?>" alt="" /> <?php } ?> <div class="feature_box_content"> <?php if ( get_option('bizzthemes_box4_title') != "") { ?> <h3> <?php echo get_option('bizzthemes_box4_title'); ?> </h3> <?php } ?> <?php if ( get_option('bizzthemes_box4_content') != "") { ?> <p> <?php echo get_option('bizzthemes_box4_content'); ?> </p> <?php } ?> </div> </div> <!-- planbox3 #end --> <?php } ?> </div> <!-- content #end --> <?php if ( !get_option('bizzthemes_reviewbox_hide')) { ?> <div id="sidebar" class="grid_4"> <?php if ( get_option('bizzthemes_review_title') != "") { ?> <h2><?php echo get_option('bizzthemes_review_title'); ?></h2> <?php } ?> <blockquote> <?php if ( get_option('bizzthemes_review_blockquote') != "") { ?> <p><?php echo get_option('bizzthemes_review_blockquote'); ?></p> <?php } ?> <?php if ( get_option('bizzthemes_review_cite') != "") { ?> <cite>- <?php echo get_option('bizzthemes_review_cite'); ?></cite> <?php } ?> </blockquote> <?php if ( get_option('bizzthemes_review_button_image') != "") { ?> <a href="<?php echo get_option('bizzthemes_review_button_url'); ?>"><img src="<?php echo get_option('bizzthemes_review_button_image'); ?>" alt="" /></a> <?php } ?> </div> <!-- sidebar #end --> <?php } ?> </div> <!-- wrapper #end --> Code (markup):
Change the code echo get_option('bizzthemes_box1_content'); Code (markup): to echo stripslashes(get_option('bizzthemes_box1_content')); Code (markup): Do it with echo get_option('bizzthemes_box2,3..._content'); too.
Actually there is something wrong with the code... figured it out. Although I don't know why this exact same code works on the other website... What I did is added the stripslashes function and make it like: <?php echo stripslashes(get_option('bizzthemes_box1_content')); ?> instead of the former <?php echo get_option('bizzthemes_box1_content'); ?>
Lol, thanks, looks like we both figured it out at the same time. Some reps+ are going to you anyway. However, the question still bugs me why does this same code work on the other website? (no stripslashes is included in the code, however it works anyway) http://www.personal-payday-loans.info/
Maybe it is because the Wordpress versions are not the same. Maybe the theme versions are not the same.
The theme versions are the same, only the css is different. But it could indeed be the wordpress version, and if that's the case I have a solution at hand once I update. Cheers