Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default .htaccess redirect help for a coming soon URL

    DOes anyone know the proper syntax to achieve this in my .htaccess file?

    Here's the logic:

    # Custom Redirects
    RewriteRule http://www.silkblooms.co.uk/wholesal...ndex&cPath=353
    RewriteCond http://www.silkblooms.co.uk/index.ph...ge=coming_soon [R=301,L]

    I've tried a few different syntax but some put the site into a loop and others do nothing. Can't seem to find the right one.

    Anyone know hoe to make this redirect work?
    Last edited by limelites; 3 Jul 2011 at 05:11 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: .htaccess redirect help for a coming soon URL

    Try this
    I do not think you want a "Permanent redirect for this??

    Code:
    Redirect /wholesale/index.php?main_page=index&cPath=353 http://www.silkblooms.co.uk/index.php?main_page=coming_soon

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: .htaccess redirect help for a coming soon URL

    Hi Cobra,

    Doesn't work.

    Permanent redirect? Absolutely.

    A lot of our customers are missing the link to our "Coming Soon" gallery so I was hoping to use this as a 'fake category' that's visible at the top of the category tree and more likely to be seen.

    I want the <a href=""> to take them to the gallery at http://www.silkblooms.co.uk/index.ph...ge=coming_soon but just can't seem to get the .htaccess to do that.

    I guess what I'm asking is how to change the URL that's assigned to the category?

  4. #4
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: .htaccess redirect help for a coming soon URL

    Still can't get this working, is it because I'm trying to redirect a PHP page to a PHP page?

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: .htaccess redirect help for a coming soon URL

    I used this which is just a variation of what I posted for you
    Code:
    Redirect /demo/wholesale/index.php http://www.kobrawd.com/demo/index.php?main_page=page_2
    So if you go to this address you will see it redirects to the page I told it to - remove dot & space
    http: //www dot kobrawd dot com/demo/wholesale/index.php

    I placed the file with the above statement in the /wholesale directory

 

 

Similar Threads

  1. Need help for .htaccess redirect
    By Mandrex in forum General Questions
    Replies: 5
    Last Post: 30 Apr 2010, 08:54 PM
  2. Replies: 3
    Last Post: 11 Apr 2010, 07:57 AM
  3. add coming soon text for a category
    By edon12 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Jun 2009, 07:30 PM
  4. Product Image Coming Soon help
    By godspeed128 in forum General Questions
    Replies: 4
    Last Post: 26 Apr 2009, 06:21 AM
  5. Replies: 2
    Last Post: 18 Jul 2007, 09:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg