|
|
#10 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,013 posts
Gave thanks: 7
Thanked 28 times
|
well i dont fully understand what it is you want done. "Virtual Directory" means something completely different to me than what you are describing. And ive tried googling it but i cant find what you are looking for, only what i know it as
so either you are using a term not regularily used, or you are not using the right one? could you explain how it is you used this supposed feature of php in the past? for example some code, or a configuration option? |
|
|
|
|
|
#11 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2006
6 posts
Gave thanks: 0
Thanked 0 times
|
It is quite simple really, I have a file, for example index.php.
Then I form my URLs as follows index.php/articles/102/ /articles/102/ is virtual because it doesn't really exist. index.php is run and then I can use the following: $url_array = explode("/",$PATH_INFO); With www.test.com/index.php/articles/102/ $PATH_INFO would be index.php/articles/102/. I "explode" it into an array. Now I can use $url_array['number'] for parts of the url. With a little script I made I can treat "articles" as the catagory and "102" as the ID. That's the equivilant of index.php?cat=articles&id=102. The difference is Google will index index.php/articles/102/ as a seperate file to index.php. It will not treat index.php?cat=articles&id=102 as a seperate file to index.php. And to be fair, it's a bot and should not be expected to. |
|
|
|
|
|
#12 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,086 posts
Gave thanks: 48
Thanked 131 times
|
As far as I've heard, Google has been treating variables within URLs as seperate pages for a while now. It's certainly been that way in the past, but it's really not much of an issue these days.
As for why it's disabled by default, I don't know, but you can e-mail presales and find out if it can be enabled. |
|
|
|
|
|
#13 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2006
6 posts
Gave thanks: 0
Thanked 0 times
|
Mmm, I've definately had issues with variables and Google so I would be much more comfortable being able to use virtual directory.
Sorry, I'm unsure which is presale's e-mail from the support page. |
|
|
|
|
|
#14 (permalink) |
|
Senior Member
Super #1
Joined in Nov 2003
Lives in Canada
Hosted on Pass14
3,770 posts
Gave thanks: 4
Thanked 20 times
|
Submit support tickets here:
https://desk.surpasshosting.com/ You'll get an email confirmation right away and then you will get the answers. Make sure you provide as many details as possible.
__________________
|
|
|
|
|
|
#15 (permalink) | |
|
Surpass Fan
Super #1
Joined in Mar 2006
1,024 posts
Gave thanks: 66
Thanked 55 times
|
Quote:
Ive heard the same and a guy who programs some scripts for me said he had run tests and saw no difference. |
|
|
|
|