1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

.htaccess help

Discussion in 'Apache' started by xceedbd, Apr 4, 2010.

  1. #1
    Hello,

    This is my problem:
    My .htaccess file use this code.

    socialbio.me = http://www.socialbio.me/ for code: its OK

    RewriteCond %{HTTP_HOST} !^www\.socialbio\.me$ [NC]
    RewriteRule ^(.*)$ http://www.socialbio.me/ [R=301,L]

    http://www.socialbio.me/index.php = http://www.socialbio.me/ its also OK

    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
    RewriteRule ^index\.php$ http://www.socialbio.me/ [R=301,L]

    BUT.

    http://www.socialbio.me/profile.php?recid=1&username=sarwar= http://www.socialbio.me/sarwar

    NOT OK plz help this code.

    FULL CODE HERE:

     
    xceedbd, Apr 4, 2010 IP
  2. WebWorth

    WebWorth Greenhorn

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    20
    #2
    does http://www.socialbio.me/profile.php?username=sarwar work? with out the recid=1?

    or is it always recid=1?

    if so try

     
    WebWorth, Apr 5, 2010 IP
  3. masterofweb

    masterofweb Greenhorn

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    u want change url or redirect URL?

    u r creating rule for 1 perticular url.

    in your full code ,no rule for this URL,it is a dynamic rule not static.
     
    masterofweb, Apr 6, 2010 IP