Follow us on Twitter

1. Check the Documentation

2. Make a search

3. Read Support Rules
before posting

  • Index
  • » AceSEF
  • » General Support
  • » When activate Acesef alway redirect...

When activate Acesef alway redirect to index.html

When activate Acesef alway redirect to index.html

#1 Top

When activate Acesef alway redirect to index.html

Sorry for my bad english (i'm Italian).

I use the component com-property for real estate management.

Same days ago stop the function to contact peoples from a single product in list (details.php of com-property views).
I was thinking a php problem but, after many attempts, switching off mod_rewrite and acesef the function contact works well.

So i've updated the Acesef main component from version 1.3.4 to 1.3.7, now nothing works any more.
Every page i go it redirect to index.html (i've 2 splash pages : index.html and index2.html).

Before the update all was warking well (except the contact function of the com-property component).

What i need to do ? The problem could be in the htaccess file (i send you it).

Note : I use the registred version of Acesef and the commercial version of property !

The site is www.nicolascarparo.com, now the mod_rewrite and Sef Url are disabled.

Thank you,

Amar##text##

Amar Amoretti
PLUS Customer
useravatar
Offline
2 Posts
User info in posts
Administrator has disabled public posting
#2 Top

Re: When activate Acesef alway redirect to index.html

In AceSEF 1.3.7 domain.com/index.php URL is redirected to domain.com, try this plz:

OPEN

Code:

administrator/components/com_acesef/classes/mainrouter.php

FIND AND DELETE

Code:

// Redirect index.php to homepage

        if (($path == 'index.php') && (count($_POST) == 0)) {
            $domain = JURI::root();
            if (substr($domain, -1) != '/') {
                $domain .= '/';
            }
           
            $q = $uri->getQuery();
            if (!empty($q)) {
                $domain .= '?'.$q;
            }
           
            $mainframe->redirect($domain);
            exit();
        }

If you use AceSEF, please support us by posting a rating and a review at the Joomla Extension Directory

Denis Dulici
Administrator
ranks
useravatar
Offline
2139 Posts
User info in posts
Administrator has disabled public posting
#3 Top

Re: When activate Acesef alway redirect to index.html

Thank you for answer,

I've delete the "http:// Redirect index.php to homepage" section untile the end.

Now it don't redirect anymore to index.html but always to page 404.

Only 1 menu item is correct but I can't see the home (index.php) nor the "contattami" (Alfcontact Module).

Now i've upgraded AceSef to version 1.3.8 but nothing change (every link point to page 404).

The code structure is this :
index.html (splash page) point to -> index2.html (splash page) than to -> index.php
The index.php contain an Article with a menù insert in to the Article ( it's made by map image -> html map module [joomlacode.org/gf/project/htmlmap/] )
Could be this a problem ?
The AceSef version 1.3.4 was working correctly.

If you wont i can give you account and password of the site so you could test something.

Thanks,

Amar Amoretti
PLUS Customer
useravatar
Offline
2 Posts
User info in posts
Administrator has disabled public posting
  • Index
  • » AceSEF
  • » General Support
  • » When activate Acesef alway redirect...