Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7722967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:19:37+00:00 2026-06-01T04:19:37+00:00

Good fellas, My client requested a site in WordPress, for now I will call

  • 0

Good fellas,

My client requested a site in WordPress, for now I will call http://www.example.com, but he wanted the site displays it too as a Facebook Page. Because the server with SSL is for other domain http://www.serverssl.com, I put the wordpress site at a relative directory on serverssl, so I have this:

http://www.serverssl.com -> Document Root: /var/www/html/ (using ssl)

http://www.example.com -> Document Root: /var/www/html/example/site
For Facebook Page -> http://www.serverssl.com/example/site (using ssl)

Because WordPress is configured at relative path, at first time when I tried to get at Facebook Page it didn’t work. So I’ve added some lines to .htaccess at Document Root of WordPress:

RewriteCond %{SERVER_PORT} 443
RewriteRule ^(.*)$ http://www.example.com/$1 [R,L]

So, if I tried to reach http://www.facebook/com/Client/app_00000000/ the iframe redirect to http://www.example.com so works fine.

Well, the client now wants other think: He wants a link to enter a Facebook Page that shows a specific page in wordpress. So I thought use app_data parameter, like this:

http://www.facebook.com/Client/app_00000000?app_data=specificpage

then at header.php of wordpress’ theme evalutes the $_REQUEST[‘signed_request’] parameter in order to search the app_data and then redirect to specificpage.

But the header.php nevers see the REQUEST send by Facebook,

I tried with the .htaccess:

RewriteCond %{QUERY_STRING} ^signed_request=(.*)$ [NC]
RewriteRule . http://www.example.com/%{QUERY_STRING} [R,L]

Still does not sent the signed_request.

Any idea how reach send signed_request through redirect?

PD: Sorry my bad english 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:19:38+00:00Added an answer on June 1, 2026 at 4:19 am

    If you load the page in a Facebook iframe it will always pass the signed_request on the first load.

    I am not too great with mod-rewrite but I would suggest verifying the rewritecond on the signed request. Other values may have being transferred as well causing your condition to fail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good afternoon, I am having an issue with wordpress. I access to page123.domain.com and
Hello good fellas i'm sure everybody is cool.I'm about to start a tutorial about
good fellas. I have another very basic question that I need help with. I
Good morning, I am the developer of a medium sized PDA application that will
Good morning, I have to use the properties from DeviceNetworkInformation in my application. (http://msdn.microsoft.com/en-us/library/microsoft.phone.net.networkinformation.devicenetworkinformation(v=vs.92).aspx)
Good morning folks, just wanted to check if someone can help me with the
Good Evening, I'm using this script, it works really good but I want it
Good Afternoon Fellas, A little advice would be appreciated, I'm approaching a problem by
Good evening all! i have an Ajax call that loads 5 'echo's' from a
Good Day All we are trying to do is inside a trigger make sure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.