Hi Gurus
I am building a site using PHP. I also use sessions and these I pass on from URL to URL using the PHPSESSID=......
Now, I am wondering what this means for google. What URLs may be listed with Google and how will they show them (with or without
the session ID)?
Does anyone has any experience with optimising PHP sites for search engines?
Cheers
Nicolaas 21 2771
WindAndWaves wrote: Hi Gurus
I am building a site using PHP. I also use sessions and these I pass
on from URL to URL using the PHPSESSID=...... Now, I am wondering what this means for google. What URLs may be
listed with Google and how will they show them (with or without the session ID)?
Google is PHP friendly. Try and see.
Does anyone has any experience with optimising PHP sites for search
engines?
SEO is a big hoax; please don't waste your energy on that. Don't
let your site to depend on any search engines; but try to achieve the
opposite.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
"WindAndWaves" wrote: Hi Gurus
I am building a site using PHP. I also use sessions and these I pass on from URL to URL using the PHPSESSID=......
Now, I am wondering what this means for google. What URLs may be listed with Google and how will they show them (with or without the session ID)?
Does anyone has any experience with optimising PHP sites for search engines?
Cheers
Nicolaas
You don’t want to pass unique session id’s when users are not logged
on. Search engines (SE) want to see the same URL time and again, and
unique sesison id’s make them different.
It is quite ok to have session id’s when users are logged on, since
SE’s never log on.
You can look at earlier versions of phpbb for example, that had
session id’s (or still do?). Then there were various mods to get rid
of that.
Can’t you just use cookie. Is there anything to be carried from page
to page via sessionid if the user is not logged on?
--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-google-s...ict191795.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=649595
"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in message >
[.....] SEO is a big hoax; please don't waste your energy on that. Don't let your site to depend on any search engines; but try to achieve the opposite.
Interesting you say that - I am not sure if you are serious or what you mean. With SEO I mean that you setup your site in such a
way that people who look for your topic on Google can find you. For example, if you have a site about socks then you make sure that
the word sock appears in your index file at least a few times, etc... etc...
I know that works, because I have Google rankings for several sites using this methodology.
I was just wondering if there was anything special you had to watch when programming your pages in PHP.
Thanks for your reply
- Nicolaas
WindAndWaves wrote: SEO is a big hoax; please don't waste your energy on that. Don't let your site to depend on any search engines; but try to achieve the opposite.
Interesting you say that - I am not sure if you are serious or what you mean. With SEO I mean that you setup your site in such a way that people who look for your topic on Google can find you. For example, if you have a site about socks then you make sure that the word sock appears in your index file at least a few times, etc... etc...
I know that works, because I have Google rankings for several sites using this methodology.
I was just wondering if there was anything special you had to watch when programming your pages in PHP.
You should probably subscribe to alt.internet.search-engines and ask the
same questions there.
--
Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/
"steve" <Us************@dbForumz.com> wrote in message news:41**********@alt.athenanews.com... "WindAndWaves" wrote: > Hi Gurus > > I am building a site using PHP. I also use sessions and these > I pass on from URL to URL using the PHPSESSID=...... > > Now, I am wondering what this means for google. What URLs may > be listed with Google and how will they show them (with or > without > the session ID)? > > Does anyone has any experience with optimising PHP sites for > search engines? > > Cheers > > Nicolaas
You don't want to pass unique session id's when users are not logged on. Search engines (SE) want to see the same URL time and again, and unique sesison id's make them different.
It is quite ok to have session id's when users are logged on, since SE's never log on.
You can look at earlier versions of phpbb for example, that had session id's (or still do?). Then there were various mods to get rid of that.
Can't you just use cookie. Is there anything to be carried from page to page via sessionid if the user is not logged on?
-- Posted using the http://www.dbforumz.com interface, at author's request Articles individually checked for conformance to usenet standards Topic URL: http://www.dbforumz.com/PHP-google-s...ict191795.html Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=649595
I do not ask my users to log on, but they do create their own "shopping baskets" and retain their last search. That is why I use
the Session IDs. Having said that, I have no idea if I am doing it right. I just put the
<?php echo session_id(); ?>
at the end of each link and I start each page with
session_start();
Does that make sense?
Thanks for your reply
- Nicolaas
Google will not show the session id when crawling your site
Googlebot will empty the PHPSESSID and save your web pages without
PHPSESSID
WindAndWaves wrote: "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in
message > [.....]
SEO is a big hoax; please don't waste your energy on that. Don't let your site to depend on any search engines; but try to achieve
the opposite. Interesting you say that - I am not sure if you are serious or what
you mean. With SEO I mean that you setup your site in such a way that people who look for your topic on Google can find you. For
example, if you have a site about socks then you make sure that the word sock appears in your index file at least a few times, etc...
etc... I know that works, because I have Google rankings for several sites
using this methodology.
First of all, there is no "methodology". Most of the SEO theories
are big hoax. FWIW, the keyword "jeba" ranks #2 my simple site which I
didn't "optimize" at all and didn't update for longtime. My site log
shows, "some people" are working hard (almost 2years) to get my
position--they even registered lots of domains in that name.
I was just wondering if there was anything special you had to watch
when programming your pages in PHP.
Yes, some losers use "cloaking"; which is quite illegal according
to Google's TOS.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... WindAndWaves wrote: "R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in message > [.....]
SEO is a big hoax; please don't waste your energy on that. Don't let your site to depend on any search engines; but try to achieve the opposite.
Interesting you say that - I am not sure if you are serious or what
you mean. With SEO I mean that you setup your site in such a way that people who look for your topic on Google can find you. For example, if you have a site about socks then you make sure that the word sock appears in your index file at least a few times, etc... etc... I know that works, because I have Google rankings for several sites
using this methodology.
First of all, there is no "methodology". Most of the SEO theories are big hoax. FWIW, the keyword "jeba" ranks #2 my simple site which I didn't "optimize" at all and didn't update for longtime. My site log shows, "some people" are working hard (almost 2years) to get my position--they even registered lots of domains in that name.
I was just wondering if there was anything special you had to watch when programming your pages in PHP.
Yes, some losers use "cloaking"; which is quite illegal according to Google's TOS.
-- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
well, Google tries to find out what your site is all about - and you can definitely help it.
One of the main ways to help it is to have lots of people point at you (with links) using the keyword jeba.
It seems that in your case they have done it. This works particularly well if it is done by influential sites (e.g. yahoo).
Anyway, for my site i will just wait and see what happens when it goes live and take from there.
"sam" <jo*****@jorecom.com> wrote in message news:11*********************@c13g2000cwb.googlegro ups.com... Google will not show the session id when crawling your site
Googlebot will empty the PHPSESSID and save your web pages without PHPSESSID
GREAT
WindAndWaves wrote: "steve" <Us************@dbForumz.com> wrote in message
news:41**********@alt.athenanews.com...
<snip> I do not ask my users to log on, but they do create their own
"shopping baskets" and retain their last search. That is why I use the Session IDs. Having said that, I have no idea if I am doing it
right. I just put the <?php echo session_id(); ?>
You don't have to append *manually*. You can use
<http://in.php.net/session#ini.session.use-trans-sid>
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
steve wrote: "WindAndWaves" wrote:
<snip> Can't you just use cookie. Is there anything to be carried from
page to page via sessionid if the user is not logged on?
Search engines won't handle cookies. That's why some webpages use
trans sid, but only for search engines--so that it carries variables to
other pages. Sounds like you're stating the reverse.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> wrote in message news:11**********************@c13g2000cwb.googlegr oups.com... steve wrote: "WindAndWaves" wrote: <snip> Can't you just use cookie. Is there anything to be carried from page to page via sessionid if the user is not logged on?
Search engines won't handle cookies. That's why some webpages use trans sid, but only for search engines--so that it carries variables to other pages. Sounds like you're stating the reverse.
sorry for the misunderstanding. I just add the PHPSESSID='.session_id().' to all my links. It is already done, so I think I will
leave it like that. Sorry, if I may sound a little confused. It is my third week in the PHP seat and I do not have any formal comp
training.
.oO(WindAndWaves) sorry for the misunderstanding. I just add the PHPSESSID='.session_id().' to all my links.
The predefined constant SID exists for that purpose.
Micha
"Michael Fesser" <ne*****@gmx.net> wrote in message news:ri********************************@4ax.com... .oO(WindAndWaves)
sorry for the misunderstanding. I just add the PHPSESSID='.session_id().' to all my links.
The predefined constant SID exists for that purpose.
Micha
What is that all about - should I look that up?
.oO(WindAndWaves) The predefined constant SID exists for that purpose. What is that all about - should I look that up?
If you have to append a session ID to a link by hand you can use that
constant. From the manual:
SID (string)
Constant containing either the session name and session ID in the form
of "name=ID" or empty string if session ID was set in an appropriate
session cookie.
Micha
To WindAndWaves
The new msn search show the PHPSESSID :(
just to know that
"sam" <jo*****@jorecom.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... To WindAndWaves The new msn search show the PHPSESSID :(
just to know that
but then again - who uses msn?
"sam" <jo*****@jorecom.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... WindAndWaves
The New MSN search engine http://search.msn.com looks like better than google
You mean they copied Google. I just had a look at it. My pages are scoring extremely high - that is good, but not necessarily
fair....
What do you like about it?
"sam" <jo*****@jorecom.com> wrote in message news:11**********************@f14g2000cwb.googlegr oups.com... WindAndWaves
The New MSN search engine http://search.msn.com looks like better than google
and the chaged pages do not seem to work....
WindAndWaves
Hey man , I'm not bell Gates :)
but I try the new msn search engine , it's look good.
I don't know it's copied Google or not but any way , here we are using
Google and we must respect that the Google is the #1 Search engine. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: dan |
last post by:
I have a site that I developed that uses I page main.php. all content
is decided by a variable. It's a magazine web site so there are
issues per month. I use a session variable to keep track of...
|
by: Jan Wurl |
last post by:
Hey,
does anybody know, if the "cookieless session" is a problem for common
searchengines like Google?
When reindexing, Google would alway get a "different" url caused by the
sessionid.
Thx...
|
by: joseph conrad |
last post by:
Hi,
I tried to implement my own session handler in order to keep control on
the process
the drawback I foun it is not creating and storing in my cookie the
PHPSESSID variable anymore.
reading te...
|
by: aroraamit81 |
last post by:
Hi,
I am facing a trouble. I have some Session variables in my code and
somehow my session variables are getting mixed up with other users.
For example User A has access to 10 companies and...
|
by: aroraamit81 |
last post by:
Well Guys, Here is a very strange trouble. When more than one users
request tto same page at the same time then our session gets
conflicted.
Moreover I printed my SessionID, strangely but true I...
|
by: lyealain |
last post by:
<%
If Session("username") = "" Then
Response.Redirect("/CLS/Login.asp")
End If
Dim conn
Dim connectstr
Dim db_name, db_username, db_userpassword
Dim db_server
Dim res
|
by: tatata9999 |
last post by:
The first generation of web site search engine hands-down is google.
A majority of these web
sites are static page -driven html pages.
Now, I would think more and more web-based applications are...
|
by: Christopher |
last post by:
I just discovered that Google groups is requiring the user to enter
the contents of a picture into a textbox. At least for my first post
of the day. It isn't requiring it for the second (this one)....
|
by: kenneth6 |
last post by:
with google ajax slideshow,
1. how can i custom feed all the source images:
a. under a given URL folder;
b. with the given filenames (e.g. file01.jpg) ??
2. how can i enable the normal...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |