0
Welcome Guest! Login
0 items Join Now

SEF URLs / PHP problem

    • Kendall's Avatar
    • Kendall
    • Sr. Rocketeer
    • Posts: 113
    • Thanks: 0

    SEF URLs / PHP problem

    Posted 15 years 11 months ago
    • I've gone around in circles now and am hoping you smart developers will take pity.......

      When I enable SEF by renaming the htaccess.txt to .htaccess i get problems. The hosting company has me placing this line of code in the htaccess.txt file:
      Create a .htaccess file and place the following line AddType x-mapp-php5 .php in it.

      So am i running into problems because I have both htaccess files in my root directory??
      the host is 1and1.com

      I am just not a PHP expert so your explanation is greatly appreciated.

      I have a school site here:

      www.nicsroyals.com

      here is the system information
      PHP Built on: Linux infong 2.4 #1 SMP Tue Dec 18 22:34:10 UTC 2007 i686 GNU/Linux
      Database Version: 5.0.67-log
      Database Collation: utf8_general_ci
      PHP Version: 4.4.9
      Web Server: Apache
      Web Server to PHP interface: cgi
      Joomla! Version: Joomla! 1.5.8 Production/Stable [ Wohnaiki ] 10-November-2008 23:00 GMT
      User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: SEF URLs / PHP problem

    Posted 15 years 11 months ago
    • First of all, you cannot have 2 .htaccess files in the same directory, it's impossible :)
      Second, tell your host to upgrade to PHP5. To make SEF work you just need to:
      Enable SEF in the Joomla backend.
      Enable Apache mod_rewrite
      Disable add suffix to URL's (it may conflict with some JS)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • Roeland_A!'s Avatar
    • Roeland_A!
    • Preeminent Rocketeer
    • Posts: 10193
    • Thanks: 71

    Re: SEF URLs / PHP problem

    Posted 15 years 11 months ago
    • May I suggest you to upgrade joomla also? We are now at 1.5.10 :cheesy:
    • *Karma comes in many forms, my personal favourite is the random saucepan from the sky* J.Spencer 17-02-2009

Time to create page: 0.072 seconds