Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to generate a sitemap for my dynamic content. Do I need to also include the static pages which are already linked throughout my site? I want to just make a script which will query my inventory and then generate sitemap based on that.
Want to do it with PHP.
After submitting the sitemap, I'm hoping google will still find my static pages even if they are not listed in the sitemap!
Thank you
-D
If your files are linked then Google will find them, however, personally I like to include all of my pages (static and dynamic) in my sitemap. This just ensures that Google can see everything.
There are several websites you can use to generate sitemaps, this is one that I like:
http://www.web-site-map.com/index.php
You can then add to the sitemap, any pages that are not linked to from the submitted document.
Hope this helps
UPDATE
Google DOES index any pages that are linked within your site, however, a sitemap makes this process more efficient and effective. At the end of the day, it is up to you whether or not you use one. As they are so easy to build, I don't see why you wouldn't as it will not damage your SEO, it will only help it, if anything.
The important thing to note is that any pages that are not linked, Google (and any other crawlers), will not find! This is where sitemaps are very useful.
To summarize, sitemaps are not absolutely necessary, but they are strongly recommend!
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a professor Rate and review website for Lebanese universities. I have created a new rating system with animation on bubble.io ( https://professor-advisor.bubbleapps.io/version-test?debug_mode=true )
but I want to implement it on Wordpress. Is it possible to have such custom fields? and also is it possible to have the same animations? (hover and click colors and texts)
Of course you can achieve it. It may be a longshot, but:
download their CSS files
download their JS files
look at the page-source
Working on your Wordpress theme implement the same HTML as you had on bubble. You do not necessarily need to reuse their code in all cases. When you know how a given design element or animation can be achieved, feel free to implement yourself. When not, then look at some properties on their tags, like classes and so. Search for the identifiable properties of the element you are working on at a given point in the CSS and JS files. See what happens with them. Try removing classes and CSS rules, see what happens. This way you can gradually find out what code is responsible for what element. But it may be a long process.
Alternatively you could implement something similar on your own. I like this option better, because, even though you will face some difficulties while doing so, once you are done you will be familiar with your own code and will be able to customize it later if needed.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 4 years ago.
Improve this question
So my company has a huge website with over 7000 static pages. I have been tasked with creating a new website and attempting to account for all of the content. One way in which I've been able to do that, is by using a hash in the url to direct an AJAX call to pull content in dynamically. While this has effectively been able to eliminate many of the pages, I've been concerned with losing the site's SEO rankings, hence: redirects.
Since the new URL's have the potential to become complex (not to mention they all have a hash symbol in them), I came across one user's answer on here on how one might implement a 301 to point to a "redirector.php" and then create a php formula to point the user to the final destination. (https://stackoverflow.com/a/1279955/2005787)
This method has been working beautifully, however, my main concern is that by redirecting someone to a "redirector.php" file, you are losing all of your SEO rankings, since the final location is two steps removed from the original address.
So first, can I implement the "redirector.php" method without destroying my SEO rankings?
Second, if the "redirector.php" method does, in fact, hurt my rankings, then is there an alternative way to generate complicated redirects?
Thank you!
Ideally you would just have one redirect. Though Google will follow more than one and suggests 2. Maximum 3. So you could be okay with your plan.
https://youtu.be/r1lVPrYoBkA
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've got a site that is based around a contact form. This form is generated according to the variables passed in the URL, and the information passed is put in headers in the body, and also in the title. Additionally images are customized, so basically the whole content is changed according to these variables.
So I've run a sitemap generator, and it's actually generated lots of these www.site.tld/me.php?a=hi&b=pie, www.site.tld/me.php?a=hi&b=chocolate, www.site.tld/me.php?c=hi&hello.... you get the point.
So, my question is: is it smart to use this to my advantage, include these in the sitemap and customize them for SEO, or should I just ignore it and omit it from the sitemap?
In general having dynamic urls is okay, but you don't necessarily want them indexed for SEO purposes. In general its better to have a well organized url structure, as its seen to be more appealing. (i.e. site.com/article/sports/baseball123 is better than site.com?id=123433). So depending on your content (whether its static or dynamic) you may want to move to that type of a url structure, and have your pages indexed. On the other hand if you need to keep dynamic urls (for some reason) and depending on the nature of the content, it may be best to leave them out of the equation from an SEO perspective. It ultimately comes down to what you're serving from these pages.
Search engine friendly urls by using apache rewrite module search apache mod_rewrite in google there are many ways to do this and there are some ways that work much better than others. Google will index your site based on the content on the page rather than the url or any meta information. Using the mod rewrite makes it easier for your viewers but as far as search engines are concerned it dont really matter. Hope this helps
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
This is a general questions regarding building a website with user generated content. A new website will start with no content, then visitors to the site will not want to visit it again because there is no content for them to view.
For example, a review site like Yelp has no reviews will not have return visitors! How do you solve this?
You need to offer some reason to be there besides the reviews or whatever user-generated content you're trying to integrate into the site. Yelp is a site that searches for restaurants and lists them by type and location, that is the main service which it provides. Offer the user-generated content as a secondary reason to come, then when the user-generated content starts to come in, slowly incorporate it more and more until it becomes the core of the site.
People will only visit your site if they get something out of it, even if it is something as simple as displaying their input in an interesting way.
Your question is off topic I think on every site on the network right now, but for what it's worth, the approach this very site (and the Q&A network that came out of it) took was that of a closed beta - accessible only to a select circle of people - that would seed the site with content.
See e.g. Area 51: Asking the First Questions
The Stack Overflow blog has many references to avoiding building "Ghost Towns". They're not the only voice on the subject, but they have obviously been very successful with this approach.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm looking for a CMS I can embed inside an already existing php website. Basically I just want something that I can make blog posts from and then those blog posts will show up inside my website's content div. I'm really not looking for anything too fancy but don't really want to hack wordpress. Suggestions?
Wordpress isn't that bad an idea for this: You can access WordPress content from within a PHP application on the same server by including the WordPress bootstrap. You can then list and/or fetch the blog entry / article / page you need.
See e.g. this SO question and especially this one (Galen's top voted answer shows the whole process of fetching a page.)
You could use Osmek's free account. Osmek integrates easily into an existing application since its centrally hosted and requires no database setup. Check out this video http://osmek.com/video
Disclaimer I work for Osmek, so I am biased. But feel free to ask me any question.
Joomla makes it about as simple as possible and will leave room for the day a client calls up and asks for a more advanced feature. Installation into a folder is something pretty common, too.
There are multiple options which are prepositioned for embedding. Most promising seems "PHP News System" http://phpns.alecwh.com/, though I haven't used it and cannot qualify it much. But it claims the embedding process is just a single php call, which still sounds acceptable.
If you want just a blog, I'd recommend Serendipity over Wordpress. Firstly because of the better security track record, and second because it specifically has a switch for embedding it within an existing layout; so unlike WP doesn't need as much workarounds.