I'm not sure what happened although I think it has something to do with pretty urls but the news articles suddenly don't link from the summary links anymore.
Does anybody have any idea what I could have done to break it?
http://www.veritywebsvs.com/furnitureshowplace2/
CMS Version - 1.11.5
News module version - 2.12.12
News module not linking to articles
Re: News module not linking to articles
I too believe it's because of the .htaccess file not properly configured as e.g. http://www.veritywebsvs.com/furnituresh ... eekend.htm does work.
RewriteBase in .htaccess configured correctly?
RewriteBase /furnitureshowplace2
RewriteBase in .htaccess configured correctly?
RewriteBase /furnitureshowplace2
Re: News module not linking to articles
velden wrote:RewriteBase in .htaccess configured correctly?
RewriteBase /furnitureshowplace2
I don't know. I had a hard time trying to get pretty urls to work partly because the site is temporarily located under the root of a Wordpress site until it is published live. I don't know how to configure RewriteBase. Is there somewhere I can get instructions?
Re: News module not linking to articles
Yes, it's default present in the htaccess.txt file in the /doc directory.kirks wrote:Is there somewhere I can get instructions?
htaccess.txt is supposed to be copied to the cmsms root and renamed to .htaccess
Code: Select all
...
<IfModule mod_rewrite.c>
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /
...
Re: News module not linking to articles
I did that. Here's my .htaccess file:
Code: Select all
# -- cmsms urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /furnitureshowplace2/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
# RewriteRule . index.php [L]
RewriteRule ^([^/]*)\.htm$ /furnitureshowplace2/index.php?page=$1 [L]
</IfModule>
# -- cmsms urls end --
Re: News module not linking to articles
You need to remove the / at the end, note how it is shown in the example...
#Sub-dir e.g: /cmsms
RewriteBase /
RewriteBase /furnitureshowplace2/
#Sub-dir e.g: /cmsms
RewriteBase /
RewriteBase /furnitureshowplace2/
Re: News module not linking to articles
Thanks. That makes sense and I tried that but no success with the news module.Dr.CSS wrote:You need to remove the / at the end, note how it is shown in the example...
#Sub-dir e.g: /cmsms
RewriteBase /
RewriteBase /furnitureshowplace2/
ks
Re: News module not linking to articles
Try:
I think if you edit the default files (like this .htaccess) you should exactly understand how it works...
Code: Select all
RewriteRule ^(.+)\.htm$ /furnitureshowplace2/index.php?page=$1 [L]
Re: News module not linking to articles
You're right, I'm going to have to MAKE some time to learn this stuff.velden wrote:Try:
I think if you edit the default files (like this .htaccess) you should exactly understand how it works...Code: Select all
RewriteRule ^(.+)\.htm$ /furnitureshowplace2/index.php?page=$1 [L]
Thanks, it works great now!