Jump to content

Recommended Posts

I need this for several pages. But lets stay with thepassiontest.php for now.

I dont want to redirect. The user should see the content of thepassiontest.php. But I dont want him to see the actual path in the address bar, but just the main domain www.guntmarwolff.com

Link to comment
https://forums.phpfreaks.com/topic/156159-solved-suppress-url/#findComment-822455
Share on other sites

ok...i had a feeling you meant this.

 

before the solution, i would like to encourage you to avoid this. not only is it bad for search engine optimization, but it prevents users from being able to bookmark pages.

 

now, if you STILL want to do it...you need to have the main page be an iframe wrapper. not sure how this would fit into your current structure...but your site index page (usually index.html) needs to be something like:

I went to write an example and noticed you already did a frameset on the page (same concept as the iframe).

 

p.s. - I would be curious to hear why you need this

Link to comment
https://forums.phpfreaks.com/topic/156159-solved-suppress-url/#findComment-822545
Share on other sites

hi thanks for your reply. the sites which the user visits are behind a login area. so I dont wanna him try to have access to these pages when he did not log in... as well. there is a psychologigal test running on these sites which the user wants to do. so after doing him I dont wanna him to try to do it again just by bookmarking and visiting again...

Link to comment
https://forums.phpfreaks.com/topic/156159-solved-suppress-url/#findComment-822550
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.