Results 1 to 4 of 4

Thread: Please Help - index.php workaround?

  1. #1
    Registered
    Join Date
    Dec 2005
    Posts
    26

    Question Please Help - index.php workaround?

    I just had a site developed with Expression Engine as the CMS. My Web developer has created URLs for my site that look like: http://www.url.com/index.php?/subdirectory
    which I find rather awkward. I asked my Web developer if I could have these URLs changed to http://www.url.com/subdirectory instead, and I was told:

    Regarding having the "index.php" in the middle, this is always a thorn, and the workarounds do not work consistently from server to server. (It's usually done through mod_rewrite through .htaccess file, but it's not 100% reliable.)
    I think this is perfectly doable and perhaps my Web developer is being lazy, but I wanted to run this by you guys to see what you think. I know virtually nothing about PHP, but I have had other PHP sites developed before with customized CMSs and was never given an excuse like this. Is my Web developer full of it? Is there something I should suggest for the Web developer to do to change this? I want URLs that are user-friendly.

    Thanks for reading!

  2. #2
    Registered
    Join Date
    Mar 2006
    Posts
    156
    You can definitely use mod_rewrite to do what you want. And it is reliable. Maybe he is just not used to using mod_rewrite and he rather do it his way.

    I suggest you go with mod_rewrite. Or use another approach, but take away that "index.php?" from the middle of the URL.

    There are a few articles here on the site about making friendly URLs, you can send them to your dev guy.

  3. #3
    Web Software Creators
    Join Date
    Jun 2006
    Location
    Chennai India
    Posts
    23
    Mod Rewrite is tricky but it is an useful tool in the hands of a skilled developer.
    Chris, Director, Chrisranjana.com,
    php asp programmers, Our portfolio

  4. #4
    Junior Registered
    Join Date
    Feb 2008
    Posts
    1

    This can be corrected Easy

    I don't know why many professional EE developers can't seem to figure this out. I never would leave a customers URLs looking like this.

    Here is the official Wiki article to explain how to correct the issue

    http://expressionengine.com/wiki/Rem...y_Check_Method

    They list three methods I have found that File and Directory Check method works best, but your mileage may vary.

Similar Threads

  1. anyone have a javascript disabled workaround?
    By LuckyShima in forum Website Programming & Databases
    Replies: 11
    Last Post: 02-12-2006, 06:54 PM
  2. index.php or /forum/?
    By iKwak in forum Search Engine Optimization
    Replies: 4
    Last Post: 05-05-2004, 10:41 PM

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
  •