How to Remove PHPSESSID

July 12th, 2007

Insert the following code into .htaccess to remove session IDs from your website URLS

php_value session.use_only_cookies 1
php_value session.use_trans_sid 0

This code tells the server to store the PHPSESSID in a cookie or not to bother. If the browser does not have cookies enabled, then the session id won’t move to the URL. This does mean that all functionality that relies on sessions will not work such as session based logins.

What is PHPSESSID?

July 12th, 2007

PHPSESSID is the Session ID in PHP which can cause some real problems when search engines index your pages.

You should disable PHPSESSID on your sites and keep session IDs in cookies instead.

It will be more helpful, if you disable PHPSESSID in the URL because visitors must have cookies enabled to make use of any code which requires sessions such as login scripts.

iFrame vs Great Search Engines

July 12th, 2007

An IFRAME is an HTML tag used in web design that allows a webpage to be displayed in a frame within another webpage. Inline Frame (iFrame) is the content cut into web page which allows visitors to view another pages on your website or off your site without reloading the entire page.

Someone told me that iframe link will be indexed by search engines as same as the pure HTML link.

In the SEO ways, iFrame usage is problem against search engines for many reasons.

For one reason, whenever search engine robots spide the contents within iFrame, they usually link to iFramed page instead of the page they are displaying.

It means searchers are delivered to a page without site navigation or to the hidden page. It did not encourage search engine robots to crawl and index the such iFrame pages.

Does iFrames Cause Problems with Search Engines?

Yes, of course.

It take those contents and links to other pages. And your link building will be harder than with other webmasters and website owners. You should active the iFrame pages first, if you want your iFramed pages are friendly with the great search engines.