Post Project
  • Search
    • Buyers can
    • Search offers to buy now
    • Search freelancers to request a proposal
    • Freelancers can
    • Search projects to quote on
  • How it works
  • Log in
  • Sign up
  • Freelancer?
Browse by Category
    Technology & ProgrammingWriting & TranslationDesignDigital MarketingVideo, Photo & ImageBusinessMusic & AudioMarketing, Branding & SalesSocial Media

    Writing a HTACCESS file with multiple rules

    - or -

    Post a project like this
    2843
    $$
    • Posted: 8 years ago
    • Proposals: 0
    • Remote
    • #580662
    • Awarded
    • 0
    • 0

    Description

    Experience Level: Intermediate
    General information for the website: Writing a HTACCESS file with multiple rules
    Kind of development: Customization of existing website
    Description of requirements/features: I need assistance writing a HTACCESS file with multiple rules. I have switched server architecture from IIS to Apache and are facing issues with the rewrites. The inbound URL's are formatted such that there are a variable number of parameters (one or two) - that must pass to the relevant url, for example:

    domain.com/dashboard Rewrites to (index.php?param1=dashboard)
    domain.com/dashboard/ Rewrites to (index.php?param1=dashboard)

    domain.com/dashboard/account Rewrites to (index.php?param1=dashboard&param2=account)
    domain.com/dashboard/account/ Rewrites to (index.php?param1=dashboard&param2=account)

    note the trailing slashes

    Ideally, I'd also like to exclude all media directories from the rewrite, as at present I am overriding this rule in each excluded directory.

    htaccess attached.
    Extra notes:
    •  
    Jack M.
    Jack M.
    100% (52)
    Projects Completed
    66
    Freelancers worked with
    58
    Projects awarded
    37%
    Last project
    6 Oct 2015
    United Kingdom

    New Proposal

    Login to your account and send a proposal now to get this project.

    Log in

    Clarification Board Ask a Question

      There are no clarification messages.
    2843
    $$

    - or -

    Post a project like this
    Jack M.
    Jack M.
    100% (52)
    Projects Completed
    66
    Freelancers worked with
    58
    Projects awarded
    37%
    Last project
    6 Oct 2015
    United Kingdom

    Related project Searches


    architectural design apache http server customization Internet Information Services (IIS) website development

    Product

    • About
    • Team
    • Careers

    Support

    • How it works
    • Trust & Safety
    • Help Centre

    Discover

    • GuidesStoriesNews

    Resources

    • Customer Stories
    • Business Cost Calculator
    • Startup Cities

    Browse

    • Freelance Services
    • Freelance Services By Country
    • Freelance Skills
    • Terms
    • Privacy
    • Sitemap
    • Company Details
    • © 2022 People Per Hour Ltd
    We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
    Cookie Settings
    Accept All Cookies