Page 1 of 1

'Alias gone' problem

Posted: Mon Apr 25, 2005 2:16 pm
by gnolen
Hehe, I am asking as hell at the moment..Sorry for that but I am so stressed..

I just moved a site and now my alias doesn't work anymore! Ellnav creates them to so it is a stop. Normally I had something.shtml but these doesn't work anymore.

I have $config['assume_mod_rewrite'] = true;
$config['auto_alias_content'] = true;

in config file and in htaccess. I have:

Code: Select all

php_flag magic_quotes_gpc Off
php_flag register_globals Off
php_flag session.use_trans_sid off

# Make sure you have Options FollowSymLinks
# and Allow on
RewriteEngine On

#Rewrites page.shtml as index.php?page
RewriteRule ^(.+)\.shtml$ index.php?page=$1
And the contentpages are set to the same values. This should be alright? Right?? So why doesn't it work?

Thanks / Gnolen

Re: 'Alias gone' problem

Posted: Mon Apr 25, 2005 2:44 pm
by Ted
If you edit a content page, does an alias come up?

Re: 'Alias gone' problem

Posted: Mon Apr 25, 2005 2:47 pm
by gnolen
Yep, it comes up.

Re: 'Alias gone' problem

Posted: Mon Apr 25, 2005 2:49 pm
by Ted
Ok, I'll bug sjg when he comes in to see if he has any ideas (Ellnav is his masterpiece.  :) )

Re: 'Alias gone' problem

Posted: Mon Apr 25, 2005 3:06 pm
by gnolen
Nono, there is nothing wrong with the Ellnav I think. It is that the clean url with alias that doesn't show up. It was just that Ellnav produced the .shtml still when I couldn't go to does pages(because the clean url didn't work). But when I set the assume_mod_rewrite to false the Ellnav works.

I just wondering why the clean urls are gone? For example company.shtml. It worked before I moved the site.

Thanks / Gnolen

Re: 'Alias gone' problem

Posted: Mon Apr 25, 2005 7:17 pm
by sjg
Is this a recent version from svn? The new version has an additional item in the config which controls the extension of pages.

This config line is: $config['page_extension'] = '.shtml';

The system should default to the right thing, though, so this may not be it.

If you can give me more information, I'll be happy to try to help.

Re: 'Alias gone' problem

Posted: Mon Apr 25, 2005 8:07 pm
by gnolen
Aha, I think this is the problem. I upgraded to the beta version but as it didn't work well for me and my swedish I switched back. And ofcourse the 'new' config file is still there!

Thanks!

Re: 'Alias gone' problem

Posted: Mon Apr 25, 2005 8:12 pm
by sjg
The new config should only make a difference with the new code, though. So I'm not sure that this is it.

Let me know...