{"id":"35236","title":"Hotel Reservation Request Booking Paypal PHP","text":"I'm making a website for a small hotel in php. The hotel owners want a reservation system that uses paypal. They want people to see a calendar and choose a date to make a reservation. If the day has vacancy, they want the user to request booking a room. This would then require the hotel owner to accept the purchase. I have not worked on a project that has this \"request to purchase\" method of buying with paypal. Is this possible? Does anyone know of an open php system that handles this?"} {"id":"35540","title":"How to backup a dev & QA folder website structure?","text":"A site I just became in charge of uses a really simple two folder structure to host the dev site and the QA site. The sites are hosted on the company servers so I just have the sites' folders mapped on my desktop. I would like to run some kind of backup scheme, but I am finding it hard to think of a way to do this effectively. The problem is that we aren't using any revision control software, and since the servers aren't controlled by me, I don't think I will be able to implement anything like that. Or could I? The entire site is static too, so no DB's or anything besides html, images, PDFs, etc."} {"id":"35238","title":"How can I redirect all files in a directory that doesn't conform to a certain filename structure?","text":"I have a website where a previous developer had updated several webpages. The issue is that the developer had made each new webpage with new filenames, and deleted the old filenames. I've worked with .htaccess redirects for a few months now, and have some understanding of the usage, however, I am stumped with this task. The old pages were named like so: www.domain.tld\/subdir\/file.html The new pages are named: www.domain.tld\/subdir\/file-new-name.html The first word of all new files is the exact name of the old file, and all new files have the same last 2 words. www.domain.tld\/subdir\/file1-new-name.html www.domain.tld\/subdir\/file2-new-name.html www.domain.tld\/subdir\/file3-new-name.html ect. We also need to be able to access the url: www.domain.tld\/subdir\/ The new files have been indexed by google (the old urls cause 404s, and need redirected to the new so that google will be friendly), and the client wants to keep the new filenames as they are more descriptive. I've attempted to redirect it in many different ways without success, but I'll show the one that stumps me the most RewriteBase \/ RewriteCond %{THE_REQUEST} !^subdir\/.*\\-new\\-name\\.html RewriteCond %{THE_REQUEST} !^subdir\/$ RewriteRule ^subdir\/(.*)\\.html$ http:\/\/www.domain.tld\/subdir\/$1\\-new\\-name\\.html [R=301,NC] When visiting `www.domain.tld\/subdir\/file1.html` in the browser, this causes a **403 Forbidden error** with a url like so: www.domain.tld\/subdir\/file1-new-name-new-name-new-name-new-name-new-name-new-name-new-name-new-name-new-name-new-name-new-name-new-name-new-name.html _I'm certain it's probably something simple that I'm overlooking, can someone please help me get a proper redirect? **Thanks so much in advance!_** _**EDIT_** I've also got all the old filenames saved on a separate document in case I need them set up like the following example: (file(1|2|3|4|5)|page(1|2|3|4|5)|a(l(l|lowed|ter)|ccept)"} {"id":"48581","title":"How to handle clients who want to add duplicate content to their sites","text":"I have some clients who are requesting that I put pages on their websites that amount to duplicate content. One wants the exact same page on two of their websites. Another wants to put content from a brochure they have some right to reprint or distribute on their website. But the same brochure content is already online at the original author's website. I explain to my clients the possible consequences of publishing duplicate content to the web, such as the page will not be indexed by search engines or their web site may be penalized. But I really want to offer them alternative solutions. The obvious one is to link to the content on the original author's website if that is possible. Does anyone have any other strategies for dealing with client requests to put duplicate content on their websites?"} {"id":"53865","title":"3rd party site using our Google Analytic tracking code, show can we block it?","text":"A 3rd party has stolen our site and is running it for there own purposes, they have also not bothered to change the Google Analytics tracking code, so there site is now skewing our data, is there a way we can block \/ disassociate their site from impacting on our Google Analytics data ?"} {"id":"11540","title":"Text files vs. text in database","text":"I'm designing a new site, deciding whether to keep the bulk of the content for each page in a text file, with just the file name in a database record for that page, or to keep the entire text in the database record as a string. The text is typically a few hundred to a few thousand words, with embedded markup to include photos or whatever, to be processed in PHP before being sent out as html. I don't find enough enlightening discussion of this design choice online. What are the pros and cons of each way? The advantage of text files, I imagine, is easy access to the file by ftp or other means, making fixing typos or editing the material easy w\/o having to fuss with the database at all. OTOH, keeping it directly in the db means I won't have to bother learning how to read text files in PHP 8P Seriously, what implications are there for maintaining the site, security, efficiency, and aspects I'm not thinking of?"} {"id":"11541","title":"Why is \"mac\" disallowed in microsoft.com\/robots.txt?","text":"At http:\/\/www.microsoft.com\/robots.txt, why are there entries like: Disallow: \/*\/mac\/help.mspx Disallow: \/*\/mac\/help.mspx? Disallow: \/*\/mactopia\/help.mspx? .... Could there be a real reason to not allow spiders to index those pages or is it something nefarious?"} {"id":"503","title":"What are the most important things I need to do to encourage Google Sitelinks?","text":"My website used to have sitelinks and now it doesn't. It's very possible that it's due to changing the website to a sidebar design instead of having an \"interstitial\" type landing page which limited the number of choices, but I'm not sure. Here is how sitelinks might look for a site:  What are some things that I can do to improve my chances of getting sitelinks?"} {"id":"18547","title":"How to best format your HTML to help Google display your websites navigation with the search result for your site in Google Search?","text":"> **Possible Duplicate:** > What are the most important things I need to do to encourage Google > Sitelinks? Look at the first result for \"smashing magazine\" in the image below. See how Google grabbed SM's site navigation and displayed it below their search result? Are there any techniques that would help Google display the navigation like this? Are there any suggestions as to how to structure your HTML to help Google create this for your website's search result? Or in general, the best way to structure? Tricks of the trade? etc.? "} {"id":"26908","title":"How to get grid view presence in google search of my website as shown in google search for “twitter”?","text":"> **Possible Duplicate:** > What are the most important things I need to do to encourage Google > Sitelinks? I have my website live and it is visible in google search but I want it to be displayed in a grid view as shown in google search of key word for example \"twitter\". Can someone guide me how to make this happen?"} {"id":"61307","title":"Google sitelinks","text":"How can I get Google to display sitelinks under search results when my website shows up? When my website shows up in position 1 which it does for a couple of keywords it displays sitelinks, but whenever we show up in any other position than the first one, we don't have any sitelinks displayed at all. I know it's not a matter of just being in the top position or not because I see sites all the time that are in any number of position in the search results and occasionally I'll see a site that has sitelinks even though they're like half way down page 3 or something.. "} {"id":"68588","title":"How to show differnt page in same serp result","text":" How to Show Different Page heading On Same result page form one website i have seen so mant result like this like in a picture #any tutorial or resources"} {"id":"44308","title":"SEO - be first and Get my own company section in google for my company name","text":"I want my company name to be first in Google when I search for it, since it is a unique name. I also want it to have its own \"section\" with sub-links of the \"about page\" \"product page\" \"contact us\" page like any other big companies have. For example, if I type any other big company, I get their website on the top row, but it also has sub-links of the \"contact us\" , \"about us\" and more...  When I search my company name in Google, I get two full search pages with my company name but all of them are from other sites that took my details from somewhere. **None of these links are my site pages!** I already read articles about \"keyword significance\" and \"crawl errors\" and most of the webmaster tools, but did I miss something else? How do I gather my site pages under my site link in Google? Is there a configuration for that?"} {"id":"49966","title":"How to customize website for Google first search Result?","text":"I don't know what is terminology used for following examples. I want to customize my website so when user search it on internet and it will return result look like following example for first search result.  * * * "} {"id":"60680","title":"Google Search Results: sub-page description","text":"I have a Wordpress site that successfully has 6 sub-pages listed below the main result in Google. However a page content snippet is showing up or each instead of the sub-page meta descriptions. I have verified in the page source that the meta descriptions are being successfully inserted by my SEO plugin. How can I define the sub-page descriptions?"} {"id":"52031","title":"How to Make google Show My website pages in the way I want","text":"Let us take an exapmle of ebay.  As you can see in image when I search for ebay it also shows subpages like Deals,GlobalEasybay and etc..For my site also this happens but the problem is that I don't have any control over it.It displays random sub-pages.My First question How I can control this. Second You can see on the right column of my screenshot ,there is a nice presentation on ebay with a picture and rescent posts...How I can make something like this on my website?"} {"id":"55814","title":"How can my site show up on Google with last post date and secondary links?","text":"How does one build a site to show up like this in the Google search results? "} {"id":"57308","title":"SEO for Google: navigation, company info, video","text":"I often stumble upon search results in Google that get a special treatment, like: * having the site navigation (and more) being displayed on the search results page  * having a company's location, contact information, Google reviews and e.g. opening hours being displayed aside the search results  * having a video thumbnail being displayed with the search result and the navigation structure being displayed instead of the blank URL (`giga.de` > Deals)  I'm building a website for my (nationally pretty well known) choir but have not been into search engine optimization, yet. There's many blogs and documents on that topic. But what I want is that special behavior described above. Can you tell me how I can reach that? Or are there any documents that deal with these (and more?) special Google features?"} {"id":"60875","title":"How to show my links in structured way like Amazon do","text":"Can you please tell me how links like `Books` `EC2` appear in search results associated with Amazon.com? How can I do similar with my site's main section? "} {"id":"22430","title":"How to hide pages from Google crawler?","text":"> **Possible Duplicate:** > What are the most important things I need to do to encourage Google > Sitelinks? I'm currently working on a website and need to keep certain pages hidden from Google crawler. How to make it so that search engines see only what I want them to see in a directory? Also, you know how Google results also give you shortcut links, Like 'Login', 'About' etc... how to put these links to search result?"} {"id":"61682","title":"Google places links and info with my search results","text":"I had set up a google+ page a while ago and also crated a places page. I'm wondering how I can integrate this into my search results (An example shown in the attached screenshot). I'd like the additional pages, google+ links and map showing up on the side. I cannot for the life of me find how I would go about this. I assumed it was automatic, but after some time I have come to the conclusion that it must require some additional input from my end. Many thanks "} {"id":"978","title":"How to get Google to display navigation?","text":"> **Possible Duplicate:** > What are the most important things I need to do to encourage Google > Sitelinks? How do I get Google to display the navigation for my site like it does for others? For example, take the search results for **'Microsoft'** :  How do I get my site to display navigation like that? It's already the first entry for certain keywords."} {"id":"19518","title":"Can I control the Google sitelinks for my website?","text":"> **Possible Duplicate:** > What are the most important things I need to do to encourage Google > Sitelinks? Working on SEO for a website, and i'm wondering if there's a way to have some say in which sub-links appear under the first entry when you google the website's name. (i.e. when you google \"amazon\" there are 6 sub-links including \"books\", \"music\", \"your account\", etc. under the entry). Currently if I google my site those 6 links include a couple of random pages as well as the Privacy Policy and Terms of Service which are only linked to in the footer, but several of the main sections of the site that are linked to in the top menu are left out. (I say the pages it chooses are \"random\" because they don't correspond to the most-viewed based on google analytics, and I don't think special SEO-wise to make them stand out) Is there a way to choose or at least influence what these sub-links will be? Edit - What I call sub-links above are known as sitelinks (and are well documented in Google's Webmaster Tools, as Michael pointed out)."} {"id":"42439","title":"Unique search engine results","text":"> **Possible Duplicate:** > What are the most important things I need to do to encourage Google > Sitelinks?  How do i get those kind of result? With Categories below the main result. What is it called. i want to do as the picture. thanks in advance!"} {"id":"47982","title":"Display major links in Google","text":"I am wondering how some websites get their sublinks too displayed on Google. For example when I enter \"accenture\" on Google apart from the main link (which is common) look at the links \"Graduate Careers at accenture\", \"Accenture careers\" etc. How can I display my other pages too on Google just like this way. Also when somebody enters my business name how can I display my map on Google just like the below screenshot. Check the screenshot here. Sorry I don't have reputation 10 to post image. :( http:\/\/i.stack.imgur.com\/fZFkv.png"} {"id":"29411","title":"How to add menu on google search result?","text":"> **Possible Duplicate:** > What are the most important things I need to do to encourage Google > Sitelinks? I want to ask how to make menu on google search result.E.g : when you search on google with keyword : Google community and found www.stackoverflow.com, there are list of link below,those are Forums,Register Now,Members List,etc. How to make this menu in my website. For example: "} {"id":"25590","title":"How do we get our sites' sections displayed under the description in a Google search?","text":"> **Possible Duplicate:** > What are the most important things I need to do to encourage Google > Sitelinks? For Example, if I Google \"Stack Overflow\" the site comes up but also links to the main sections of the site right beneath it (Login, Questions, Careers...)  How can I achieve this with my own site? Thanks!"} {"id":"35738","title":"Google Site Links","text":"How can I get google sitelinks?"} {"id":"50877","title":"How does Google determine important links on a website to display in search results?","text":"Sometimes when I search for something on Google it shows some results (website links), but it also shows some important links on that website. Is it a feature of the website or does Google use something to find those main links of the website? Is it related to search engine optimization?"} {"id":"58164","title":"Multiple Pages in Google Results","text":"I've got what I would have thought would be a pretty widely discussed problem but I cant seem to find an answer anywhere. This is more of a SEO question, but also relates to general HTML structure. I'm trying to get all of the pages in a site to to appear under one result in Google (preferably displaying the sub-pages underneath). I realise I can use robots.txt to block the index from viewing the other pages, but am I right in thinking the keywords in those pages will no longer contribute search ranking? Edit: I should add that at the minute each page shows as a different result, which is annoying as the home page isn't first! I have in the head section of every page (minus the JS and extra style sheets):