Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Virtuemart extension giving 404 error
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Virtuemart extension giving 404 error

Re:Virtuemart extension giving 404 error 11 years, 3 months ago #7373

  • jaku
  • OFFLINE
  • Posts: 2697
Hello,

I am not sure, how you have compiled this .htaccess file together, but there are missing the main Redirection rules needed for Joomla SEO.

 
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
 


Also I would advice you to use the RewriteBase directive with / value.
 
RewriteBase /
 

That should be present BEFORE the section mentioned above.

The option I had in mind is present in Site / Global configuration / tab Site, section SEO settings, option Use Apache mod_rewrite.
ARTIO Support Team
The topic has been locked.

Re:Virtuemart extension giving 404 error 11 years, 3 months ago #7391

  • MUNGO
  • OFFLINE
  • Posts: 12
Hi Jan,

Thanks for the reply.. I've implemented your changes.

What I've found is that I just get page not found if I switch on:
Glboal Configuration -> Site -> SEO Settings -> Use Apache mod_rewrite.

If this is off, but SEF URLS are on (in both global config and JoomSEF) I get URLs like these:

www.plixer.com.au/index.php/support
www.plixer.com.au/index.php/denika-overview

- They are definitely shorter, but are they correct?

The online shop landing page has become:
www.plixer.com.au/index.php/online-shop

- however individual product pages are:
www.plixer.com.au/index.php?option=com_v...temid=2&TreeId=1


Let me know what you think?

Many thanks,
Mark
The topic has been locked.

Re:Virtuemart extension giving 404 error 11 years, 3 months ago #7401

  • jaku
  • OFFLINE
  • Posts: 2697
Hi,

1) JoomSEF only works in Use Apache mod_rewrite mode; if that is off, then Joomla core SEO is used (regardless any other options set)
2) if you are getting 404 after changing the Use Apache mod_rewrite mode, then most likely, the RewriteBase is not correct or some other rules in .htaccess are missing.

As regards 2), make sure the line with RewriteBase as I already wrote is included (before! any RewriteCond or RewriteRule directives). Also, to make sure your .htaccess is generally correct, use the original one distributed with Joomla (htaccess.txt), just rename it to .htacces and update the RewriteBase line. Then it should work just fine. (also check that mod_rewrite is enable at all at your server; however, if iy is not, you would be getting 500 Internal Server Error message instead when trying to use Rewrite directives)
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
  • 2
Přihlášení uživatele Prázdný