07-19-2023, 03:14 PM
Content Management Systems often force pages to go though an index.php route.
For example pages on the CMS I use are presented in the URL as follows.
The .htaccess code I know only listens to the index.php part of my statement.
My current re-write code stands as follows;
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^login/?$
This works as it is a specific directory, however,
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^index.php?page=263$
does not seem to work.
Any ideas?
For example pages on the CMS I use are presented in the URL as follows.
[To see links please register here]
The .htaccess code I know only listens to the index.php part of my statement.
My current re-write code stands as follows;
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^login/?$
[To see links please register here]
[R=301,L]This works as it is a specific directory, however,
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^index.php?page=263$
[To see links please register here]
[R=301,L]does not seem to work.
Any ideas?