Jump to content

willdk

Members
  • Posts

    44
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

willdk's Achievements

Member

Member (2/5)

0

Reputation

  1. @AlexWD and Mchl Thank you very much for explaining this to me. I didn't know it would be that simple. I actually expected a "No! Not possible..."
  2. I'm very curious HOW you make something like this, how do you START. I have searched for existing scripts, but there aren't. If someone visits a redirect, his visit get lost. So you can't count this. And if you CAN count this, how do you tell the script to stop redirect the visitors to page B. I need a plan, because I have no idea.
  3. Everybody knows how to redirect page A to page B. But can you control how many times the redirect can be used? Example; 100 visitors visit page A, and you "tell" the script to only redirect 50 to page B. 51 through xxx is redirected to another location.
  4. I saw a script with php include in the array. So I thought I could make that script work in that way. Sometimes I think I now the basics of php, but then I realise I'm still a html-guy I'm still trying out that eval function. There goes my day
  5. 'eval' is new to me. Thank you I try to convert the code to work with this function.
  6. If you mean the '..........', it's just to shorten the code.
  7. ??? I have two php files. index.php with an include: <?php include "/web/site/domains/mydomain.tld/public_html/include-me.php"; ?> include-me.php: <?php $arrPHP = array(); $arrPHP[] = '.$from = array("<a href=, ","spam"); $to = array("",""); $page = "/web/site/domains/mydomain.tld/public_html/files/test.php"; ........ echo $result;.' echo $arrPHP; ?> Why is this not working? I want to execute the php script, using an include.
  8. I deleted two dirs with over a 100 indexed links in Google. http://www.mydomain.com/a/search.php?q=keyword1+keyword2 (or ...?q=keyword) http://www.mydomain.com/b/search.php?q=keyword1+keyword2 (or ...?q=keyword) Now I made a list of all the dead links and inserted them in .htaccess in this way RewriteEngine On Redirect 301 /a/search.php?q=keyword1+keyword2 http://www.mydomain.com/ ... Redirect 301 /a/search.php?q=keyword http://www.mydomain.com/ ... Redirect 301 /b/search.php?q=keyword1+keyword2 http://www.mydomain.com/ ... Redirect 301 /b/search.php?q=keyword http://www.mydomain.com ... But it's not working! :-(
  9. No. I was talking about this change: http://googlesystem.blogspot.com/2009/04/google-search-prepares-for-switching-to.html . There is also a discussion at http://www.webmasterworld.com/google/3892573.htm
  10. Getting the keywords from a Google ref is easy, but what do the experts think about this... Go to http://www.google.com/search?hl=en&q=loan+calculator&btnG=Search ... click on the first link, BUT hold your mouse button. In the status bar you then see this url http://www.google.com/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F%2Fwww.bankrate.com%2Fcalculators%2Fmortgages%2Floan-calculator.aspx&ei=fNLnSbjbOcXG-AaAl4HRBQ&usg=AFQjCNGjm55hS3gGNfZKBHDClQ9phYJv2w There are no keywords in this url. And because it's a redirect, I don't think it will show in your stats or php. What do you think of this problem?
  11. So, this is not possible? I couldn't find any information on how to do this.
  12. I see that a mod have this topic moved to the right forum. Thx
  13. I have urls like http://www.domain.tld/search.php?q=microsoft+software Now I want every url with 'microsoft' to redirect (301?) automatically to http://www.domain.tld/ In the future I want to add more words. I have found this... Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] Anyone with a solution, please?
  14. @ratcateme Thank you for the example. I still get errors, but maybe it's something with my script. So I to check all first.
×
×
  • 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.