how to get my dynamic website to appear on google searches

Posted on 2010-08-22
Medium Priority
Last Modified: 2013-12-08
I have a website that is generated with dynamic content from a database.  I have subscribers to my site and each subscriber has its own url that is redirected to my site in a format such as http://mysite.com?id=1  where 1 is the id number of each individual subscriber.  The website contains the same areas for each subscriber and the subscribers can modify the content areas for their specific purposes.

What I'm not sure how to do is to get the subscribers urls to be found in Google (or other search engines for that matter).  

I've read about Google SiteMap and ReWrite but I'm not sure if either will solve my problem.  

Any suggestions would be greatly appreciated.
Company 1 URL: www.company1.com
Company 2 URL: www.company2.com
Company 3 URL: www.company3.com

www.company1.com redirects to www.mysite.com?id=1
www.company2.com redirects to www.mysite.com?id=2
www.company3.com redirects to www.mysite.com?id=3

The default page is index.asp.  When id is 1, the Index.asp page will say Welcome Company 1; id =2, Welcome Company 2; id=3, Welcome Company 3.

This is a simplified example.  The various pages of the site has static content and dynamic content.

Open in new window

Question by:dyarosh
LVL 84

Expert Comment

by:Dave Baldwin
ID: 33498245
Dynamic doesn't really have anything to do with it.  First, submit a Google sitemap so that Google knows about your pages.  Second is getting other people to link to your site.  Then you can do other things like advertising if you want.

Accepted Solution

syedyounus earned 1000 total points
ID: 33498596
agreed with above response from "DaveBaldwin"

And to submit the sitemap for different domains from same host follow the below mentioned steps.

Sitemaps & Cross Submits

To submit Sitemaps for multiple hosts from a single host, you need to "prove" ownership of the host(s) for which URLs are being submitted in a Sitemap. Here's an example. Let's say that you want to submit Sitemaps for 3 hosts:

www.host1.com with Sitemap file sitemap-host1.xml
www.host2.com with Sitemap file sitemap-host2.xml
www.host3.com with Sitemap file sitemap-host3.xml

Moreover, you want to place all three Sitemaps on a single host: www.sitemaphost.com. So the Sitemap URLs will be:


By default, this will result in a "cross submission" error since you are trying to submit URLs for www.host1.com through a Sitemap that is hosted on www.sitemaphost.com (and same for the other two hosts). One way to avoid the error is to prove that you own (i.e. have the authority to modify files) www.host1.com. You can do this by modifying the robots.txt file on www.host1.com to point to the Sitemap on www.sitemaphost.com.

source:- http://www.sitemaps.org/protocol.php
LVL 23

Expert Comment

by:Tony McCreath
ID: 33498934
I think you want to use rewrites to hide the redirects.

Would the ideal solution be that for company one, it appears as if they are still on their own domain and that they never see the id?

I would have all domains pointing to the same hosted website (yours) then have the domains re-write in a way that adds the id to the rewritten URL.

Or. you could change your code to work out the id from the domain used in the URL. Then no rewriting is needed.
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.


Author Comment

ID: 33532704
Just to clarify.  If I use SiteMaps then if someone does a google search on Company 1's name, the site for Company 1 will be displayed?  Likewise, if someone searches on Company 2's location, the site for Company 2 will be displayed?
Company Name and Location are two dynamic fields that get displayed on the home page of the site based on the id number in the url.
LVL 84

Expert Comment

by:Dave Baldwin
ID: 33533255
Sitemaps tell Google about your pages, nothing more.  It makes sure that Google knows about your pages so it can index them.

Author Comment

ID: 33533845
Forgive me for my ignorance but when Google indexes them, does it then look at the content for searches?  If my page is about marble tiles and I do a google search on marble tiles, will my page show up?
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1000 total points
ID: 33534581
First Google has to know about your pages.  That is the role of Sitemaps.  Second, to get your site to show up you need to have others linking to your page.  If you do a search for "marble tiles", you are looking world wide.  Right now, I get "About 572,000 results" for "marble tiles".  Google does their best to return results in your area.  But there are many people advertising their products and they have a much greater 'web presence' than someone who doesn't.  If you don't advertise and don't have any links from others to you, no one knows where in those 572,000 results you will be.

In most ways, the effect of the internet on business is just another place that needs to be taken care of.  Advertising and getting yourself known are still the things that need to be done.  Putting up a web site by itself is not enough.

Author Closing Comment

ID: 33534729
I split the points because syedyounus gave me instructions and a link for doing the SiteMap.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

We take a look at the fast-evolving changes in Search Engine Optimization rules and algorithms by Google.
Before you approach an Ionic Mobile App development company for developing mobile apps using the ionic framework, you must know why you should choose the framework. Let's try to understand that through this article.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question