chrometweaks.org

What web iPage hosting service offers the most storage space and bandwidth for the cheapest price?

Click Here To View All Answers...


Quick question: What web iPage hosting service offers the most storage space and bandwidth for the cheapest price? Hoping for any comment. My other question... I need a <BASE href=''> on my site.

But the issue I'm having is that when I'm on a secure page I need it to be HTTPS and on a non secure page HTTP..

For non secure pages.

<BASE href="http://domainname.com">.

And for secure pages..

<BASE href="https://domainname.com">.

I tried.

<?php echo $_SERVER['SERVER_PROTOCOL'] ?>.

But it returned.

Maybe it can be done with parse_url. any help would be greatly appreciated..

Thanx tons..

Comments (68)

That's a good question. I'm not sure what is the answer. I'll do some research in Google and get back to you if I bump into an decent answer. You should email the people at iPage as they probably could give you an answer..

Comment #1

Not sure what Base Ref has to do with SEF URLS, but no, SEF no longer make any difference in SE rankings...

Comment #2

Thanx scotte worked great.

This is what I did.

<BASE href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER); ?>">.

And for wizardsandwars.

This is a quote from.

Http://www.google.co...bmasters/2.html.

And as far as what does SE safe urls have to do with base href?.

Well being that my URLs look someting like this.

Http://domain.com/in...iden_Phones.htm.

And my images are called by something like.

 <img src=images/uniden_phone.jpg>.

It does not know where to call the images from.

So when I do a 'base href' it makes sure that it's called from the correct place and everything works gr8.

Also note that if you dont use the complete path for the ccs file make sure to put the 'base href' before the css link..

Thank you everybody.

I hope someone else benefits from this as well...

Comment #3

Unfortunaly, that quote is not up to date. It's the same one they've had up for about 3 years now. Google does not limit the number of dynamic pages it indexes for php website. There may be some forms of ASP or other languages it has problems with, but not php, and especially not OSC...

Comment #4

Im sure you also realize that google is not the only Search Engine out there..

And even though the big 3 google, yahoo, and msn, do index dynamic pages, why would you just want to write off the 15% that use the other search engines..

Another point that I would like to make is that even though google does index dynamic pages, it also uses the keywords from the page name eg..

Uniden.

_.

Phone.

.htm so why not give the search engine what it wants??..

Comment #5

Yes, I am well aware of the fact the Google is not the only SE out there..

And i've looked for the better part of 2 years now, and I have yet to find a search engine that does NOT index dynamically generated URLs. I'm sure might be one or two residual engines out there that are based on older technologies, but I would challenge you to find one, and even if you did, it would represent more like .0001% of the traffic you'd receive rather than the 15% you suggest..

Also, I already commented today on the value of embedding key phrases in your URL. You can do this with or without dynamic URLS, and there are some adverse conditions to consider when doing so, such as increasing the overall length of the URL. So while embedded key phrases probably will give you a slight boost, it probalby woulnd't be anything you'd notice..

This post has been edited by.

Wizardsandwars.

: 01 September 2004, 01:24..

Comment #6

I need a <BASE href=''> on my site.

But the issue I'm having is that when I'm on a secure page I need it to be HTTPS and on a non secure page HTTP..

For non secure pages.

<BASE href="http://domainname.com">.

And for secure pages..

<BASE href="https://domainname.com">.

I tried.

<?php echo $_SERVER['SERVER_PROTOCOL'] ?>.

But it returned.

Maybe it can be done with parse_url. any help would be greatly appreciated..

Thanx tons..

Comment #7

What about the.

<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER)DIR_WS_CATALOG; ?>">..

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.