SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Threaded View

  1. #1
    Foozle Reducer ServerStorm's Avatar
    Join Date
    Feb 2005
    Location
    Burlington, Canada
    Posts
    2,699
    Mentioned
    89 Post(s)
    Tagged
    6 Thread(s)

    One link doesn't work after rewrite?

    Hi,

    This rewriting script almost works perfectly.
    Code:
    # don't rewrite images or scripts 
    RewriteRule ^(images|scripts)/ - [L]
    # the rs query variable is never numeric
    RewriteRule ^([a-z_-]+)\.html /sub_folder/landing_page.php?rs=$1
    So using http://www.example.com/sub_folder/web.htm navigates to http://www.example.com/sub_folder/landing_page.php?rs=web

    However, one of the links on the http://www.example.com/sub_folder/landing_page.php?rs=web page, specfically
    HTML Code:
    <a href='skills_front_end.html'>Front End Skills</a>
    does not work, in that it stays on the landing page and does not navigate.

    I have renamed skills_front_end.html to front_end.html but no luck. Other similar links on this page work fine?

    Any idea of what is happening?

    Warm regards,
    Steve
    Last edited by ServerStorm; Jan 10, 2013 at 15:23.
    ictus==""


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
  •