+ Reply to Thread
Results 1 to 13 of 13

 

Thread: dumb question but... url redirect

  1. #1
    Shane's Avatar
    Moderator

    Status
    Offline
    Join Date
    Aug 2003
    Location
    sheffield - Worldwide Skiver
    Posts
    3,311
    Thanks
    12
    Thanked 70 Times in 34 Posts


    right i never had to do this but ...

    I am sick of changing links for independants so I assume rather than slap their tracking code on a the image/banner I want to just put the url of a page on my site that redirects to the URL they specify, then I only have to change the one URL when they change the tracking codes..

    so how do I do that and does google see anything bad in that.. i using dreamweaver mx if there something built in that...

    I know it's a dumb question but I never had to do it till now but I find I have around 50 pages to change again now and it gettin a bit boring when I can just specify 1 url of my own instead and then change that redirect URL

    fanks if you can show how dumb i am

    wow.. there no embarassed smiley... will have to make do with a

  2. #2
    getvisible's Avatar
    Moderator

    Status
    Offline
    Join Date
    Aug 2003
    Location
    My Neighbour is Elvis
    Posts
    4,559
    Thanks
    138
    Thanked 51 Times in 34 Posts
    no worries mate - I do it- msn me when ur on and i'll show you how.

    Redirects are used all over the place, advertising tracking etc. Just don't use it to hide keyword stuffed pages in.

  3. #3
    KieronD's Avatar
    Crunk

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Sunderland
    Posts
    2,307
    Thanks
    22
    Thanked 54 Times in 32 Posts
    Shane, just sent you an email detailing how to do this.

    Cheers!

    Kieron

  4. #4
    renegade's Avatar
    Moderator

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    3,526
    Thanks
    289
    Thanked 138 Times in 58 Posts
    using dreamweaver mx if there something built in that...
    The site wide search/replace feature in Dreamweaver is usually good enough to change links in bulk.

  5. #5
    Shane's Avatar
    Moderator

    Status
    Offline
    Join Date
    Aug 2003
    Location
    sheffield - Worldwide Skiver
    Posts
    3,311
    Thanks
    12
    Thanked 70 Times in 34 Posts
    Fanks Lee.... and kieron thanks for the email.

    thanks Joe, I really need to get stuck into DW as I use it to the limit I know and then no further and it's the dogs nads really.

    Will have a look at both ways

    fankya
    Last edited by Shane; 12-09-03 at 11:37 PM.

  6. #6
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    210
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I've just tried to do the same thing myself, but I'm sure the method I've devised is pretty rudimentary and not as subtle as perhaps it could be.

    I would certainly appreciate any advice on the best way to do this.

  7. #7
    Darren's Avatar
    GreasyPalm

    Status
    Offline
    Join Date
    Jul 2003
    Location
    Lowestoft, Suffolk
    Posts
    844
    Thanks
    1
    Thanked 0 Times in 0 Posts
    My prefered way of achieving this is by using a Meta Refresh.

    The example below includes some XSSI, that would allow you to add a query string on the end of the URL to the meta refresh, that would automatically set the click reference to the query string + the current date.

    Simply wack the below code into a blank index.shtml, remembering to replace ( and ) with < and > (or whatever extension supports SSIs on your server)

    (html)

    (head)
    (title)Merchant Name(/title)
    (!--#if expr="$QUERY_STRING = ''" --)
    (!--#set var="referer" value="noreferer" --)
    (!--#else --)
    (!--#set var="referer" value="$QUERY_STRING" --)
    (!--#endif --)
    (!--#config timefmt="%d-%m-%Y" --)
    (meta HTTP-EQUIV="Refresh"
    CONTENT="0;URL=http://network.com/?affid=1234&merchant=4321&tracking=(!--#echo var="referer" --)-(!--#echo var="DATE_GMT" --)&url=http://www.deeplinktomerchant.co.uk")
    (/head)

    (body)
    (/body)
    (/html)

    Obviously, replace the relevant bits with what you want; URL, etc.

    Then, upload this file into a new directory. I have a directory off my route called 'visit', inside this folder, I have another folder with the name of the merchant containing a meta refresh.

    If I then set up a link to:

    www.mysites.co.uk/visit/merchantname/

    The link would follow through to the merchant, and the click reference would be 'noreferer-01/02/03'

    If I set up a link to:

    http://www.mysites.co.uk/visit/merch.../?mynewsletter

    The link would follow through to the merchant, and the click reference would be 'mynewsletter-01/02/03'

    I hope that makes sense.....if anyone wants me to elaborate, feel free to let me know
    Last edited by Darren; 13-09-03 at 06:54 AM.
    Cheers, Darren
    ---
    Now Heading Up A Claims Management Company. MoJ: CRM20378

  8. #8
    Darren's Avatar
    GreasyPalm

    Status
    Offline
    Join Date
    Jul 2003
    Location
    Lowestoft, Suffolk
    Posts
    844
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I forgot to mention, the principle of using the query string to set the click reference can easily be changed so that the variable being set by the query string is a deep link.
    Cheers, Darren
    ---
    Now Heading Up A Claims Management Company. MoJ: CRM20378

  9. #9
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    210
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks Darren - this is definitely WAY more sophisticated than my method! I shall give it a go and see how far I get...

  10. #10
    Darren's Avatar
    GreasyPalm

    Status
    Offline
    Join Date
    Jul 2003
    Location
    Lowestoft, Suffolk
    Posts
    844
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hey....no worries......if you need a hand, drop me an email or catch me on MSN
    Cheers, Darren
    ---
    Now Heading Up A Claims Management Company. MoJ: CRM20378

  11. #11
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    London
    Posts
    100
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    I am wondering if a normal meta refresh tag inside the head tag will track sales:

    (META HTTP-EQUIV="Refresh" CONTENT="5;URL=network/merchants/merhant-page&tracking code.html")

    Thanks

  12. #12
    Darren's Avatar
    GreasyPalm

    Status
    Offline
    Join Date
    Jul 2003
    Location
    Lowestoft, Suffolk
    Posts
    844
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Of course....it'll work just as well
    Cheers, Darren
    ---
    Now Heading Up A Claims Management Company. MoJ: CRM20378

  13. #13
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    London
    Posts
    100
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Darren.

+ Reply to Thread


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. .htaccess redirect question
    By drivetowin in forum Programming
    Replies: 3
    Last Post: 07-01-05, 10:30 AM
  2. PHP redirect question
    By drivetowin in forum Programming
    Replies: 1
    Last Post: 31-12-04, 04:44 PM
  3. Dumb Newbie Question
    By Malcolm in forum Affiliate Marketing Lounge
    Replies: 1
    Last Post: 28-04-04, 05:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2