TDMGame Posted June 20, 2011 Share Posted June 20, 2011 My whole site works for the best now with new host for those who helped with short tags problem So for those who doesnt know, i'm a newbie so yeah that's why i can't figure it out and would like your help -My site uses $sitelink in alot of places, i couldn't figure out where it's wrong but my site is www.thedaylightmafia.com but everywere he needs to write it he writes edaylightmafia.com Kind of weird ... -My domain is www.thedaylightmafia.com, now when you log in and are viewing the site it gives this as link http://www.thedaylightmafia.com/layout/layout001/index.php. The host help told me to do this : RewriteEngine on Options +FollowSymlinks RewriteCond %{REQUEST_URI} ^/layout/ [NC] RewriteRule ^(.*)$ http://www.www.thedaylightmafia.com/$1 [R=301,L] But he said it could cause some problems, personally i have no idea where to add this and totally not the kinda my script is usin so, any other solution. Don't break your head on this I can live with "http://www.thedaylightmafia.com/layout/layout001/index.php" it's just an extra. - Every time i click on a link to a page on my site, it loads for about a second. That's not a problem but while he's loading he flashes a white screen and that's a problem It surely is because i got something wrong on my style.css, only a code to change or my implementation on my index.php is wrong. Code i use <link href="<?= $sitelink;?>/layout/layout<?= $page->layout; ?>/style.css" type="text/css" rel="stylesheet"> Perhaps this is also the part i could change so that my site link would be www.thedaylightmafia.com/index.php Quote Link to comment https://forums.phpfreaks.com/topic/239844-some-trouble/ Share on other sites More sharing options...
TDMGame Posted June 20, 2011 Author Share Posted June 20, 2011 I figured out first problem My site uses $sitelink in alot of places, i couldn't figure out where it's wrong but my site is www.thedaylightmafia.com but everywere he needs to write it he writes edaylightmafia.com <?=trim($sitelink,"http://www.")?> Must Be <?=trim($sitelink,"http://")?> if anyone encounter this Quote Link to comment https://forums.phpfreaks.com/topic/239844-some-trouble/#findComment-1232006 Share on other sites More sharing options...
mikesta707 Posted June 20, 2011 Share Posted June 20, 2011 I'm not entirely sure what you mean by flashing white. Do you mean when the browser window goes white before loading the page fully? Because I'm pretty sure that happens on all webpages.. Would you mind clarifying your question Quote Link to comment https://forums.phpfreaks.com/topic/239844-some-trouble/#findComment-1232013 Share on other sites More sharing options...
TDMGame Posted June 20, 2011 Author Share Posted June 20, 2011 Hmm div#left { width: 180px; float: left; } div#center { width: 100%; float: left; margin: 0 0 0 5px; } div#right { width: 180px; float: left; } Only the div#center flashes a white screen for less then a second when it loads ... It's a mafia game so you must imagine having all kind of choices left and right and in the center happens what you just clicked. Quote Link to comment https://forums.phpfreaks.com/topic/239844-some-trouble/#findComment-1232019 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.