Jan K. van Dalen
|
| Posted: 07/18/2008, 9:48 AM |
|
Hi Everyone,
Ok, I'm using Joomla and would like to add some dynamic functionality using
CCS.
I need some feedback to make sure my "plan" will work.
What I'll like to use are iframe tags to add the ccs page to the joomla
page. For sake of SEO, iframe content are picked up as a diffent page and
the link (in google, yahoo, ... ) will point to the CCS page and not the
joomla page.
What to do to solve this? IOW, when the person click in google, how do I
re-direct to the joomla page?
Will this work?:
Add a url parameter to the CCS page than when call without it it will
redirect to the joomla page. Any ideas? Any other ideas?
Thank you in advance.
|
|
|
 |
jjrjr1
Posts: 942
|
| Posted: 07/18/2008, 10:55 AM |
|
Hi
Try this
In your CCS iframe page put the following code
$callingURL = $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
Check if the calling URL is the page expected to be the page with it as an iFrame.
If not re-direct to your Joomla page.
Should work.
Let me know.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
Jan K. van Dalen
|
| Posted: 07/20/2008, 7:03 PM |
|
John ... thanks ... will try.
"jjrjr1" <jjrjr1@forum.codecharge> wrote in message
news:54880d91e90d6e@news.codecharge.com...
> Hi
>
> Try this
>
> In your CCS iframe page put the following code
>
> $callingURL = $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
>
> Check if the calling URL is the page expected to be the page with it as an
> iFrame.
>
> If not re-direct to your Joomla page.
>
> Should work.
>
> Let me know.
>
>
> _________________
> Keep On Truckin' 
> John Real
>
> http://realsites.biz
> http://realtest.biz
> http://therealdealforyou.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|