Results 1 to 2 of 2

Thread: htacess redirection issue

  1. #1
    Join Date
    Jan 2012
    Location
    India
    Posts
    45
    Thanks
    12
    Thanked 1 Time in 1 Post

    Angry htacess redirection issue

    Hi, i have an issue with my .htacess file. It is redirecting 2 different url to same file.

    I have below code in my htacess:

    Code:
    RewriteRule demo-page demo_page_1.php
    RewriteRule demo-page-new demo_page_2.php
    1st rule is redirecting demo-page to demo_page_1.php but 2nd rule is also redirecting demo-page-new to demo_page_1.php

    I guess, issue is with the first same keyword. How can i fix it?

  2. #2
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    291
    Thanks
    98
    Thanked 3 Times in 3 Posts

    Default

    Ankush,

    I cannot see anything wrong with how you set it up. My best guess is that there is something else lurking in the picture. For example, are you sure that you uploaded the .htaccess file to the proper folder? Are you sure that the .htaccess file that you uploaded is the one that you intended to upload?

Similar Threads

  1. htacess issue
    By ankush in forum Other
    Replies: 6
    Last Post: 02-26-2014, 12:38 PM
  2. Redirection
    By Lumpy500 in forum PHP
    Replies: 3
    Last Post: 03-29-2009, 09:49 PM
  3. ? Redirection
    By scottjcampbell in forum Looking for such a script or service
    Replies: 2
    Last Post: 11-17-2007, 05:19 PM
  4. Redirection
    By Ice_Man in forum Other
    Replies: 9
    Last Post: 09-04-2007, 03:11 AM
  5. Redirection
    By neo_philiac in forum HTML
    Replies: 4
    Last Post: 08-28-2006, 11:28 AM

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
  •