This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Hi,

I have just moved my October website to another host (Debian7 VPS). Now, only the index works (/). I can get to another page via index.php (for example, mywebsite.com/index.php/mypage/ but not just mywebsite.com/mypage/.

Hope your understand and can fix this!

Thanks

Felixinx6254,

If you're using Apache, which I'm guessing you are, it sounds like you didn't properly copy over the .htaccess file from your old install.

You'll probably want to create a new one using this file: https://github.com/octobercms/october/blob/master/.htaccess

Hi,

Yes I am using Apache2. I was using the default OctoberCMS .htaccess.

I also notice that in my navbar (with Rainlab-Pages), when I am on mywebsite.com, all the links are for mywebsite.com/mypage. If I am on mywebsite.com/index.php, all the links will be mywebsite.com/index.php/mypage.

Does someone have a fix for this? This is for a client and I really need help.

Check to make sure mod_rewrite is on.

a2enmod rewrite

Maybe the log files can help narrow it down?

Thanks @nanohard! It work. I just forget this small, but important thing.

For me restarting Openlitespeed server worked without making any changes to .htaccess.

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.