0
Welcome Guest! Login
0 items Join Now

SEO (SEF)

    • Rich.T's Avatar
    • Rich.T
    • Sr. Rocketeer
    • Posts: 227
    • Thanks: 0

    SEO (SEF)

    Posted 16 years 5 days ago
    • I have been struggling for sometime now with the SEF setting in Joomla . I use 1.5.7 at the moment butit really has only been a problem since I switched from servage to streamline hosting. If I enable SEF and Apache Re-write I either get a 500 page error, a 404 on any page apart from index.php or lose the template or as now with only SEF enabled I lose images in modules, looking at the properties of th eimages It seems to have added a new path copying the url of the page (/index.php/directory-search) for example.
      Any ideas would be much appreciated I have been asking in the JOOMLA foums here http://forum.joomla.org/viewtopic.php?f=544&t=316080

      This is the advised .htaccess so far but still will not work if mod re-write is enabled, i am told that if it was enabled I would geta cleaner url without the index.php part which is what I am after but have failed badly so far.

      # Options +FollowSymLinks
      RewriteEngine on
      RewriteOptions inherit
      RewriteBase /bin-cgi/
      RewriteRule ^.cgi$ - [T=application/x-httpd-cgi]
    • Visit The Home of The Specimen Hunter!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: SEO (SEF)

    Posted 16 years 4 days ago
    • For htaccess stuff, I just posted this that might help:
      http://www.rockettheme.com/forum/index.php?t=46753&rb_v=viewtopic#p243473

      Can you post a link to your site?
      There's only one line in the htaccess file that you should have to mess with if there is a problem and it's noted in there. It's just a matter of commenting it out or uncommenting it.

      Do you have any other SEF components or plugins running on your site?
    • Last Edit: 16 years 4 days ago by Ben Lee.
    • Rich.T's Avatar
    • Rich.T
    • Sr. Rocketeer
    • Posts: 227
    • Thanks: 0

    Re: SEO (SEF)

    Posted 16 years 4 days ago
    • Hi Ben
      I have no SEF components or plugins running on my site at all apart from the standard SEF plugin, the only component is the latest SOBI which runs ok while I am not using SEF, then I get some strange errors but. My hosting company have been less than helpful with this as I expected.I have just updated to Joomla 1.5.8 and will be upgrading my account here to PRO in a weeks time due being asked to do some more sites and keeping within the rules here. Here is a link and basically an experiment site but I may run with it if I can cure this problem. LINK REMOVED
    • Last Edit: 16 years 2 days ago by Rich.T.
    • Visit The Home of The Specimen Hunter!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: SEO (SEF)

    Posted 16 years 4 days ago
    • Can you resort back to a fresh copy of the .htaccess file from the Joomla 1.5.8 full install package (I'll attach one here) and then check the following lines and try it both ways, once commented out and then once not commented out making sure that the file is in the root of your Joomla install and that it's renamed to .htaccess instead of htaccess.txt.
      ##  Can be commented out if causes errors, see notes above.
      Options +FollowSymLinks

      Also, check in your Admin Control Panel under Site->Global Configuration that you have the settings correct, see the following screeshot.
    • Rich.T's Avatar
    • Rich.T
    • Sr. Rocketeer
    • Posts: 227
    • Thanks: 0

    Re: SEO (SEF)

    Posted 16 years 3 days ago
    • Thanks Ben
      I renamed to .htaccess instead of htaccess.txt. and I have now tried with both ways using Options +FollowSymLinks commented out and in, all I get is a webpage with the message (Internal Server Error
      The server encountered an internal error or misconfiguration and was unable to complete your request.)
      ? :-[
      Root being inside /HTDOCS/joomla installation as this is the path within FTP.
    • Last Edit: 16 years 3 days ago by Rich.T.
    • Visit The Home of The Specimen Hunter!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: SEO (SEF)

    Posted 16 years 3 days ago
    • I'm stumped on this one then. It's very hard to know what's going on and why if the core setup with the core .htaccess file isn't working. I really don't know what else to tell you at this point as it doesn't seem like we have a place to start that even works.

      Does your site come up without SEO on? Does it work if you're not using anything SEO and rename the .htaccess file back to htaccess.txt?
    • Rich.T's Avatar
    • Rich.T
    • Sr. Rocketeer
    • Posts: 227
    • Thanks: 0

    Re: SEO (SEF)

    Posted 16 years 3 days ago
    • Hi Ben
      Does your site come up without SEO on? Does it work if you're not using anything SEO and rename the .htaccess file back to htaccess.txt?
      YES......
      If I use this .htaccess


      ## Can be commented out if causes errors, see notes above.
      # Options +FollowSymLinks

      RewriteOptions inherit

      RewriteEngine On

      RewriteBase /bin-cgi/

      RewriteRule ^.cgi$ - [T=application/x-httpd-cgi]

      RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      # RewriteRule (.*) index.php

      with all SEF REWRITE & Suffix enabled I get a 404 error on any links, if only rewrite & SEF enabled links return 404, if rewrite disabled I get all but with the index.php added to url /index.php/directory-search and images tend to return a red X ... I am of a mind to give up with this... Being attemting to get this right since April..
    • Visit The Home of The Specimen Hunter!
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: SEO (SEF)

    Posted 16 years 3 days ago
    • Believe it or not, I've had better success with my pages turning up in Google without forcing fancy url rewrites.

      Google has actually posted an article on how they are configuring their search engine to decipher different systems standard urls to better traverse through sites. SEO actually messes this up and doesn't allow for Google's crawlers to work with the same efficiency.

      I say stick with what works and maybe add the Xmap sitemap (I think that's what it's called) if you want to give things a jumpstart.

      Sorry I couldn't help more.
    • Rich.T's Avatar
    • Rich.T
    • Sr. Rocketeer
    • Posts: 227
    • Thanks: 0

    Re: SEO (SEF)

    Posted 16 years 2 days ago
    • Thanks Ben.... You have been very helpful and I will most likely take your advice and leave alone. After all I feel that it could be to do with the way streamline is setup, I have to alter the mailer php to get it to work on streamline so it could one of the same problems with this as well.

      Thanks again

      Rich
      I guess there should be an icon for UNSOLVED for posts ;D ;D ;)
    • Visit The Home of The Specimen Hunter!
    • Cappy's Avatar
    • Cappy
    • Jr. Rocketeer
    • Posts: 27
    • Thanks: 0

    Re: SEO (SEF)

    Posted 15 years 11 months ago
    • After all I feel that it could be to do with the way streamline is setup

      Hi Rich,

      This one works on 1&1 servers, might be worth a try on yours.

      ## Can be commented out if causes errors.
      Options FollowSymLinks
      RewriteEngine On
      # Uncomment following line if your webserver’s URL
      # is not directly related to physical file paths.
      # Update Your Joomla/MamboDirectory (just / for root)
      # Uncomment this line
      RewriteBase /

      RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
      RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule (.*) index.php


      Good Luck.

      Mike
    • Mike

Time to create page: 0.061 seconds