-
canonical tag help
Hey all, I have been reading quite alot in regards to the canonical tag but am still a bit unsure if its right for what im trying to do. Basically I am currently making a website for bathroom fitting in london http://www.guildbathrooms.com All the keywords are aimed towards phrases such as bathroom fitters london, bathrooms london etc... What I have done to broaden my chance of finding potential customers is make seperate pages for different london boroughs such as http://www.guildbathrooms.com/bathroom-fitters-greenwich.php which are the same as the original london page but have just change all "london" keywords to greenwich (or whatever area im targeting) and then give each page a canonical tag pointing back to the original bathroom fitters london page. What im struggling with is: Will each of the pages with the tag be indexed in regards to its own keywords and show for relevant results and just redirect to where im pointing the link to or will it simply be ignored and viewed as being the same as the original page its pointing to and assumed its exactly the same. What im basically trying to find out is if it will give me a greater chance of being found based on the fact its now covering multiple locations instead of 1 or am i telling google ignore it because its similar? Sorry to give such a vague question but any help would be greatly appreciated. Thanks for reading Best regards David
-
-
-
- Just looking for people thoughts on my design
-
-
Appreciate any thoughts on my design
Thanks for the input and giving me something to work on.
-
Review My Solution Site
Hi, In regards to your post I think looking at your website with fresh eyes the first impression I got was a paypal kind of feel in terms of the color scheme, buttons, fonts etc... which I think kind of gives it a feel of familiarity (but that's just my opinion) I like the fact you got today's date in the corner it gives the impression that its fresh and the content is constantly maintained which is something I intend to do for my website www.guildbathrooms.com. Personally I like the layout I think the content flows well and I don't feel overloaded with information but my only dislike would be the light greeny/blue color used for the border on the navigation section I would personally use a bolder color but thats just my personal choice. Hope this helps David
-
Appreciate any thoughts on my design
Hi all I have been working on a website for my boss and just wondered if anyone could perhaps point out good and bad points or recommend any improvements or just give there general thoughts. (please bare in mind this is only my second ever attempt at a website so don't expect amazing things) He's original website is http://www.plumbers-kent.co.uk/ and the unfinished one I am currenty working on is http://www.guildbathrooms.com I would appreciate any feedback in regards to peoples first impression such as does it look cluttered, is there a specific part that lets the site down, is the color scheme ok? etc.. Thanks in advanced any feedback anyone is kind enough to offer. Best regards David
-
- Just looking for people thoughts on my design
-
- Just looking for people thoughts on my design
-
Just looking for people thoughts on my design
Hi all I have been working on a website for my boss and just wondered if anyone could perhaps point out good and bad points or recommend any improvements or just give there general thoughts. (please bare in mind this is only my second ever attempt at a website so don't expect amazing things) He's original website is http://www.plumbers-kent.co.uk/ and the unfinished one I am currenty working on is www.guildbathrooms.com I would appreciate any feedback in regards to peoples first impression such as does it look cluttered, is there a specific part that lets the site down, is the color scheme ok? etc.. Thanks in advanced any feedback anyone is kind enough to offer. Best regards David
-
-
Problem with simple mail form
Hi all, It has been a while since iv done any php and im trying to make a simple textboook mail form but cant see what im doing wrong. <form action="" method="post"> Want us to call you? <input type="text" placeholder = "Please enter a contact number" class="callBackField" name="callBackField"> <input type="submit" value="Call me back" class="callBackSubmit"> </form> <?php if (isset($_POST['callBackSubmit'])) { $to = "dgeorge@live.co.uk"; $subject = "Call me back, Guild Bathrooms"; $message = $_POST['callBackField']; $from = "mail.guildbathrooms.com"; mail($to,$subject,$message); echo "Mail Sent."; } ?> the action field is left blank because the php is on the same page as the html, im pretty sure i have done something wrong in the php, any help would ne greatly appreciated. Thanks for looking Best regards David
-
-
how to get individual value of array when posted in a form
I did try that its only outputting an answer when i $_)POST['industryList']['0'] : if (isset($_POST['industryList'][0])) { echo "yes"; } and this outputs yes for any field that is selected where as [1] ... [2] etc.. do not have any output
-
how to get individual value of array when posted in a form
Hey all I have a form that elts the user choose a from options (in this case industries) they want to search and I want one of the options to be a "search all". I have the locations stored in a array as seen below: <li> <input type="checkbox" value="sitework" name="industryList[]"><a href="#">Site Work</a> </li> <li> <input type="checkbox" value="shop_fitting" name="industryList[]"><a href="#">Shop Fitting</a> </li> <li> <input type="checkbox" value="allIndustries" name="industryList[]"><a href="#">Show All</a><br> </li> when I use the form data to query the database I am not sure how to say if a particular option has been choosen then do this. The code im currently using is foreach($_POST['industryList'] as $selected) { $selectedIndustries = $selected; } which selects all options that the user has choosen and allows me to query the database using the variable but im not sure how to say if one specific option (select all) has been selected in other words draw the one option from the array Any help would really be appreciated. Thanks
-
-
best way to include content from another file
Hey all, I have a form thats action is another page.. <form class="indexSearch" action="search.php" method="post"> to keep my code neat im keeping all my php code in a seperate file that im including in the head of every page... <head> <?php include'include/includes.php';?> </head> the problem im having is when the php code in the includes.php file runs it echos at the top left hand corner of the page I want it to appear on and im confused at the best way to make it appear where I need it <?php if(isset($_POST['indexSearchSubmit'])) { foreach($_POST['industryList'] as $selected) { $_POST['industryList'] = $selected; $locationListResults = $_POST['locationList']; $results = mysqli_query($con,"SELECT * FROM currentListings WHERE location = '$locationListResults' AND industry = '$selected'"); while($row = mysqli_fetch_array($results)) { echo $row['industry']; echo "<br>"; echo $row['location']; echo "<br>"; echo $row['title']; echo "<br>"; echo $row['description']; echo "<br><br>"; } } mysqli_close($con); } ?> Any help would be greatly appreciated. Thx
-
problem using select/option arrays
Thanks for the help
-
-
problem using select/option arrays
Just wonderedd if anyone can help I have a form with 2 arrays stored in it (1 as checkbox options and 1 as a select option) as following.. <form class="indexSearch" action="search.php" method="post"> <ul class="indexSearchIndustryList"> <li> <input type="checkbox" value="1" name="industryList[]"><a href="#">Bathroom Fitting</a> </li> <li> <input type="checkbox" value="2" name="industryList[]"><a href="#">Bricklaying</a> </li> <li> <input type="checkbox" value="3" name="industryList[]"><a href="#">Carpentry</a> etc... <select class="indexSearchLocationList"> <option value="a" name="locationList[]">Anywhere in London </option> <option value="b" name="locationList[]">Barking and Dagenham </option> <option value="c" name="locationList[]">Barnet </option> etc.... the problem im having is when I submit the form only 1 array (industry list is being posted although im posting them both the same way. <?php $industryListResults = $_POST['industryList']; $locationListResults = $_POST['locationList']; $results = mysqli_query($con,"SELECT * FROM currentListings WHERE industry = '$[industryListResults]' AND location = '$[locationListResults]' "); while($row = mysqli_fetch_array($results)) { echo $row['industry']; echo "<br>"; } mysqli_close($con); ?> </div> the error I keep getting is Undefined index: locationList in C:\David\Wamp\wamp\www\training_and_apprenticeships\search.php on line 15 does anyone have any ideas why this might be happening? any help would be really appreciated
-
problems using get over mulitple files
Hey all just wondering if anyone can help. Basically I have a form that that has a php variable as the action. <form class="indexSearch" action="<?php echo $indexSearchFormAction; ?>" method="get"> <ul class="indexSearchIndustryList"> <li> <input type="checkbox" value="1" name="industryList[]"><a href="#">Bathroom Fitting</a> </li> <li> <input type="checkbox" value="2" name="industryList[]"><a href="#">Bricklaying</a> </li> etc..... To keep my code as neat as possible im putting all php functions and scripts in a seperate file that im including in the header of the page. What im struggling with is on the page that handles all the php how do I target the array (industryList[]) what I have so far is $indexSearchFormAction = ""; if (isset($_GET['indexSearchSubmit'])) { if (!empty($_GET['industryList'])) { $indexSearchFormAction = "search.php"; } else { $indexSearchFormAction = ""; } } but im not sure if i need the $_GET just a bit confused in general. any help would be greatly appreciated.