Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 9:13 pm (All times are UTC )

 


Forum rules

Global Rules
Additional Rules for this forum <------- Please read before posting



Post new topic Reply to topic  [ 127 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
Posted: Fri Nov 10, 2006 4:46 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Nov 04, 2006 6:47 pm
Posts: 2
Saka wrote:
berkelium: which WYSIWYG editor do you use?


@ saka: Thanks for the reply, we're using the JCE WYSIWYG editor...


Top
   
 
Posted: Tue Nov 21, 2006 12:55 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Mar 31, 2006 3:40 pm
Posts: 94
Just to make sure I got this straight...

If I do start using SEF without mod_rewrite, does that mean the original Joomla addresses also remain? So I would have two alternate URLs?

I am asking because I have some links to certain pages within my site. If I start using SEF, does that mean those links will lead to error pages?

_________________
Collection of Tricks and Easy Ways to Lose Weight - http://loseweight.haktanir.org
Amerikan Güreşi: Güreşmania - http://www.guresmania.net/


Top
  E-mail  
 
Posted: Thu Nov 23, 2006 3:29 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Dec 12, 2005 1:19 pm
Posts: 14
great, got this working on my hosts IIS server in seconds - in fact the code must have changed (Joomla 1.0.11) as it is on lines 504-514 and the required code is already there but commented out [ok, sorry just seen this mentioned previously]

Confusingly there's some duplicate code there but for my IIS all I need do is turn on SEO in Joomla configuration, leave htaccess.txt alone and uncomment the line:
Code:
return $mosConfig_live_site .'/index.php?/'. $string . $fragment;


but ... some things are now broken [also previosuly noted] ... try adding a menu item that is a link to submit content ... it adds an extra index.php? to the url string
Code:
www.site.com/index.php?/index.php?option=com_content&task=new§ionid=1&Itemid=0

... same for logout module ...
Code:
www.site.com/index.php?/index.php?option=logout

which does actually go to the home page

Anyone got a solution for the Joomla-created links which do not work with this method?

Cheers
Mike


Last edited by mikehughes on Thu Nov 23, 2006 3:33 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Thu Nov 23, 2006 3:53 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Dec 12, 2005 1:19 pm
Posts: 14
OK, if using IIS (as far as I know) you will need to hard code (i.e. add as URL not Submit Content) links to Joomla content management menu items: submit content, login/logout so that they are in the style:
Code:
http://www.site.com/index.php?/component/option,com_content/task,new/sectionid,1/Itemid,38/

and not
Code:
http://www.site.com/index.php?/index.php?option=com_content&task=new§ionid=1&Itemid=38

which is how they get re-written is added as an 'submit content' menu item

however, I can't yet solve the problem with the front-end editor not working ... anyone? I expect this would need a tweak of the editor code???


Top
  E-mail  
 
Posted: Fri Nov 24, 2006 7:14 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Mar 31, 2006 3:40 pm
Posts: 94
haktanir wrote:
Just to make sure I got this straight...

If I do start using SEF without mod_rewrite, does that mean the original Joomla addresses also remain? So I would have two alternate URLs?

I am asking because I have some links to certain pages within my site. If I start using SEF, does that mean those links will lead to error pages?

any ideas?

_________________
Collection of Tricks and Easy Ways to Lose Weight - http://loseweight.haktanir.org
Amerikan Güreşi: Güreşmania - http://www.guresmania.net/


Top
  E-mail  
 
Posted: Fri Dec 15, 2006 3:36 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Aug 13, 2005 2:13 am
Posts: 223
Location: Sweden
haktanir wrote:
If I do start using SEF without mod_rewrite, does that mean the original Joomla addresses also remain? So I would have two alternate URLs?

Yes. Both SEF and non-SEF links will work.

_________________
Emir Sakic
http://www.sakic.net


Top
  E-mail  
 
Posted: Wed Feb 21, 2007 4:55 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Sep 05, 2005 3:45 pm
Posts: 625
Location: Aberdeenshire, Scotland
Just for the sake of interest. We've got a client who insisted on using his Windows server with IIS. It uses full on ugly URL's ampersands and all and for some very general searches (not highly targeted specialist words) on the subject his site covers he's getting Google page 1 position 1.

Long live content ;-)

d

_________________
Practical Joomla! help, documentation, training, templates and support - http://www.redevolution.com


