Hi, Just wondered if anyone knew how to edit the css or a php file to get my page titles showin again for my homepage.. for some random reason its stopped showing em when i click on my webiste in the search engines.. also its effecting my Search engine results an its not showin up on there too any clues???
Not sure what you mean by "get the page title" in your php page you could have the title as a var in php eg <head> <title><?php echo $phpvar;?></title> </head> PHP: obviously if the $ var is blank then th title will be blank Thanks Rob
Well im using webasyst shopping cart an ive always put in my pages titles in backend of my website an they've always shown up in front end... but for some reason theyve stopped showin up now! as i noticed in google search results! but tryin to pin point what ive done to mess it up.. all i did was go into the css an try to turn off some categories but i must of deleted something??! so was just wondering if anyone could help me retify it??
Without seeing your code, how are we supposed to help? You need to at least show where it's supposed to show the title And it won't be some "random" reason. All code works logically, so there will be a rational reason for it, 99% of the time its down to user error
Hi, good point! sorry im new to all this! Where shall i copy the code from... the css file?? would that have anything to do with page titles???
When you say "page title" do you mean the title that is in the windows titlebar or is it a title on the actual page? If you copy and paste both the css and the php file it should be easily solved edit: if you have a link to the site even better
Yeh the one that is in the windows title bar an which shows up in googles search results! My website is sportive - supplements .co . uk have a quick look
Its got the title "HomepageBanner" and there is indeed a <title> tag with that in it. The problem is that you've got two html pages, one inside the other. If you look at the source code, you will see that the original code has a "head" section but no <title> tags. If you have a backup of the site I would highly recommend reverting back to a point where you know it was all fine. This isn't anything to do with css I can assure you. I'm guessing you're using some pre-built software with templates
Oh ok... thanks for that, what a great help! I dont understand how i could of got 2 html pages inside each other! How this came about is i tried puttin a pull down menu on as a navigation as apposed to a categorie tree an i tried insertin the code it said into the head section etc where it said.. wonder if i took that out it might work again?!??!?! An yes im using a pre-built software - Called... Shop-script / Webasyst
Think ive sorted it... Thank you sooo much!! really appreciate you spendin time to have a look! Your a genius! ;o) Mark