'Alias gone' problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
gnolen

'Alias gone' problem

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: 'Alias gone' problem

Post by Ted »

If you edit a content page, does an alias come up?
gnolen

Re: 'Alias gone' problem

Post by gnolen »

Yep, it comes up.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: 'Alias gone' problem

Post by Ted »

Ok, I'll bug sjg when he comes in to see if he has any ideas (Ellnav is his masterpiece.  :) )
gnolen

Re: 'Alias gone' problem

Post 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
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: 'Alias gone' problem

Post 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.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
gnolen

Re: 'Alias gone' problem

Post 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!
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: 'Alias gone' problem

Post 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...
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Locked

Return to “CMSMS Core”