Top
   
 
Posted: Thu Feb 22, 2007 12:25 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Aug 17, 2006 9:27 am
Posts: 8
Location: United Kingdom
I've got SEF without mod_rewrite working with 1.0.12 however some of my left menu options are not SEF and some are.

When I do a search, which shows results linking to the same pages linked to by the menu items not working, the search result links are SEF.

This is the site http://www.ingenious-resourcing.com

Any ideas?

_________________
http://www.starfishwebsites.com


Top
  E-mail  
 
Posted: Fri Mar 02, 2007 7:04 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Aug 24, 2005 2:06 pm
Posts: 269
Location: Argentina
any chance to use OpenSEF and this hack?

Thanks a lot.


Top
   
 
Posted: Mon Mar 05, 2007 4:18 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Aug 17, 2006 9:27 am
Posts: 8
Location: United Kingdom
As far as I know, all the 3rd-party SEF modules need mod_rewrite to work - so no.

If any do work without using mod_rewrite, I'd love to know to get 'advanced' SEF working on a Linux/Zeus server.

b.t.w.  w.r.t my previous post, I have managed to resolve that problem - it seems I have some sort of corruption in the database, having rebuilt the site, it works fine.

_________________
http://www.starfishwebsites.com


Top
  E-mail  
 
Posted: Thu May 10, 2007 4:52 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Sep 08, 2005 10:48 pm
Posts: 13
berkelium wrote:
Has anyone else encountered this issue? All other browsers (Firefox, Safari, Opera, IE7) render the page as expected.

I would greatly appreciate any assistance,

Kind Regards,

Tyler

Tyler,
I had this exact same problem and found it was the ajax module "whosonlineXT" that was causing the problem. Since removing this, I have not seen the error again. (Just a thought).

Colin.


Top
  E-mail  
 
Posted: Wed May 16, 2007 10:11 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Sep 06, 2006 10:14 am
Posts: 64
This is slightly OT, but I was wondering if anyone had the ZEUS rewrite script for J! 1.5 Beta 2? I am having a devil of a time trying to translate the htaccess.txt for use on Zeus Web Server.

Any help greatly appreciated.


Top
  E-mail  
 
Posted: Fri Jun 08, 2007 4:03 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jul 25, 2006 9:16 am
Posts: 6
Great ! Its working with my joomla 1.5 IIS. i added /index.php/

Thanks!


Top
   
 
Posted: Tue Jun 26, 2007 7:50 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Feb 15, 2006 8:43 am
Posts: 7
I implemented this for my site: 

PHP built On:  Windows NT ENVISAGE243 5.2 build 3790
Database Version: 4.1.19-standard-log
PHP Version: 4.3.2
Web Server: Microsoft-IIS/6.0
WebServer to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.0.10 Stable [ Sundown ] 26 June 2006 00:00 UTC

Mostly it worked but I had a menu item to a Blog - Content Category and it wouldn't work. It seems that the ID was being written out to the URL before the ItemID in the following code:

