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

maniek35187
maniek35187

Add following lines to .htaccess file

RewriteCond %{THE_REQUEST} ^./index.php RewriteRule ^index.php(.)$ /$1 [R=301,L]

This will redirect host/index.php to host

team53994
team53994

How do I do this for Nginx

I'm having an issue with Google indexing both urls. Example

https://blog.cornwallcottages.com/index.php/category/food-drink https://blog.cornwallcottages.com/category/food-drink

I'm running on Forge

Thank you

maniek35187
maniek35187

You can edit htacces whetewer you have nginx or not.

1-3 of 3

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