How do I use the clean url with content custom and list detail?
Create a .htaccess file with...
RewriteRule ^([a-zA-Z0-9-/]+)$ /mypage.php?s=$1 [L]
Make sure you remove mypage.php?s= from your template links
Cant get it to work right. Want to remove the "p-productions.php?s=" in the picture below. Is this possible? https://bildr.no/image/c1grRlgy.jpeg
Yes that is possible but you are going to need to give us more to go on than it isn't working right. What have you tried? What is happening?
Ive created htaccess with:
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^([a-zA-Z0-9-/]+)$ /mypage.php?s=$1 [L] </IfModule>
Get an 404 on "my-domain.com/projects/" page and no changes on "my-domain.com/projects/project.php?s=".
Do you have any rewrite rules working? Have you established that your server has support?
This is my only rewrite rule and i have not checked my server for support. What kind of support do my server need?
Does you server have mod_rewrite enabled?
Yes it does.
Ok, great. So can you get any rewrite rules to work? i.e. is your configuration being read?
Create a .htaccess file with...
Make sure you remove mypage.php?s= from your template links
Cant get it to work right. Want to remove the "p-productions.php?s=" in the picture below. Is this possible? https://bildr.no/image/c1grRlgy.jpeg
Yes that is possible but you are going to need to give us more to go on than it isn't working right. What have you tried? What is happening?
Ive created htaccess with:
Get an 404 on "my-domain.com/projects/" page and no changes on "my-domain.com/projects/project.php?s=".
Do you have any rewrite rules working? Have you established that your server has support?
This is my only rewrite rule and i have not checked my server for support. What kind of support do my server need?
Does you server have mod_rewrite enabled?
Yes it does.
Ok, great. So can you get any rewrite rules to work? i.e. is your configuration being read?