Code:
      if ( ( $parts['option'] == 'com_content' || $parts['option'] == 'content' ) && ( $parts['task'] != 'new' ) && ( $parts['task'] != 'edit' ) ) {
         // index.php?option=com_content [&task=$task] [§ionid=$sectionid] [&id=$id] [&Itemid=$Itemid] [&limit=$limit] [&limitstart=$limitstart] [&year=$year] [&month=$month] [&module=$module]
            $sefstring .= 'content/';
            
            // task
            if ( isset( $parts['task'] ) ) {
               $sefstring .= $parts['task'].'/';               
            }
            // sectionid
            if ( isset( $parts['sectionid'] ) ) {
               $sefstring .= $parts['sectionid'].'/';               
            }
            // id
            if ( isset( $parts['id'] ) ) {
               $sefstring .= $parts['id'].'/';               
            }
            // Itemid
            if ( isset( $parts['Itemid'] ) ) {
               //only add Itemid value if it does not correspond with the 'unassigned' Itemid value
               if ( $parts['Itemid'] != 99999999 && $parts['Itemid'] != 0 ) {
                  $sefstring .= $parts['Itemid'].'/';               
               }
            }


I changed this to:

Code:
         if ( ( $parts['option'] == 'com_content' || $parts['option'] == 'content' ) && ( $parts['task'] != 'new' ) && ( $parts['task'] != 'edit' ) ) {
         // index.php?option=com_content [&task=$task] [§ionid=$sectionid] [&id=$id] [&Itemid=$Itemid] [&limit=$limit] [&limitstart=$limitstart] [&year=$year] [&month=$month] [&module=$module]
            $sefstring .= 'content/';
            
            // task
            if ( isset( $parts['task'] ) ) {
               $sefstring .= $parts['task'].'/';               
            }
            // sectionid
            if ( isset( $parts['sectionid'] ) ) {
               $sefstring .= $parts['sectionid'].'/';               
            }
            // Itemid
            if ( isset( $parts['Itemid'] ) ) {
               //only add Itemid value if it does not correspond with the 'unassigned' Itemid value
               if ( $parts['Itemid'] != 99999999 && $parts['Itemid'] != 0 ) {
                  $sefstring .= $parts['Itemid'].'/';               
               }
            }
            // id
            if ( isset( $parts['id'] ) ) {
               $sefstring .= $parts['id'].'/';               
            }


and it now works beautifully. I just thought this might be useful for anybody who might encounter the same issue.


Top
   
 
Posted: Mon Jul 02, 2007 1:34 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Jun 02, 2006 2:45 pm
Posts: 88
great idea!

I have one problem, i have manually placed links into my templates index file, e.g.

Code:
<li id="about">
            <a href="index.php?option=com_content&task=view&id=12&Itemid=29">About</a>
         </li>


will this link reflect as an sef when i view it in a browser?


Top
   
 
Posted: Thu Jul 12, 2007 7:07 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Sep 21, 2006 3:54 pm
Posts: 4
musa_bd wrote:
Great ! Its working with my joomla 1.5 IIS. i added /index.php/

Thanks!


I'm attempting to get SEF working with the same setup (joomla 1.5 IIS), and unless I'm missing something, there's no "/includes/sef.php" to modify in my Joomla 1.5 installation.
Can anyone point me in the right direction?


Top
  E-mail  
 
Posted: Mon Jul 16, 2007 5:39 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun May 27, 2007 2:39 pm
Posts: 38
can you tell me how to not use mod_rewrite using joomla 1.5 to make sef urls work? plz..


Top
  E-mail  
 
Posted: Wed Jul 18, 2007 4:22 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Wed Jun 20, 2007 1:18 pm
Posts: 1
Thanks this fix for IIS worked first time  ;)
I only implemented the first fix and did not need to add the additional code as suggested.


Top
  E-mail  
 
Posted: Thu Jul 26, 2007 3:33 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Jun 07, 2007 2:16 pm
Posts: 78
musa_bd wrote:
Great ! Its working with my joomla 1.5 IIS. i added /index.php/

Thanks!


Where did you add this? In the template index.php?


Top
  E-mail  
 
Posted: Wed Dec 26, 2007 12:00 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Dec 05, 2007 3:15 pm
Posts: 14
Thanks a lot Websmurf for having pointed this out.

I lost about 2 days in trying to understand how to have SEF working on IIS and you your post definitely did the trick  :)

HAPPY X-MAS!

Davide


Top
  E-mail  
 
Posted: Fri Feb 15, 2008 7:59 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Dec 01, 2005 9:19 am
Posts: 5
Location: Czech Republic
hi, did you get it anybody working with Artio JoomSEF (on IIS) ? ???


Top
  E-mail  
 
Posted: Fri Feb 15, 2008 8:46 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Dec 01, 2005 9:19 am
Posts: 5
Location: Czech Republic
AMCAD wrote:
musa_bd wrote:
Great ! Its working with my joomla 1.5 IIS. i added /index.php/

Thanks!


Where did you add this? In the template index.php?


hi did you solve it? I just implmented 1.5.1 ....
;)


Top
  E-mail  
 
Posted: Sat Mar 15, 2008 2:55 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Mar 15, 2008 2:51 pm
Posts: 1
Hello, I also have Joomla 1.5 and it is hosted on Globat which has Apache and mod_rewrite. However, that mod_rewrite DOES NOT have the "part" that Joomla SEF uses. I confirmed this with Globat Tech Support.

So, Has anybody figured out how to get SEF links on Joomla 1.5 without mod_rewrite?

Thanks!


Top
  E-mail  
 
