Jump to content

Recommended Posts

Posted

This is sort of an odd question... but in essance, is it "okay" (valid, acceptable, ect) to have your links like:

 

ht*p://www.domain.com/?var1=x&var2=y

 

Or is it better to always list it fully as:

 

ht*p://www.domain.com/index.php?var1=x&var2=y

 

Thanks!

Posted

Frylock, yes, you can use that kind of URL for a webpage.

 

It's just like accessing a page via htt*p://domain.com/index.php versus htt*p://domain.com/

 

If you don't specify which file you want from the directory (in my example, the site root), the web server will simply serve you the file index.php, or index.html, default.asp, etc, depending on how it's configured.

 

I don't know if it's "valid" but it works... ;)

Posted

Ahh... Thanks for all the tips!

 

I was helping a friend with his site and noticed he had all his links without the "index.php" and wasn't sure. I think I'll just tell him to add the "index.php" part just to be safe. Then maybe someday I'll get him to turn them info "static" urls...

Posted (edited)
Just be aware that, at least from what I've read, links that have query strings (with a ? in them) will not be treated with love by the search engines.

 

 

This is changing. Search engines are also realizing the popularity of dynamic content sites with ? marks in the URL's. I have even had pages in the big one with those. Static looks better and is easier to remember and for now easier on the search engines, it wont matter for long.

Edited by TCH-Rob
Posted
links that have query strings (with a ? in them) will not be treated with love by the search engines.

I know Google can handle up to 3 variables just fine. After that the current spiders get lost. The Googlebar that has the PR on it can't handle any variables though. Your PageRank will be ok but the Googlebar won't show it properly.

 

Also, anything that needs a SESSIONID to get to it will not be found by the Google spiders.

 

I would think the others are the same or very close behind.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...