Jump to content

jpress07

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jpress07's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hmm, sorry, the above seems to work but NOT if someone types sitename.com/Home-Insurance (sentence case) do you know how to fix that?
  2. hi guys, thanks for your speedy replies. Ok I'm a real newbie, anyway I've got: RewriteEngine on RewriteCond %{HTTP_HOST} ^sitename.com$ RewriteRule (.*) http://www.sitename.com/$1 [R=Permanent] Options +FollowSymLinks RewriteEngine on RewriteRule ^home-insurance$ /home-insurance.php [L] but it's not happening for me! Can you please tell me where I've gone wrong? Thanks, JP
  3. hi guys, when a user types in sitename.com/home-insurance into their browser, how do I get it to redirect to sitename.com/home-insurance.php ? many thanks in advance! Cheers, JP
  4. I just put hxxp instead of http to make the links inactive in my post. As for the masking, I do not want to use frames, is there any way I can do this with php?
  5. hi guys, Is there a way I can mask a php redirect so once the page has redirected, the new destination URL does not display in the address bar? For example, my page hxxp://mysite.com/affiliate-redirect.php has the following code: <? header( 'Location: hxxp://affiliate-link.html' ) ; ?> How do I get hxxp://mysite.com/affiliate-redirect.php to stay displayed in the browser address bar after redirecting to affiliate-link.html? Many thanks for any help! Cheers, JP
  6. Thanks Alex! Worked a charm. Much appreciated. Cheers, JP
  7. hi guys, I am a totally noob when it comes to php. Anyway, I want to link to an affiliate offer from my PPC campaign via a redirect. Anyway, I have a site, let's say topamericandeals.com. I have created a page called affiliate-offer.php and placed the following code in there: <?php header( 'Location: http://my-affiliate-offer-link.com' ) ; ?> So, I have the url: hxxp://topamericandeals.com/affiliate-offer.php .. I enter this into the browser, and I get this error: Fatal error: Call to undefined function phpheader() in /home/mywebserver/public_html/topamericandeals/affiliate-offer.php on line 1 Can you php geniuses please tell me what I'm doing wrong here? Any help would be greatly appreciated. Cheers, JP
×
×
  • 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.