Posted: Tue Apr 15, 2008 3:38 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jan 22, 2008 11:04 am
Posts: 20
Location: Scotland
I am having the same problem as a lot of people above. I can't use SEF URL's and mod_rewrite is not compatible with my windows platform, i sure ain't changing everything to linux as this would be a huge pain in the bum.

so, how do i go about it? this isn't very clear in this forum? what index.php file do i edit. as someone mentioned above they don't have a sef.php file in includes folder and neither do i. so what file is it.

I have now built a few sites with Joomla 1.5 and it's great. the client i am doing another site for has requested the URL's are changed to be a little more friendly so i reeeaaalllyy need to know the answer to this ASAP.

please could someone help or advise.

thanks a million in advance

:)

_________________
:)


Top
  E-mail  
 
Posted: Tue Apr 22, 2008 1:07 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Feb 16, 2008 6:20 pm
Posts: 11
musa_bd wrote:
Great ! Its working with my joomla 1.5 IIS. i added /index.php/

Thanks!

:-\
Hi, sorry to be so direct, but is it really or is it a lie or a confussion you made this work on Joomla 1.5? there's no "sef.php" file... where did you made changes? maybe you just think Joomla 1.0.15 is Joomla 1.5, which are not the same. Please help if you really know how to do it, a lot of people need your help.

Thanks
TB


Top
  E-mail  
 
Posted: Sat May 03, 2008 4:09 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Apr 09, 2008 7:45 pm
Posts: 14
These guys are discussing mambo versions of joomla. None of this applies or will work with Joomla 1.5. None of the code is even applicable to version 1.5 Unfortunately. Not to sound negative, but I've talked to a lot of people about this, and not one of them has been able to get SEF to work in Joomla 1.5, without mod_rewrite and .htaccess allow overide on. And if you use a shared server, you probably won't get .htaccess allow overide turned on.

Hopefully Joomla developers will make the SEF feature an actual usable feature in the future, instead of just a feature that a small number of users can take advantage of.


Top
  E-mail  
 
Posted: Mon May 26, 2008 1:02 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Mar 31, 2006 2:56 pm
Posts: 37
hi , ive uncommented the lines in sef php , tryed both versions but my pages cannont be found :( im using iis

after making the change i went to admin pannel and turned on sef is that all i need to do??


Top
   
 
Posted: Tue May 27, 2008 4:39 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Apr 09, 2008 7:45 pm
Posts: 14
You know, there are a lot of other CMS's out there that make URL friendly links, SEO optimization, design and usability a whole lot easier. Joomla is not the leader in CMS, despite what people tell you. it is a good system, I won't knock it, but there are, imho, much better systems. Try these and you may find them a hell of a lot easier to work with. All of them are free.

Wordpress - Super easy to use, URL friendly links work right out of the box
DotNetNuke: Built on Asp,net, not php, faster and fairly easy to learn--more reliable than PHP based systems.
Drupal: Free, easy to use, similar to Joomla

http://en.wikipedia.org/wiki/Category:Open_source_content_management_systems


Top
  E-mail  
 
Posted: Sun Jun 08, 2008 12:35 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Oct 09, 2005 11:35 pm
Posts: 55
dranfu wrote:
These guys are discussing mambo versions of joomla. None of this applies or will work with Joomla 1.5. None of the code is even applicable to version 1.5 Unfortunately. Not to sound negative, but I've talked to a lot of people about this, and not one of them has been able to get SEF to work in Joomla 1.5, without mod_rewrite and .htaccess allow overide on. And if you use a shared server, you probably won't get .htaccess allow overide turned on.

Hopefully Joomla developers will make the SEF feature an actual usable feature in the future, instead of just a feature that a small number of users can take advantage of.


The most frustating thing for me is that it is working in IIS except the for default menu item which returns a null component and a subsquent 404 error


Top
  E-mail  
 
Posted: Thu Jul 24, 2008 5:32 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Jul 24, 2008 5:20 am
Posts: 2
I have been able to get SEF with /index.php/ to work in IIS with Joomla 1.5.4 with the following at the start of index.php in the Joomla installation directory:

Code:
if (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] != '/index.php')
{
    $_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO'];
}


It's only been in for the last 15 minutes, and not on a live site, so I haven't tested it thoroughly yet. Seems to at least work for the run-of-the-mill SEF's generated from a vanilla install.

Zane


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 127 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Quick reply

 



Who is online

Users browsing this forum: FinalDestiny, Joomlabox, wdct and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group